artronics/zig-stm32f7-blink
A blink project using nucleo-f767zi board with build and debug configuration
A blinking LED project using the Zig programming language. With the use of OpenOCD, you can program the chip and debug your project using the provided Visual Studio Code configurations. These configurations include both launch and task configurations, allowing you to run and test your code.
To build and program the board run:
zig build flash
This project is using NUCLEO-F767ZI board but, if you have a different board, you can still use these instructions to create your own project. Simply follow the steps outlined below to build and program your board:
arm-none-eabi
toolchain. We use Zig to cross-compile our code, but the toolchain comes with other useful tools including gdb
.startup_<chip>.s
and <ship>.ld
files.SVD
file from ST website. launch.json
references this file. This will allow you to search for registers by name and check their values during debugging.I used source code from: