diff --git a/.gitignore b/.gitignore index a27fcbeb0..ea13b9f17 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ cov-int* /patches/ /tools/ /downloads/ +/debug/ +/release/ # script-generated files docs/Manual.pdf diff --git a/board/f4fc.cfg b/board/f4fc.cfg new file mode 100644 index 000000000..783359f75 --- /dev/null +++ b/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 diff --git a/board/f7fc.cfg b/board/f7fc.cfg new file mode 100644 index 000000000..22ef40ccc --- /dev/null +++ b/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 diff --git a/board/h7fc.cfg b/board/h7fc.cfg new file mode 100644 index 000000000..5d2d619b6 --- /dev/null +++ b/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 diff --git a/install-toolchain.sh b/install-toolchain.sh index 58f24a85c..530ebdbb4 100755 --- a/install-toolchain.sh +++ b/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