A template for at32 toolchain cmake workspace.
All target must build in docker, to build docker image, use command below:
./docker/build.sh
Run docker and copy project code into container use command below:
./docker/run.sh
When in container, start build target with command:
./build.sh
The default output target name will be at32-framework.elf
and at32-framework.bin
.
If you want to change it, just replace the project name in CMakeLists.txt
.
-project(at32-framework)
+project(awesome-project)