![]() |
CMSIS-Compiler Support
Version 1.0.0
Standard C Library File, I/O and OS Retargeting
|
This project prints "Hello World" and a counter value via the UART output. It is configured for Arm Virtual Hardware, but other target hardware that provides a CMSIS Driver:USART can be easily added.
retarget.csolution.yml
The project is generated using the CMSIS-Toolbox and is defined in csolution
format:
retarget.csolution.yml
lists the required packs and defines the hardware target and build-types (along with the compiler).retarget.cproject.yml
defines the source files and the software components.Use the cbuild
command to build the Debug configuration for VHT target defined in .csolution.yml
solution file.
Note: During the build process required packs may be downloaded (
-p
flag).
By default the project is compiled using Arm Compiler. One can change the compiler selection in .cdefault.yml
file to GCC
.
The project is configured for execution on Arm Virtual Hardware which removes the requirement for a physical hardware board.
Note: The application image file has extension
.elf
when using GCC Compiler.