forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 27
Upload method support for Nucleo WL55JC, fix common tickers test for STM32 #522
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,46 @@ | ||
| # Mbed OS upload method configuration file for target NUCLEO_WL55JC. | ||
| # To change any of these parameters from their default values, set them in your build script between where you | ||
| # include mbed_toolchain_setup and where you add mbed os as a subdirectory. | ||
|
|
||
| # Notes: | ||
| # 1. Using this device with PyOCD requires installing a pack: | ||
| # $ pyocd pack install stm32wl55jcix | ||
| # However, in my testing, PyOCD appeared to flash successfully but the code does not run correctly. | ||
|
|
||
|
|
||
| # 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 PYOCD | ||
| # ------------------------------------------------------------- | ||
|
|
||
| #set(PYOCD_UPLOAD_ENABLED TRUE) | ||
| #set(PYOCD_TARGET_NAME stm32wl55jcix) | ||
| #set(PYOCD_CLOCK_SPEED 4000k) | ||
|
|
||
| # Config options for OPENOCD | ||
| # ------------------------------------------------------------- | ||
|
|
||
| set(OPENOCD_UPLOAD_ENABLED TRUE) | ||
| set(OPENOCD_CHIP_CONFIG_COMMANDS | ||
| -f ${CMAKE_CURRENT_LIST_DIR}/openocd_cfgs/st_nucleo_wlx.cfg) | ||
|
|
||
| # Config options for STM32Cube | ||
| # ------------------------------------------------------------- | ||
|
|
||
| set(STM32CUBE_UPLOAD_ENABLED TRUE) | ||
| set(STM32CUBE_CONNECT_COMMAND -c port=SWD reset=HWrst) | ||
| set(STM32CUBE_GDBSERVER_ARGS --swd) | ||
|
|
||
| # Config options for stlink | ||
| # ------------------------------------------------------------- | ||
|
|
||
| set(STLINK_UPLOAD_ENABLED TRUE) | ||
| set(STLINK_ARGS --connect-under-reset) |
This file contains hidden or 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,12 @@ | ||
| # OpenOCD config file for Nucleo WLx boards | ||
|
|
||
| adapter driver hla | ||
| hla_layout stlink | ||
| hla_device_desc "ST-LINK/V3" | ||
|
|
||
| # ST-LINK V3 0483:374e | ||
| hla_vid_pid 0x0483 0x374e | ||
|
|
||
| transport select hla_swd | ||
|
|
||
| source [find target/stm32wlx.cfg] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.