Skip to content

Conversation

mmahadevan108
Copy link
Contributor

This reverts commit 708ffa3.
quickaccess section is used by the SDK drivers.

This reverts commit 708ffa3.
quickaccess section is used by the SDK drivers.

Signed-off-by: Mahesh Mahadevan <[email protected]>
Copy link

zephyr_linker_sources_ifdef(CONFIG_ARCH_HAS_RAMFUNC_SUPPORT
RAMFUNC_SECTION
${ZEPHYR_CURRENT_MODULE_DIR}/mcux/quick_access_code.ld
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about change to the following code:

if(CONFIG_CPU_CORTEX_A)
  zephyr_compile_definitions(FSL_SDK_DRIVER_QUICK_ACCESS_DISABLE)
else() # CONFIG_CPU_CORTEX_A
  zephyr_linker_sources(RWDATA
    ${ZEPHYR_CURRENT_MODULE_DIR}/mcux/quick_access_data.ld
    )

  zephyr_linker_sources_ifdef(CONFIG_ARCH_HAS_RAMFUNC_SUPPORT
    RAMFUNC_SECTION
    ${ZEPHYR_CURRENT_MODULE_DIR}/mcux/quick_access_code.ld
    )
endif() # CONFIG_CPU_CORTEX_A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants