-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refactor/refactor_ulp_component' into 'master'
ulp: refactor ulp component Closes IDF-4520 See merge request espressif/esp-idf!16886
- Loading branch information
Showing
68 changed files
with
786 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# sdkconfig replacement configurations for deprecated options formatted as | ||
# CONFIG_DEPRECATED_OPTION CONFIG_NEW_OPTION | ||
|
||
# ESP32-S2 specific | ||
CONFIG_ESP32S2_ULP_COPROC_ENABLED CONFIG_ULP_COPROC_ENABLED | ||
CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM CONFIG_ULP_COPROC_RESERVE_MEM | ||
CONFIG_ESP32S2_ULP_COPROC_RISCV CONFIG_ULP_COPROC_TYPE_RISCV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
menu "Ultra Low Power (ULP) Co-processor" | ||
depends on (SOC_ULP_SUPPORTED || SOC_RISCV_COPROC_SUPPORTED) | ||
|
||
config ULP_COPROC_ENABLED | ||
bool "Enable Ultra Low Power (ULP) Co-processor" | ||
default "n" | ||
help | ||
Enable this feature if you plan to use the ULP Co-processor. | ||
Once this option is enabled, further ULP co-processor configuration will appear in the menu. | ||
|
||
choice ULP_COPROC_TYPE | ||
prompt "ULP Co-processor type" | ||
depends on ULP_COPROC_ENABLED | ||
default ULP_COPROC_TYPE_FSM if IDF_TARGET_ESP32 | ||
default ULP_COPROC_TYPE_RISCV if (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3) | ||
help | ||
Choose the ULP Coprocessor type: ULP FSM (Finite State Machine) or ULP RISC-V. | ||
Please note that ESP32 only supports ULP FSM. | ||
|
||
config ULP_COPROC_TYPE_FSM | ||
bool "ULP FSM (Finite State Machine)" | ||
config ULP_COPROC_TYPE_RISCV | ||
bool "ULP RISC-V" | ||
depends on !IDF_TARGET_ESP32 | ||
endchoice | ||
|
||
config ULP_COPROC_RESERVE_MEM | ||
int | ||
prompt "RTC slow memory reserved for coprocessor" | ||
depends on ULP_COPROC_ENABLED | ||
default 512 if IDF_TARGET_ESP32 | ||
default 4096 if (IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3) | ||
range 32 8176 | ||
help | ||
Bytes of memory to reserve for ULP Co-processor firmware & data. | ||
Data is reserved at the beginning of RTC slow memory. | ||
|
||
endmenu # Ultra Low Power (ULP) Co-processor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.