From d0cae06594cc0fcd96d001607160cfecf67b341c Mon Sep 17 00:00:00 2001 From: ErNis <4658853+erstec@users.noreply.github.com> Date: Mon, 4 Apr 2022 22:51:06 +0300 Subject: [PATCH] Project files updated (debug ready) --- .gitignore | 2 ++ board/f4fc.cfg | 9 +++++++++ board/f7fc.cfg | 9 +++++++++ board/h7fc.cfg | 9 +++++++++ install-toolchain.sh | 4 ++-- 5 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 board/f4fc.cfg create mode 100644 board/f7fc.cfg create mode 100644 board/h7fc.cfg 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