A STM32 template file with CMSIS ,STM32 standard perpheral library and multi subdirectory type structure. MAKE file will automatically find all includes no need to manually add any includes.debug folder will be automatically created and inside all binaries will be generated and upon make clean command will be destroyed.
run with windows wsl after installing GNU arm-none-eabi-gcc on wsl
- CROSS COMPILER "arm-none-eabi-gcc " installation on wsl windows
$ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi
$ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
$ sudo apt-get update
$ sudo apt-get install gcc-arm-none-eabi
$ sudo apt-get install gdb-arm-none-eabi
- Clone the template :
git clone https://github.com/fahara02/SIMPLY-MAKE-STM32.git
- Go to the template directory:
cd SIMPLY-MAKE-STM32
- Open it on visual studio code
code .
- run make on wsl terminal
make