-
Notifications
You must be signed in to change notification settings - Fork 66
[STM32CubeProg] Add an offset for upload? #57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @GIPdA |
Hi @fpistm |
This offset feature should be incredibly good to protect de bootloader and upload the code in the right address. But I think the best way is adding a new parameter on the Doing that this board configuration gonna upload on the
To make that happen we need to change the
And change the
I don't know how to change the I gonna create a pull request, what do you think?! |
Fixes stm32duino#57 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Fixes stm32duino#57 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Hello
I'm using the STM32CubeProgrammer to upload, and I just had the use of an address offset, to upload code via Arduino without overwriting my custom bootloader.
I modified the upload script for my purposes, but it may be useful to add it properly as a feature/option? (and I wouldn't need to modify everything again after updates :P )
I added this to the upload script:
And to the boards.txt file:
I'm no expert in scripts or Arduino's board definitions syntax, maybe there's a better way?
I can add a pull request if desired and if the way I did it seems suited. What do you think?
Cheers,
Benjamin
The text was updated successfully, but these errors were encountered: