mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 07:09:37 +00:00
ulp: refactor ulp component
This commit refactors the ulp component. Files are now divided based on type of ulp, viz., fsm or risc-v. Files common to both are maintained in the ulp_common folder. This commit also adds menuconfig options for ULP within the ulp component instead of presenting target specific configuations for ulp.
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
#if __has_include("soc/esp32s2/esp_ds.h")
|
||||
#include "soc/esp32s2/esp_ds.h"
|
||||
#endif
|
||||
#if __has_include("ulp_common.h")
|
||||
#include "ulp_common.h"
|
||||
#if __has_include("ulp_fsm_common.h")
|
||||
#include "ulp_fsm_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP_ERR_TO_NAME_LOOKUP
|
||||
@@ -221,7 +221,7 @@ static const esp_err_msg_t esp_err_msg_table[] = {
|
||||
forbidden since the NVS encryption works
|
||||
differently. */
|
||||
# endif
|
||||
// components/ulp/include/ulp_common.h
|
||||
// components/ulp/ulp_fsm/include/ulp_fsm_common.h
|
||||
# ifdef ESP_ERR_ULP_BASE
|
||||
ERR_TBL_IT(ESP_ERR_ULP_BASE), /* 4608 0x1200 Offset for ULP-related error codes */
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user