mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(system_init): introduce pre-scheduler and pre-app main handler registrations
- Added macros for registering handlers to run before the scheduler and app main. - Updated various components to utilize the new registration system for initialization. - Refactored app startup logic to streamline initialization sequence.
This commit is contained in:
@@ -22,6 +22,16 @@ SECTIONS
|
||||
KEEP(*(SORT_BY_INIT_PRIORITY(.esysev_inits.*)))
|
||||
PROVIDE(_esysev_inits_end = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
PROVIDE(_esysev_presc_start = .);
|
||||
KEEP(*(SORT_BY_INIT_PRIORITY(.esysev_presc.*)))
|
||||
PROVIDE(_esysev_presc_end = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
PROVIDE(_esysev_pream_start = .);
|
||||
KEEP(*(SORT_BY_INIT_PRIORITY(.esysev_pream.*)))
|
||||
PROVIDE(_esysev_pream_end = .);
|
||||
|
||||
. = ALIGN(4);
|
||||
PROVIDE(_esysev_panic_start = .);
|
||||
KEEP(*(SORT_BY_INIT_PRIORITY(.esysev_panic.*)))
|
||||
|
||||
Reference in New Issue
Block a user