-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
enhancementNew feature or requestNew feature or requesthelp wanted 🙏Extra attention is neededExtra attention is needed
Description
I'm porting some work from Roger's core which enables maple BL, rogers BL2, and HID BL2+
I have the core code sorted (easy part) to recognise the leaf magic word and magic numbers.
I'm concentrating on HID BL for this core because the v3.0 only takes up 2K of flash for F1 so is much better suited than Roger's BL.
But what I need now is to be able to set a definition within the upload part of boards.txt
Eg
- F4 I need to pass -DVECT_TAB_OFFSET=0x4000 -DHIDBL_F4
- F1 I need to pass -DVECT_TAB_OFFSET=0x1000 -DHIDBL_F1
The intention is then to parse within the linker script to set things up accordingly.
Is this doable, or is there a way around it?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wanted 🙏Extra attention is neededExtra attention is needed