refactor(hal_dma): move bitscrambler from hal component

because bitscrambler can't live without DMA, it's highly binded with the
GDMA peripheral.
This commit is contained in:
morris
2025-11-27 16:06:52 +08:00
parent 88c6d19ad2
commit 69a76c5170
37 changed files with 30 additions and 79 deletions
@@ -3,11 +3,10 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "soc/gdma_channel.h"
#include "hal/gdma_channel.h"
#include "bitscrambler_soc_specific.h"
// Note: these are indexed by the values of the SOC_BITSCRAMBLER_ATTACH_ defines
// in soc/bitscrambler_peri_select.h
// Note: these are indexed by the values of the SOC_BITSCRAMBLER_ATTACH_ defines in bitscrambler_peri_select.h
// This map is used by the bitscrambler loopback driver only.
const bitscrambler_periph_desc_t g_bitscrambler_periph_desc[] = {
@@ -3,11 +3,10 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "soc/gdma_channel.h"
#include "hal/gdma_channel.h"
#include "bitscrambler_soc_specific.h"
// Note: these are indexed by the values of the SOC_BITSCRAMBLER_ATTACH_ defines
// in soc/bitscrambler_peri_select.h
// Note: these are indexed by the values of the SOC_BITSCRAMBLER_ATTACH_ defines in bitscrambler_peri_select.h
// This map is used by the bitscrambler loopback driver only.
const bitscrambler_periph_desc_t g_bitscrambler_periph_desc[] = {
@@ -6,7 +6,7 @@
#pragma once
#include "esp_private/gdma.h"
#include "soc/bitscrambler_peri_select.h"
#include "hal/bitscrambler_peri_select.h"
#ifdef __cplusplus
extern "C" {