Use Upload Offset in DFU Upload #42
Labels
Arduino IDE
Regarding things specific to the Arduino IDE
needs testing
Additional testing required
uploader
The Keyboardio board added in #39 defines one possible upload method for the board as DFU, with an flash_offset of 0x2000.
This is however not respected in the
platform.txt
DFU upload method. It is respected when building the firmware through relocating the vector table etc. See #39 (comment).ArduinoCore-GD32/platform.txt
Line 33 in 30bac5f
ArduinoCore-GD32/platform.txt
Lines 110 to 112 in 30bac5f
We need to very / fix the workings of the DFU upload methods in regards to the upload offset.
Linked to PlatformIO board definition (PR CommunityGD32Cores/platform-gd32#15) too, since DFU upload is also done there but without an upload offset (since the board definition file doesn't have one).
The text was updated successfully, but these errors were encountered: