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

[STM32CubeProg] Add offset option for upload#60

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

Closed
ricaun wants to merge1 commit intostm32duino:mainfromricaun:patch-2

Conversation

@ricaun
Copy link

By issue#57 and using the@GIPdA idea.

Add an option command to offset the upload address.Ex: -o 0x5000

The already implemented parameterbuild.flash_offset can be used to upload on the 0x08005000 using the stm32CubeProg tool like this board configuration.

GenF1.menu.upload_method.serialMethod2=STM32CubeProgrammer (Serial) - BootloaderGenF1.menu.upload_method.serialMethod2.upload.protocol=1GenF1.menu.upload_method.serialMethod2.upload.options={serial.port.file} -sGenF1.menu.upload_method.serialMethod2.upload.tool=stm32CubeProgGenF1.menu.upload_method.serialMethod2.build.flash_offset=0x5000GenF1.menu.upload_method.serialMethod2.build.bootloader_flags=-DVECT_TAB_OFFSET={build.flash_offset}

It needs to change theplatform.txt on theArduino_Core_STM32 and add-o {build.flash_offset} on the upload pattern.

tools.stm32CubeProg.upload.pattern="{path}/{cmd}" {upload.protocol} "{build.path}/{build.project_name}.bin" {upload.options} -o {build.flash_offset}

This should make all the boards withbuild.flash_offset offset the upload when using thestm32CubeProg.

See yaa.

Add offset command. Ex: -o 0x2000
@fpistmfpistm self-requested a reviewApril 1, 2020 04:50
@fpistm
Copy link
Member

@ricaun
I will review this for the next release as it required more work (core update, other OS support)

@fpistmfpistm marked this pull request as draftMay 5, 2020 07:02
@fpistm
Copy link
Member

Replaced by#90

@fpistmfpistm closed thisApr 4, 2023
@fpistmfpistm added duplicateThis issue or pull request already exists and removed Duplicated labelsJul 23, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fpistmfpistmAwaiting requested review from fpistm

Assignees

No one assigned

Labels

duplicateThis issue or pull request already exists

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ricaun@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp