mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
refactor(ulp): select ULP architecture component as common component
The subproject knows which architecture it builds for, so a ULP program names only its own dependencies.
This commit is contained in:
@@ -1,2 +1 @@
|
||||
idf_component_register(SRCS "main.S"
|
||||
REQUIRES ulp_fsm)
|
||||
idf_component_register(SRCS "main.S")
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES ulp_riscv)
|
||||
idf_component_register(SRCS "main.c")
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
idf_component_register(SRCS "wake_up.S"
|
||||
REQUIRES ulp_fsm)
|
||||
idf_component_register(SRCS "wake_up.S")
|
||||
|
||||
@@ -2,7 +2,7 @@ set(srcs
|
||||
"counter.S")
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
REQUIRES ulp_fsm ulp_wake
|
||||
REQUIRES ulp_wake
|
||||
LDFRAGMENTS "ulp_fsm_sections.lf")
|
||||
|
||||
target_compile_definitions(${COMPONENT_LIB} PRIVATE ULP_BUILD_SYSTEM_FSM_EXAMPLE=1)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES lp_core ulp_sum ulp_math)
|
||||
REQUIRES ulp_sum ulp_math)
|
||||
|
||||
# Linker script template processed by ldgen. The mapping[ulp_math_fast]
|
||||
# marker is resolved using the .lf fragment from the ulp_math component.
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES lp_core)
|
||||
idf_component_register(SRCS "main.c")
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES lp_core)
|
||||
idf_component_register(SRCS "main.c")
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
idf_component_register(SRCS "main.c"
|
||||
REQUIRES ulp_riscv
|
||||
LDFRAGMENTS "ulp_riscv_sections.lf")
|
||||
|
||||
# Supplementary linker script template processed by ldgen. The mapping marker
|
||||
|
||||
Reference in New Issue
Block a user