mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-03 19:41:55 +02:00
esp_system: component init functions macro
Allows components to declare initialization function, such that the startup code does not have direct dependency on the component.
This commit is contained in:
committed by
Angus Gratton
parent
bb5535ca5d
commit
0f43a2620d
@@ -214,6 +214,10 @@ SECTIONS
|
||||
_coredump_dram_end = ABSOLUTE(.);
|
||||
|
||||
/* should be placed after coredump mapping */
|
||||
_esp_system_init_fn_array_start = ABSOLUTE(.);
|
||||
KEEP (*(SORT(.esp_system_init_fn) SORT(.esp_system_init_fn.*)))
|
||||
_esp_system_init_fn_array_end = ABSOLUTE(.);
|
||||
|
||||
mapping[dram0_data]
|
||||
|
||||
_data_end = ABSOLUTE(.);
|
||||
|
||||
Reference in New Issue
Block a user