Build a multicore example application
This section describes the particular steps that need to be done in order to build and run a dual-core application. The demo applications workspace files are located in this folder:
<install_dir>/boards/evkmimxrt1180/multicore_examples/<application_name>/<core_type>/mdk
Begin with a simple dual-core version of the Hello World application. The multicore Hello World MDK workspaces are located in this folder:
<install_dir>/boards/evkmimxrt1180/multicore_examples/hello_world/cm7/mdk/hello_world_cm7.uvmpw
<install_dir>/boards//evkmimxrt1180/multicore_examples/hello_world/cm33/mdk/hello_world_cm33.uvmpw
Build both applications separately by clicking the Rebuild button. Build the application for the auxiliary core (cm7) first, because the primary core application project (cm33) needs to know the auxiliary core application binary when running the linker. It is not possible to finish the primary core linker when the auxiliary core application binary is not ready.
Because the auxiliary core runs always from RAM, debug and release RAM targets are present in the project only. When building the primary core project, it is possible to select flexspi_nor_debug
/flexspi_nor_release
Flash targets. When choosing Flash targets the auxiliary core binary is linked with the primary core image and stored in the external SPI Flash memory. During the primary core execution the auxiliary core image is copied from flash into the CM7 RAM and executed.
Parent topic:Run a demo using Keil MDK/μVision