Skip to content

Commit 30fb95c

Browse files
committed
add board cfg file
1 parent b8f56e0 commit 30fb95c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

boards/astra_fc_v1.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
3+
# This is a stm32h747i-disco with a single STM32H747XIH6 chip.
4+
# www.st.com/en/product/stm32h747i-disco.html
5+
#
6+
7+
# This is for using the onboard STLINK
8+
source [find interface/stlink.cfg]
9+
10+
transport select hla_swd
11+
12+
set CHIPNAME STM32H747BITx
13+
set BOARDNAME genericBoard
14+
15+
source [find target/stm32h7x.cfg]

platformio.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ platform = ststm32
1313
board = astra_fc_v1
1414
framework = arduino
1515

16+
; Note - this is here to point openocd at the correct board file
17+
upload_command = openocd -f "${PROJECT_DIR}/boards/astra_fc_v1.cfg" -c "program {$SOURCE} verify reset exit"
18+
1619
lib_ldf_mode = chain+
1720
lib_deps =
1821
SPI

0 commit comments

Comments
 (0)