🎉 GOOD NEWS 😁 : FROM NOW ON WE'LL USE OpenOCD & GDB FOR FLASHING AND DEBUGGING, UNDER BOTH LINUX AND WINDOWS!
✪ Any Text Editor
✪ CMSIS / HAL Drivers (You can use your own HAL!)
✪ Startup File + Linker Script (You can always use you own)
✪ GNU Make (Makefiles)
✪ GNU ARM Embedded Toolchain (Compiler/Other Tools)
✪ OpenOCD (If You Want to Flash/Debug Directly From the Command Line)
✪ The GNU Debugger - GDB (arm-none-eabi-gdb OR gdb-multiarch)
- DOWNLOAD (CLONE) THIS REPOSITORY :
$ git clone https://github.com/JihedChaibi/STM32-with-no-IDE
- ENTER THE STM32-with-no-IDE FOLDER :
$ cd STM32-with-no-IDE
- COMPILE THE DEMO CODE (src/main.c) :
$ make
- FLASH :
$ make flash
- CLEAN BINARIES (OPTIONAL) :
$ make clean
- ERASE THE CHIP'S CONTENT (OPTIONAL) :
$ make erase
- START THE DEBUGGING SESSION :
$ make debug
- OPEN ANOTHER TERMINAL WINDOW, AND LET THE FUN BEGIN :
$ make gdb
- Debugging from the command line [:heavy_check_mark: DONE!]
- Windows support [:heavy_check_mark: DONE!]
- Using CMake+GNU Make or CMake+Ninja as a main builder [:recycle: IN PROGRESS]