port to ESP-IDF v6.0: fix vendor overflow sentinels, split driver deps, add sdkconfig.defaults

This commit is contained in:
jess 2026-03-31 14:04:51 -07:00
parent 5ae607eec4
commit 731027ae81
5 changed files with 11 additions and 2751 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ sdkconfig.old
.espport
managed_components/
dependencies.lock
sdkconfig

View File

@ -3413,8 +3413,8 @@ AD5940Err AD5940_HSRtiaCal(HSRTIACal_Type *pCalCfg, void *pResult)
float ExcitVolt; /* Excitation voltage, unit is mV */
uint32_t RtiaVal;
uint32_t const HpRtiaTable[]={200,1000,5000,10000,20000,40000,80000,160000,0};
uint32_t const HSTIADERLOADTable[]={0,10,30,50,100,999999999999};
uint32_t const HSTIADERTIATable[] = {50,100,200,1000,5000,10000,20000,40000,80000,160000,0,999999999999999};
uint32_t const HSTIADERLOADTable[]={0,10,30,50,100,UINT32_MAX};
uint32_t const HSTIADERTIATable[] = {50,100,200,1000,5000,10000,20000,40000,80000,160000,0,UINT32_MAX};
uint32_t WgAmpWord;
iImpCar_Type DftRcalVolt, DftRtiaVolt;

View File

@ -1,3 +1,3 @@
idf_component_register(SRCS "ad5941_port.c" "ad5941_bridge.c"
INCLUDE_DIRS "."
REQUIRES ad5941 driver esp_rom)
REQUIRES ad5941 esp_driver_spi esp_driver_gpio driver esp_rom)

2748
sdkconfig

File diff suppressed because it is too large Load Diff

7
sdkconfig.defaults Normal file
View File

@ -0,0 +1,7 @@
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ENABLED=y
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
CONFIG_BT_NIMBLE_ROLE_PERIPHERAL=y
CONFIG_BT_NIMBLE_ROLE_CENTRAL=y
CONFIG_BT_NIMBLE_ROLE_OBSERVER=n
CONFIG_BT_NIMBLE_ROLE_BROADCASTER=y