Skip to content

Commit fabe7af

Browse files
authored
Adds ULP support for S3, S3 and C6 (#176)
* Adds full support to ULP Adds ULP FSM Macro Defs "ulp.h" file * Adds Full ULP support to S3 Adds ULP FSM Macro Defs "ulp.h" file * Fix ULP defconfig.esp32s2 Fix the Setting option for S2 * Update ULP for IDF 4.x and 5.x * Update ULP for IDF 4.x and 5.x * Enables C6 ULP * Full ULP support for C6 * Pick FSM instead of RISKV ULP * Pick FSM instead of RISCV ULP * Disable C6 RV LP - No way to use it in Arduino * Pick FSM ULP for Arduino. * Pick FSM ULP for Arduino
1 parent b603fc7 commit fabe7af

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

configs/defconfig.esp32c6

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ CONFIG_BT_ENABLED=y
22
CONFIG_BT_BLE_BLUFI_ENABLE=y
33
CONFIG_RTC_CLK_CAL_CYCLES=576
44
# CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0 is not set
5-
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
5+
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=2304
6+
# This Enables RISCV LP for C6 - but it can't be used within Arduino at this time.
7+
#CONFIG_ULP_COPROC_ENABLED=y
8+
#CONFIG_ULP_COPROC_LP_CORE=y
9+
#CONFIG_ULP_COPROC_RESERVE_MEM=4096

configs/defconfig.esp32s2

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ CONFIG_ESP32S2_KEEP_USB_ALIVE=y
77
# CONFIG_USE_MULTINET is not set
88
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
99
CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n
10+
11+
# ULP Setting for IDF 5.x
12+
CONFIG_ULP_COPROC_ENABLED=y
13+
# end of ULP COPROC_ENABLE
14+
# Choose FSM or RISCV exclusively! Never both.
1015
CONFIG_ULP_COPROC_TYPE_FSM=y
11-
CONFIG_ULP_COPROC_TYPE_RISCV=y
12-
CONFIG_ULP_COPROC_RESERVE_MEM=4096
16+
# CONFIG_ULP_COPROC_TYPE_RISCV=y
17+
CONFIG_ULP_COPROC_RESERVE_MEM=4096

configs/defconfig.esp32s3

+7-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ CONFIG_ESP32S3_UNIVERSAL_MAC_ADDRESSES_TWO=y
99
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
1010
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=3120
1111
CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=n
12+
13+
# ULP Setting for IDF 5.x
14+
CONFIG_ULP_COPROC_ENABLED=y
15+
# end of ULP COPROC_ENABLE
16+
# Choose FSM or RISCV exclusively! Never both.
1217
CONFIG_ULP_COPROC_TYPE_FSM=y
13-
CONFIG_ULP_COPROC_TYPE_RISCV=y
14-
CONFIG_ULP_COPROC_RESERVE_MEM=4096
18+
# CONFIG_ULP_COPROC_TYPE_RISCV=y
19+
CONFIG_ULP_COPROC_RESERVE_MEM=4096

0 commit comments

Comments
 (0)