File tree Expand file tree Collapse file tree
CMSIS/Device/Maxim/MAX32672/Source
zephyr/MAX/Source/MAX32672 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,11 @@ typedef struct {
5454 unsigned int AppVersionNumber ; //> Version of this application
5555} flash_app_header_t ;
5656
57+ #ifdef USE_ZEPHYR_SECTIONS
58+ __attribute__((section (".rom_start" ))) __attribute__((__used__ ))
59+ #else
5760__attribute__((section (".sb_sla_header" ))) __attribute__((__used__ ))
61+ #endif
5862const flash_app_header_t sb_header = {
5963 .Magic =
6064 {
Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ zephyr_library_sources(
6767 ${MSDK_PERIPH_SRC_DIR} /QDEC/qdec_reva.c
6868)
6969
70+ if (CONFIG_SOC_FAMILY_MAX32_SECURE_SOC_SIGNING)
71+ zephyr_library_sources (${MSDK_CMSIS_DIR} /Source/sla_header_MAX32672.c )
72+ endif ()
73+
7074if (CONFIG_ADC_MAX32)
7175zephyr_library_sources (
7276 ${MSDK_PERIPH_SRC_DIR} /ADC/adc_me21.c
You can’t perform that action at this time.
0 commit comments