How can I compile and program?

Published on October 9, 2025 at 9:40 PM

To be able to compile and program a project, the correct settings must be specified in the project properties.

  • First select the target family
  • Now the available targets for the target family are shown. Select the target.
  • Select the compiler manufacturer. For real targets the GnuC compiler is used. For simulation MSBuild is used.
  • Select the programmer, JLink or ST-Link.

 

Select the compiler. The list is dependant on previous settings of the target family. For Visual Studio 2022 (Microsoft) the MSBuild compiler is used.

For other targets a number of Gnu C compiler versions may be selected.

See picture on the right.

Compiling

Compiling is done via the Action Menu of Atomic Designer V5.

 

Make clean removes all compiled data.

Make release compiles the project to a release version in the Release directory.

Make debug compiles the project to a debug version in the Debug directory.

 

The difference between release and debug is a macro in the makefile

Release:  Macro SE_CONFIG_RELEASE is defined

Debug:    Macro SE_CONFIG_DEBUG is defined

These macro's may be used to add debug information to the project dependant on the macro that is defined.

Programming

To be able to program the target, the right programmer must be selected.

Most targets can be programmed either by JLink or by ST-Link.

Programming is done via the Action Menu of Atomic Designer V5.

 

Program release is used to program a release version

Program debug is used to program a debug version

Example programming using ST-Link