1
0

10 Commits

Author SHA1 Message Date
Jesse Vincent
2997644d22
astyle 2019-12-05 12:04:13 -08:00
Florian Fleissner
fd1e397a3e
Removed inaccessible members
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>
2019-12-05 12:04:11 -08:00
Florian Fleissner
fb9b1bdff9
Virtual EEPROM implementation moved over to virtual device
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>
2019-12-05 12:03:29 -08:00
Florian Fleissner
638306d7b3
Removed unused virtual/cores/mcu/atmega32u4.h
This file was introduced during an earlier stage of the
work on implementing a general virtual hardware. After
Kaleidoscope's device API redesign it is no more required.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:01:11 -08:00
Florian Fleissner
cf878783ad
Turned the virtual architectures virtual core to an arduino core
This makes the build much simpler as the FQBN
can now e.g. be given as keyboardio:virtual:model01
and the build process will automatically find the
virtual arduino core in virtual/cores/arduino

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:00:43 -08:00
Jesse Vincent
8fe8470067
Blindly pull all plugins up to current 2019-12-05 11:13:27 -08:00
Florian Fleissner
2acc10f5d6 Restructured the virtual hardware
Some parts were moved over from Kaleidoscope-Hardware-Virtual.
The virtual hardware is now a drop in for the real
pluggable USB interface.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:30:33 -07:00
Florian Fleissner
bfe2fc9d3e Added a weak callback for command line parsing
Consumer code can access the command line via
an additional callback of the virtual hardware.
This makes it possible to access the name of
the executable that is currently executed.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:30:25 -07:00
Florian Fleissner
61ac4a1586 Added optional execution of a testing function.
Through a command line parameter, the virtual
firmware executable can be instructed to execute
a testing function instead of processing
stdin/stdout I/O.

This can be used to attach an external
testing interface.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:29:57 -07:00
Florian Fleissner
6e5eee72bd Renamed hardward x86 -> virtual
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:29:38 -07:00