forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Mbed OS upload method configuration file for target DISCO_F769NI. | ||
# To change any of these parameters from their default values, set them in your build script between where you | ||
# include app.cmake and where you add mbed os as a subdirectory. | ||
|
||
# Notes: | ||
# 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/ | ||
|
||
# General config parameters | ||
# ------------------------------------------------------------- | ||
set(UPLOAD_METHOD_DEFAULT MBED) | ||
|
||
# Config options for MBED | ||
# ------------------------------------------------------------- | ||
|
||
set(MBED_UPLOAD_ENABLED TRUE) | ||
set(MBED_RESET_BAUDRATE 115200) | ||
|
||
# Config options for JLINK | ||
# ------------------------------------------------------------- | ||
|
||
set(JLINK_UPLOAD_ENABLED TRUE) | ||
set(JLINK_CPU_NAME STM32F769NI) | ||
set(JLINK_CLOCK_SPEED 4000k) | ||
set(JLINK_UPLOAD_INTERFACE SWD) | ||
|
||
# Config options for PYOCD | ||
# ------------------------------------------------------------- | ||
|
||
set(PYOCD_UPLOAD_ENABLED TRUE) | ||
set(PYOCD_TARGET_NAME stm32f769nihx) | ||
set(PYOCD_CLOCK_SPEED 4000k) | ||
|
||
# Config options for OPENOCD | ||
# ------------------------------------------------------------- | ||
|
||
set(OPENOCD_UPLOAD_ENABLED TRUE) | ||
set(OPENOCD_CHIP_CONFIG_COMMANDS | ||
-f ${OpenOCD_SCRIPT_DIR}/board/stm32f769i-disco.cfg) | ||
|
||
# Config options for STM32Cube | ||
# ------------------------------------------------------------- | ||
|
||
set(STM32CUBE_UPLOAD_ENABLED TRUE) | ||
set(STM32CUBE_CONNECT_COMMAND -c port=SWD) | ||
set(STM32CUBE_GDBSERVER_ARGS --swd) | ||
|
||
# Config options for stlink | ||
# ------------------------------------------------------------- | ||
# not tested | ||
|
||
set(STLINK_UPLOAD_ENABLED FALSE) | ||
set(STLINK_LOAD_ADDRESS 0x8000000) | ||
set(STLINK_ARGS --connect-under-reset) |