Skip to content

Commit 55899d2

Browse files
authored
Add disco f769 ni uploadcfg (ARMmbed#82)
* add-uploadcfg-disco_F76ni * add-DISCO_F769NI-uploadcfg fix comment * tested all upload methods except stlink (old tool)
1 parent 7cd1991 commit 55899d2

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Mbed OS upload method configuration file for target DISCO_F769NI.
2+
# To change any of these parameters from their default values, set them in your build script between where you
3+
# include app.cmake and where you add mbed os as a subdirectory.
4+
5+
# Notes:
6+
# 1. Using the JLINK upload method with your dev board requires converting its ST-LINK into a J-Link. See here for details: https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
7+
8+
# General config parameters
9+
# -------------------------------------------------------------
10+
set(UPLOAD_METHOD_DEFAULT MBED)
11+
12+
# Config options for MBED
13+
# -------------------------------------------------------------
14+
15+
set(MBED_UPLOAD_ENABLED TRUE)
16+
set(MBED_RESET_BAUDRATE 115200)
17+
18+
# Config options for JLINK
19+
# -------------------------------------------------------------
20+
21+
set(JLINK_UPLOAD_ENABLED TRUE)
22+
set(JLINK_CPU_NAME STM32F769NI)
23+
set(JLINK_CLOCK_SPEED 4000k)
24+
set(JLINK_UPLOAD_INTERFACE SWD)
25+
26+
# Config options for PYOCD
27+
# -------------------------------------------------------------
28+
29+
set(PYOCD_UPLOAD_ENABLED TRUE)
30+
set(PYOCD_TARGET_NAME stm32f769nihx)
31+
set(PYOCD_CLOCK_SPEED 4000k)
32+
33+
# Config options for OPENOCD
34+
# -------------------------------------------------------------
35+
36+
set(OPENOCD_UPLOAD_ENABLED TRUE)
37+
set(OPENOCD_CHIP_CONFIG_COMMANDS
38+
-f ${OpenOCD_SCRIPT_DIR}/board/stm32f769i-disco.cfg)
39+
40+
# Config options for STM32Cube
41+
# -------------------------------------------------------------
42+
43+
set(STM32CUBE_UPLOAD_ENABLED TRUE)
44+
set(STM32CUBE_CONNECT_COMMAND -c port=SWD)
45+
set(STM32CUBE_GDBSERVER_ARGS --swd)
46+
47+
# Config options for stlink
48+
# -------------------------------------------------------------
49+
# not tested
50+
51+
set(STLINK_UPLOAD_ENABLED FALSE)
52+
set(STLINK_LOAD_ADDRESS 0x8000000)
53+
set(STLINK_ARGS --connect-under-reset)

0 commit comments

Comments
 (0)