GEX port to STM32F072. This is currently the main port.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Ondřej Hruška 9d1709f079
typos in build.mk.example
6 years ago
Drivers Fix a bug in multi-part PCD transmit 7 years ago
GexCore@a1e9cf2a57 Modularization, stage 2, updated core submodule 6 years ago
GexUnits Modularization, stage 1 6 years ago
Inc deleted some junk that's now better implemented inside core (HAL timebase) 7 years ago
Middlewares/Third_Party/FreeRTOS/Source added stuff 7 years ago
Patches added stuff 7 years ago
Src fixes for oscillator fallback 7 years ago
.gitignore added a README and moved build.mk to build.mk.example 6 years ago
.gitmodules Modularization, stage 2, updated core submodule 6 years ago
.mxproject added stuff 7 years ago
CMakeLists.txt update makefile and User for gex zero support 7 years ago
LICENSE.txt added a license 7 years ago
Makefile added a README and moved build.mk to build.mk.example 6 years ago
README.md correction in readme 6 years ago
STM32F072RBTx_FLASH.ld some updates for latest gex 7 years ago
attach.gdb it now works with f072 somehow 7 years ago
avstack.pl some updates for latest gex 7 years ago
build.mk.example typos in build.mk.example 6 years ago
convertnl.sh added stuff 7 years ago
dbg-client.sh it now works with f072 somehow 7 years ago
dbg-server.sh it now works with f072 somehow 7 years ago
fix_cube_mf.php added stuff 7 years ago
gdb-pipe.cfg it now works with f072 somehow 7 years ago
gex-f072.ioc it builds 7 years ago
openocd.cfg it now works with f072 somehow 7 years ago
openocd.log it now works with f072 somehow 7 years ago
parsemap.php improved parsemap 7 years ago
run.gdb it now works with f072 somehow 7 years ago
startup_stm32f072xb.s added stuff 7 years ago

README.md

GEX Firmware for STM32F072

Copy build.mk.example to build.mk, configure as desired, and build the firmware image with make.

Individual GEX units can be enabled or disabled in this config file, and the target platform is selected here as well.

Requirements

Listed versions were used during development. Other (particularly newer) versions may work too, but without guarantee. Please submit patches needed to fix incompatibilities, or at least let me know.

  • arm-none-eabi-gcc (v8.1)
  • arm-none-eabi-binutils (v2.30)
  • arm-none-eabi-newlib (v3.0)
  • make (GNU, v4.2)
  • tr (GNU coreutils 8.29 - but any version should work)
  • dfu-util (v0.9) for DFU flashing
  • stlink (texane, v1.5) for ST-Link flashing

Make Targets

  • make - basic build (recommended to use with -j4 for faster builds)
  • make flash - flash using st-flash
  • make dfu - flash using dfu-convert and dfu-util
  • make clean - clean files generated during build

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.