Browse Source

Project files updated (debug ready)

master
ErNis 3 years ago
parent
commit
d0cae06594
  1. 2
      .gitignore
  2. 9
      board/f4fc.cfg
  3. 9
      board/f7fc.cfg
  4. 9
      board/h7fc.cfg
  5. 4
      install-toolchain.sh

2
.gitignore

@ -19,6 +19,8 @@ cov-int*
/patches/
/tools/
/downloads/
/debug/
/release/
# script-generated files
docs/Manual.pdf

9
board/f4fc.cfg

@ -0,0 +1,9 @@
# Boardconfig for ST-Link/V2 with F4-FC
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32f4x.cfg]
reset_config none separate

9
board/f7fc.cfg

@ -0,0 +1,9 @@
# Boardconfig for ST-Link/V2 with F7-FC
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32f7x.cfg]
reset_config none separate

9
board/h7fc.cfg

@ -0,0 +1,9 @@
# Boardconfig for ST-Link/V2 with H7-FC
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32h7x_dual_bank.cfg]
reset_config none separate

4
install-toolchain.sh

@ -1,5 +1,5 @@
#!/bin/bash
if [ ! -d $PWD/gcc-arm-none-eabi-8-2018-q4-major/bin ] ; then
curl --retry 10 --retry-max-time 120 -L "https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2" | tar xfj -
if [ ! -d $PWD/tools/gcc-arm-none-eabi-10-2020-q4-major/bin ] ; then
curl --retry 10 --retry-max-time 120 -L "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2" | tar xfj - -C $PWD/tools/
fi
Loading…
Cancel
Save