Skip to content
Discussion options

You must be logged in to vote

Currently there is no upload method config file for NUCLEO_F401RE. You may create a 'NUCLEO_F401RE.cmake' inside the 'mbed-os\targets\upload_method_cfg' folder. This file should be very similar to the existing 'NUCLEO_F446RE.cmake', except for the different chip model name.

Or you can enable upload methods in your app's CMakeLists.txt:

set(MBED_UPLOAD_ENABLED TRUE)
set(PYOCD_UPLOAD_ENABLED TRUE)
set(PYOCD_TARGET_NAME STM32F401RETx)
set(PYOCD_CLOCK_SPEED 4000k)
set(STM32CUBE_UPLOAD_ENABLED TRUE)
if ("${STM32CUBE_CONNECT_COMMAND}" STREQUAL "")
  set(STM32CUBE_CONNECT_COMMAND -c port=SWD mode=UR)
  set(STM32CUBE_GDBSERVER_ARGS -d -k)
endif()

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CubikingChill
Comment options

@wdx04
Comment options

@JohnK1987
Comment options

Answer selected by JohnK1987
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants