microHAL
An abstraction layer for your future F4xx projects
|
What's this repo about?
Can I use it for any STM32 F4 series MCU?
Install the required tools (CMake must be >= 3.21):
Debian sudo apt install gcc-arm-none-eabi gdb-multiarch git cmake openocd cppcheck -y
Other distros Not available yet
Clone the repository:
Or initialize the submodules seperately:
Available configurations: Debug / Release
Initialize cmake configuration:
Finally compile and flash the project:
Purely logical
Just don't include the --toolchain arm-toolchain.cmake
. Execute the build output utest
to run all tests natively.
The following will launch a GDB server at port 3333:
To connect to it launch another GDB instance: