
This commit re-enables virtual builds with the Model01 keyboard. The commit also prepares the infrastructure to generate virtual builds with all other keyboards currently supported. Please note that this commit does not enable virtual builds of the stock firmware right away. This is because currently the stock firmware uses the Model01-Testmode which is not compatible with virtual builds. The stock firmware could be made ready for virtual builds by replacing the Model01-Testmode with the more general HardwareTestMode. In general for those features/plugins that do not support virtual builds, this commit adds the generation of compiler error messages that inform about what parts of the sketch need to be changed to allow virtual builds. To allow the stock firmware to build for the virtual core, just remove the Model01-TestMode, then run the build on a unixoid system as follows. cd ..../libraries/Model01-Firmware ARCH=x86 make With this change, virtual builds are furtheron triggered via setting ARCH=x86. The board that firmware is meant to be build for is defined through the BOARD variable, just like with non-virtual builds. Please note that it is currently not yet possible to run virtual builds for other keyboards than the Model01. This as because only for the Model01 specification files Model01_Spec.h/cpp have been generated. To enable virtual builds for all keyboards, specification files need to be factored out for all keyboards apart from Model01. After all keyboards will have been made available to virtual builds through future changes, it will be possible to build the whole examples set as cd ..../libraries/Kaleidoscope ARCH=x86 BOARD_HARDWARE_PATH=$PWD/../../../.. make smoke-examples Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
Arduino Core for the Keyboardio Model 01
This repository contains a number of git submodules.
As an end-user, you can recursively check out all the referenced modules:
% make checkout-submodules
As a maintainer, you can pull all the referenced modules to the latest upstream tips of the modules' canonical branches:
% make maintainer-update-submodules
Do note that in order to commit the changes to the submodules of a given repository, you'll need to commit and push the changes in that repository
To add a submodule, use a commandline like this:
% git submodule add https://github.com/Keyboardio/Kaleidoscope-Plugin/ libraries/Kaleidoscope-Plugin
Description
Languages
C
57.2%
C++
41.6%
Makefile
1.2%