Skip to content
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

Check upload_offset address for Keyboardio board, adapt Python code or board definition as needed #16

Open
maxgerhardt opened this issue Sep 17, 2021 · 0 comments
Assignees

Comments

@maxgerhardt
Copy link
Member

maxgerhardt commented Sep 17, 2021

Depends on CommunityGD32Cores/ArduinoCore-GD32#42 to first verify how it can work in the Arduino IDE.

For DFU uploads, the Arduino IDE board definition uses an offset of 0x2000, however, the PlatformIO board definition doesn't have that. It would try to overwrite its own bootloader.

On the other side, when we add the upload.offset_address attribute in the board info, this will also apply for the ST-Link upload. This may be wanted, and thus the flashed firmware will have the bootloader executing before the firmware. This may be wanted, we just need to figure out what we want.

DFU upload should work in all cases though if the DFU bootlaoder is present. For that we at least need the offset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant