CoOS GUI Engine for STM32 Workspace
Need to clone GUI engine code together, you can clone in same time with submodule
git clone --recurse-submodules [email protected]:luswdev/coos-gui-workspace.git
or
git clone --recurse-submodules https://github.com/luswdev/coos-gui-workspace.git
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
Or it can simply done with docker execute command (run outside container):
./docker/run.sh ./build.sh
Flash coos-gui.bin
into STM32 MCU to run program, there is a sample of OpenOCD
- Install OpenOCD
- Plug in stlink into your PC and attach MCU with stlink
- Execute download.sh and wait the download progress done
- All done!