A hardware specific implementation of the gpio_hal.h API for STM32F303xE microcontroller.
Clone this repository into the driver section of your project. Only the contents of the src
folder need to be included in the build. All other files are used for unit testing.
-
Install Ruby
-
Install latest Ruby Rake gem:
gem install rake
-
Install 32-Bit GCC.
-
Clone the Unity repository in the same directory level as your project folder.
Open terminal in the directory, run rake
or rake all
to build and run the UNIT tests.
This issue is caused by not having 32 bit GCC installed. If installing 32-Bit GCC is a hassle then you can update all occurances of -m32
to -m64
in the target_gcc_32.yml
file.