Skip to content

Commit

Permalink
Merge branch 'bugfix/espat-2010_v3.3.0.0' into 'release/v3.3.0.0'
Browse files Browse the repository at this point in the history
feat(ESPAT-2010): Added the ble light sleep support on esp32c2 (v3.3.0.0)

See merge request application/esp-at!1709
  • Loading branch information
xcguang committed Jan 3, 2025
2 parents 142a5f0 + 680efe6 commit 9252d69
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module_config/module_esp32c2-2mb/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand All @@ -52,6 +53,9 @@ CONFIG_LOG_COLORS=n
# Compiler
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# Bluetooth
CONFIG_BT_ENABLED=n
CONFIG_BTDM_CTRL_MODE_ONLY=y
Expand Down
4 changes: 4 additions & 0 deletions module_config/module_esp32c2-2mb/sdkconfig_silence.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand Down Expand Up @@ -55,6 +56,9 @@ CONFIG_LOG_COLORS=n
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# Bluetooth
CONFIG_BT_ENABLED=n
CONFIG_BTDM_CTRL_MODE_ONLY=y
Expand Down
4 changes: 4 additions & 0 deletions module_config/module_esp32c2-ble-2mb/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand All @@ -49,6 +50,9 @@ CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
# Compiler
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# NimBLE Options
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ENABLED=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand Down Expand Up @@ -53,6 +54,9 @@ CONFIG_FREERTOS_ASSERT_DISABLE=y
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# NimBLE Options
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ENABLED=y
Expand Down
4 changes: 4 additions & 0 deletions module_config/module_esp32c2_default/sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand All @@ -49,6 +50,9 @@ CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
# Compiler
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# NimBLE Options
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ENABLED=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CONFIG_PM_ENABLE=y
CONFIG_PM_USE_RTC_TIMER_REF=y
### Disable all GPIO at light sleep
CONFIG_PM_SLP_DISABLE_GPIO=y
CONFIG_PM_DFS_INIT_AUTO=y

# ESP Ringbuf
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH=y
Expand Down Expand Up @@ -53,6 +54,9 @@ CONFIG_FREERTOS_ASSERT_DISABLE=y
CONFIG_COMPILER_OPTIMIZATION_DEFAULT=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y

# Bluetooth Low Power Config
CONFIG_BT_LE_SLEEP_ENABLE=y

# NimBLE Options
CONFIG_BT_ENABLED=y
CONFIG_BT_NIMBLE_ENABLED=y
Expand Down

0 comments on commit 9252d69

Please sign in to comment.