File tree Expand file tree Collapse file tree 9 files changed +34
-3
lines changed
app_event_manager_profiler_tracer Expand file tree Collapse file tree 9 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -49,4 +49,9 @@ endif()
49
49
50
50
if (CONFIG_DESKTOP_CONFIG_CHANNEL_ENABLE)
51
51
zephyr_linker_sources(SECTIONS nrf_desktop.ld)
52
+ zephyr_linker_section(NAME config_channel_modules KVMA RAM_REGION GROUP RODATA_REGION NOINPUT)
53
+ zephyr_linker_section_configure(SECTION config_channel_modules
54
+ INPUT "config_channel_modules"
55
+ SYMBOLS __start_config_channel_modules __stop_config_channel_modules
56
+ KEEP SORT NAME )
52
57
endif ()
Original file line number Diff line number Diff line change @@ -9,3 +9,15 @@ zephyr_sources(app_event_manager.c)
9
9
zephyr_sources_ifdef(CONFIG_APP_EVENT_MANAGER_SHELL app_event_manager_shell.c)
10
10
11
11
zephyr_linker_sources(SECTIONS aem.ld)
12
+ zephyr_iterable_section(NAME event_type KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
13
+ zephyr_iterable_section(NAME event_listener KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
14
+ zephyr_iterable_section(NAME app_event_manager_postinit_hook KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
15
+ zephyr_iterable_section(NAME event_submit_hook KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
16
+ zephyr_iterable_section(NAME event_preprocess_hook KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
17
+ zephyr_iterable_section(NAME event_postprocess_hook KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
18
+
19
+ zephyr_linker_section(NAME event_subscribers_all KVMA RAM_REGION GROUP RODATA_REGION NOINPUT)
20
+ zephyr_linker_section_configure(SECTION event_subscribers_all
21
+ INPUT "event_subscribers_*"
22
+ SYMBOLS "__start_event_subscribers_all" "__stop_event_subscribers_all"
23
+ KEEP SORT NAME )
Original file line number Diff line number Diff line change 6
6
7
7
zephyr_include_directories(.)
8
8
zephyr_sources_ifdef(CONFIG_APP_EVENT_MANAGER_PROFILER_TRACER app_event_manager_profiler_tracer.c)
9
- if (CONFIG_APP_EVENT_MANAGER_PROFILER_TRACER)
10
9
zephyr_linker_sources(SECTIONS em_pt.ld)
11
- endif ( )
10
+ zephyr_iterable_section( NAME nrf_profiler_info KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4 )
Original file line number Diff line number Diff line change 6
6
7
7
zephyr_sources(core.c)
8
8
zephyr_linker_sources(SECTIONS core.ld)
9
+ zephyr_iterable_section(NAME bt_le_adv_prov_ad KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
10
+ zephyr_iterable_section(NAME bt_le_adv_prov_sd KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
9
11
10
12
add_subdirectory (providers)
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ zephyr_library_sources_ifdef(CONFIG_BT_FAST_PAIR_STORAGE_INTEGRATION fp_storage_
22
22
zephyr_library_sources_ifdef(CONFIG_BT_FAST_PAIR_BOND_MANAGER fp_bond_manager.c)
23
23
24
24
zephyr_linker_sources_ifdef(CONFIG_BT_FAST_PAIR_ACTIVATION SECTIONS fp_activation.ld)
25
+ if (CONFIG_BT_FAST_PAIR_ACTIVATION)
26
+ zephyr_iterable_section(NAME fp_activation_module KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
27
+ endif ()
25
28
zephyr_library_sources_ifdef(CONFIG_BT_FAST_PAIR_ACTIVATION fp_activation.c)
26
29
27
30
if (CONFIG_BT_FAST_PAIR_CRYPTO)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ zephyr_library_named(fp_storage)
8
8
9
9
if (CONFIG_BT_FAST_PAIR_STORAGE_MANAGER)
10
10
zephyr_linker_sources(SECTIONS fp_storage_manager.ld)
11
+ zephyr_iterable_section(NAME fp_storage_manager_module KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN 4)
11
12
target_sources (fp_storage PRIVATE fp_storage_manager.c)
12
13
endif ()
13
14
if (CONFIG_BT_FAST_PAIR_STORAGE_AK_BACKEND_STANDARD)
Original file line number Diff line number Diff line change @@ -65,3 +65,8 @@ zephyr_sources_ifdef(CONFIG_CAF_SENSOR_DATA_AGGREGATOR_EVENTS
65
65
)
66
66
67
67
zephyr_linker_sources(SECTIONS module_id_list.ld)
68
+ zephyr_linker_section(NAME module_id_list_all KVMA RAM_REGION GROUP RODATA_REGION NOINPUT)
69
+ zephyr_linker_section_configure(SECTION module_id_list_all
70
+ INPUT "module_id_list"
71
+ SYMBOLS "__start_module_id_list" "__stop_module_id_list"
72
+ KEEP)
Original file line number Diff line number Diff line change 7
7
zephyr_sources(emds.c)
8
8
zephyr_sources(emds_flash.c)
9
9
zephyr_linker_sources(SECTIONS emds_types.ld)
10
+
11
+ if (DEFINED CONFIG_EMDS)
12
+ zephyr_iterable_section(NAME emds_entry KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${CONFIG_LINKER_ITERABLE_SUBALIGN} )
13
+ endif ()
Original file line number Diff line number Diff line change 7
7
zephyr_library_named(nrf_compress)
8
8
zephyr_library_sources(src/implementation.c)
9
9
zephyr_linker_sources(SECTIONS sections.ld)
10
- zephyr_iterable_section(NAME nrf_compress_implementation KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN CONFIG_LINKER_ITERABLE_SUBALIGN)
10
+ zephyr_iterable_section(NAME nrf_compress_implementation KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${ CONFIG_LINKER_ITERABLE_SUBALIGN} )
11
11
12
12
if (CONFIG_NRF_COMPRESS_LZMA OR CONFIG_NRF_COMPRESS_ARM_THUMB)
13
13
zephyr_library_include_directories(lzma)
You can’t perform that action at this time.
0 commit comments