Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32: nucleo_g474re: reflash board successively with pyocd #23230

Merged
merged 2 commits into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion boards/arm/nucleo_g474re/board.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
board_runner_args(pyocd "--target=stm32g474retx")

# use target=stm32g474rbtx instead of stm32g474retx
# to allow board re-flashing (see PR #23230)
board_runner_args(pyocd "--target=stm32g474rbtx")
erwango marked this conversation as resolved.
Show resolved Hide resolved
erwango marked this conversation as resolved.
Show resolved Hide resolved

include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
4 changes: 2 additions & 2 deletions boards/arm/nucleo_g474re/nucleo_g474re.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ toolchain:
- zephyr
- gnuarmemb
- xtools
ram: 32
flash: 128
ram: 128
flash: 512
supported:
- arduino_gpio
- arduino_i2c
Expand Down
2 changes: 0 additions & 2 deletions soc/arm/st_stm32/stm32g4/Kconfig.defconfig.stm32g474re
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
if SOC_STM32G474XX

config SOC
string
default "stm32g474xx"

config NUM_IRQS
int
default 102
Comment on lines -9 to 12
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's split this is a dedicated commit (same PR could be used).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done into 13c405dda1e2f443a592a5464120fdf04cddbf84 and 3611b5da65c826dd2d62ac3d2517f316a0670040


endif # SOC_STM32G474XX