Getting Started Example - Part 5
Compile the generated code
After we have deployed the generated files into the IDE project, it is
time to compile the generated source
files.
After compilation has finished successfully, you should be able to
flash a connected target and start your application or debug it on
Source
level on hardware or in a simulator.
Note for Keil uVision users that experience build problems in the CMSIS2
project that are related to the Keil-RTX RTOS configuration (e.g.:
error: New RTX-V2 core does not require RTX_Config.h" or messages about
using the legacy Keil RTX): you should consider updating your Keil
MDK-ARM to the latest version or try to go into the project
configuration, select RTOS "None" and only set the CMSIS2 RTOS via
package manager.
The important thing is: All target and compiler depending settings can
now be done inside your IDE project so that you can keep your Rhapsody
model clean from your build environment. This also encloses adding
additional legacy sources to your IDE project.