refactor(sar): build sar_periph_ctrl related files by chip

This commit is contained in:
Armando
2023-08-08 10:30:27 +08:00
parent 5bd644942a
commit 00df6b378d
15 changed files with 54 additions and 5 deletions

View File

@@ -315,6 +315,10 @@ config SOC_ADC_TEMPERATURE_SHARE_INTR
bool
default y
config SOC_ADC_SHARED_POWER
bool
default y
config SOC_APB_BACKUP_DMA
bool
default n

View File

@@ -125,6 +125,9 @@
/*!< Interrupt */
#define SOC_ADC_TEMPERATURE_SHARE_INTR (1)
/*!< ADC power control is shared by PWDET */
#define SOC_ADC_SHARED_POWER 1
// ESP32C6-TODO: Copy from esp32c6, need check
/*-------------------------- APB BACKUP DMA CAPS -------------------------------*/
#define SOC_APB_BACKUP_DMA (0)