Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor(STM32CubeProgrammer): rework options#2323

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 2 commits intostm32duino:mainfromfpistm:Arduino_compatibility
Jun 20, 2024

Conversation

fpistm
Copy link
Member

@fpistmfpistm commentedMar 29, 2024
edited
Loading

  • refactor(STM32CubeProgrammer): rework options

Fixes#2292
This requires STM32Tools versions higher than 2.2.1.
(stm32duino/Arduino_Tools#97)

  • feat(usb): provide default vid/pid

Provided id:

  • Default USB CDC for all series with USB capabilities (0483:5740)
  • STLink VCP, only for ST manufactured boards which embed one (0483:37xx)
  • DFU for default built-in bootloader or dedicated one (0483:df11 and other)
  • Specific USB id.

Example usingboards.local.txt

# Add erase option to dfu upload method, --erase could also be usedNucleo_144.menu.upload_method.dfuMethod.upload.options=-v {upload.vid} -p {upload.pid} -e# Add dtr/rts level option to serial upload methodNucleo_144.menu.upload_method.serialMethod.upload.options=-c {serial.port.file} -d low --rts high# Change vid/pidNucleo_144.menu.pnum.NUCLEO_L496ZG-P.upload.vid=0x3840Nucleo_144.upload.pid=0x11fdGenF1.menu.upload_method.dfuMethod.upload.options=-v {upload.vid} -p {upload.pid}GenF1.menu.upload_method.serialMethod.upload.options=-c {serial.port.file} --dtr high -r low

@fpistmfpistm added enhancementNew feature or request arduino compatibility fix 🩹Bug fix labelsMar 29, 2024
@fpistmfpistm added this to the2.8.0 milestoneMar 29, 2024
@fpistmfpistmforce-pushed theArduino_compatibility branch from3fff79a to48d9defCompareMarch 30, 2024 11:18
@fpistmfpistmforce-pushed theArduino_compatibility branch from48d9def to57a6e98CompareJune 14, 2024 16:05
Provided id:  - Default USB CDC for all series with USB capabilities (0483:5740)  - STLink VCP, only for ST manufactured boards which embedd one (0483:37xx)  - DFU for default built-in bootloader or dedicated one (0483:df11 and other)  - Specific USB id.Note that vid.0/pid.0 have to be defined for each menu even if no USBsupport to have the build.vid/pid properly defined in the platform.txt.At least a FTDI is defined (ex: STLink VCP)Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixesstm32duino#2292This requires STM32Tools versions higher than 2.2.1.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistmfpistmforce-pushed theArduino_compatibility branch from57a6e98 to47bb4d8CompareJune 20, 2024 07:07
@fpistmfpistm merged commitd852c8b intostm32duino:mainJun 20, 2024
23 checks passed
@fpistmfpistm deleted the Arduino_compatibility branchJune 20, 2024 13:59
fpistm added a commit that referenced this pull requestJun 20, 2024
introduced by previous#2323.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
arduino compatibilityenhancementNew feature or requestfix 🩹Bug fix
Projects
Milestone
2.8.0
Development

Successfully merging this pull request may close these issues.

Request: setting DTR and RTS when using STM32CubeProgrammer (Serial)
1 participant
@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp