|
2 years ago | |
---|---|---|
Drivers | 3 years ago | |
GexCore @ 3d3d74f381 | 2 years ago | |
GexUnits | 2 years ago | |
Inc | 2 years ago | |
Middlewares/Third_Party/FreeRTOS/Source | 3 years ago | |
Patches | 3 years ago | |
Src | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
.mxproject | 3 years ago | |
CMakeLists.txt | 2 years ago | |
LICENSE.txt | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
STM32F072RBTx_FLASH.ld | 3 years ago | |
attach.gdb | 3 years ago | |
avstack.pl | 3 years ago | |
build.mk.example | 2 years ago | |
convertnl.sh | 3 years ago | |
dbg-client.sh | 3 years ago | |
dbg-server.sh | 3 years ago | |
fix_cube_mf.php | 3 years ago | |
gdb-pipe.cfg | 3 years ago | |
gex-f072.ioc | 3 years ago | |
openocd.cfg | 3 years ago | |
openocd.log | 3 years ago | |
parsemap.php | 3 years ago | |
run.gdb | 3 years ago | |
startup_stm32f072xb.s | 3 years ago |
This is the STM32F072 GEX firmware, supporting all STM32F072 GEX boards (including the F072 Discovery).
GEX repositories are mirrored on GitHub to make it easier to submit issues and propose improvements via "pull requests". Please use the upstream repository when cloning to ensure you have the latest version of the code. The mirrors are kept up-to-date, but they may fall behind.
Make sure you clone the repository recursively (git clone --recursive ...
), or run
git submodule update --init
afterwards, to initialize the GexCore submodule.
In order to build the firmware, first copy the configuration file template build.mk.example
to
build.mk
, modify as desired, then run make
to build the binary image (see the Make Targets
section below for more options).
Individual GEX units can be enabled or disabled in build.mk
, and the target platform (your GEX
board model) is selected here as well. The config file is excluded from version control.
Listed versions were used during development. Other (particularly newer) versions may work too, but without a guarantee. Please submit patches needed to fix incompatibilities, or at least let me know.
-j
for faster builds)st-flash
dfu-convert
and dfu-util
All make targets depend on all Makefiles, meaning any modification triggers a full (-B
)
rebuild the next time you try to build or flash the firmware.