GEX port to STM32F072. This is currently the main port.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
Ondřej Hruška 098a23a810
Improve readme
6 yıl önce
Drivers Fix a bug in multi-part PCD transmit 6 yıl önce
GexCore@3d3d74f381 relink Core via https 6 yıl önce
GexUnits moved platform specific stuff from core 6 yıl önce
Inc moved platform specific stuff from core 6 yıl önce
Middlewares/Third_Party/FreeRTOS/Source added stuff 6 yıl önce
Patches added stuff 6 yıl önce
Src moved platform specific stuff from core 6 yıl önce
.gitignore added a README and moved build.mk to build.mk.example 6 yıl önce
.gitmodules relink Core via https 6 yıl önce
.mxproject added stuff 6 yıl önce
CMakeLists.txt moved platform specific stuff from core 6 yıl önce
LICENSE.txt added a license 6 yıl önce
Makefile added a README and moved build.mk to build.mk.example 6 yıl önce
README.md Improve readme 6 yıl önce
STM32F072RBTx_FLASH.ld some updates for latest gex 6 yıl önce
attach.gdb it now works with f072 somehow 6 yıl önce
avstack.pl some updates for latest gex 6 yıl önce
build.mk.example typos in build.mk.example 6 yıl önce
convertnl.sh added stuff 6 yıl önce
dbg-client.sh it now works with f072 somehow 6 yıl önce
dbg-server.sh it now works with f072 somehow 6 yıl önce
fix_cube_mf.php added stuff 6 yıl önce
gdb-pipe.cfg it now works with f072 somehow 6 yıl önce
gex-f072.ioc it builds 6 yıl önce
openocd.cfg it now works with f072 somehow 6 yıl önce
openocd.log it now works with f072 somehow 6 yıl önce
parsemap.php improved parsemap 6 yıl önce
run.gdb it now works with f072 somehow 6 yıl önce
startup_stm32f072xb.s added stuff 6 yıl önce

README.md

GEX Firmware for STM32F072

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.

Building the Firmware

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.

Requirements

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.

  • 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 -j 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.