forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 26
Test with MAX32670, add upload method and fix ticker bug #499
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 2 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
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,41 @@ | ||
# Mbed OS upload method configuration file for target MAX32670EVKIT. | ||
# 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. For the MBED upload method to work, you may need to update the DAPLink firmware as described here: | ||
# https://github.com/analogdevicesinc/max32625pico-firmware-images | ||
# My board shipped with firmware that claimed it was an MAX32630FTHR, causing | ||
# "ERROR: The target board you compiled for is not connected to your system" | ||
# 2. MAX32670 support did not land in upstream OpenOCD until Aug 2025. As of this writing, you need to compile | ||
# it yourself from the git version (or use the OpenOCD that is distributed with the Maxim SDK). | ||
# However, this should be resolved with the release of OpenOCD 1.0, which is imminent. | ||
# 3. PyOCD does not work as of Sep 2025: | ||
# 0000691 I DAP is not accessible after reset; attempting reconnect [dap] | ||
# 0000795 E Error during board uninit: [session] | ||
# 0000805 C No ACK received [__main__] | ||
|
||
# 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 OPENOCD | ||
# ------------------------------------------------------------- | ||
|
||
set(OPENOCD_UPLOAD_ENABLED TRUE) | ||
set(OPENOCD_CHIP_CONFIG_COMMANDS | ||
-f interface/cmsis-dap.cfg | ||
-s ${CMAKE_CURRENT_LIST_DIR}/openocd_cfgs/max32xxx | ||
-f target/max32670.cfg) | ||
|
||
# Config options for PYOCD | ||
# ------------------------------------------------------------- | ||
set(PYOCD_UPLOAD_ENABLED FALSE) | ||
set(PYOCD_TARGET_NAME max32670) | ||
set(PYOCD_CLOCK_SPEED 4000k) |
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.