When building the virtual boards, we want to have the base core as
`keyboardio:arduino`, instead of `arduino:arduino`, because we provide the base
ourselves. To this end, instead of symlinking `avr/boards.txt` and
`virtual/boards.txt`, generate the latter from the former.
Once we have other architectures, such as SAMD, we can concat all the boards.txt
files and do the same `base.core` replacements.
This is a pre-requisite for keyboardio/Kaleidoscope#851.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
The Keyboardio Atreus does not have any LEDs, and only needs 25ma to operate.
Lets set `USB_CONFIG_POWER` to that, so we draw less power, and as a
consequence, work better with mobile devices.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
Apparently, having the hardware directory within the current directory does not
work all that well now, and Arduino fails to find it. Moving it one level
higher, outside of the cloned sources, and all is well.
This is the major part of the fix for #27.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
A linker .map file will be created as an additional build artifact.
This map file can be used for debugging symbol issues or for
firmware post-processing.
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
This change adds a build recipe that pastes a header and footer file
to the preprocessed sketch file.
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
Those members cause compiler warnings when using recent
compilers. The members are unused and can be safely removed as
they are inaccessible to derived classes.
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
Only the virtual device knows about the size of its
EEPROM storage. Including device headers in the virtual
core is not intended (and technical not possible).
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>