1
0

156 Commits

Author SHA1 Message Date
Jesse Vincent
35a230e18d
Merge pull request #26 from CapeLeidokos/build_flags
Moved gcc extra flags from kaleidoscope-builder to platform.txt
2020-01-20 16:58:07 -08:00
Jesse Vincent
ce1a9230db
Merge pull request #28 from keyboardio/travis/ci-fixes
Travis CI fixes
2020-01-20 13:01:35 -08:00
Gergely Nagy
5062332358 Update build-tools to latest master
Together with the previous commit, this fixes #27.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
2020-01-20 15:11:58 +01:00
Gergely Nagy
b60fab51bb travis: Move the hardware directory one level higher
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>
2020-01-20 15:11:41 +01:00
Jesse Vincent
0dd207c81a
Merge pull request #25 from CapeLeidokos/pr_map_file
Added map file creation
2020-01-17 10:10:19 -08:00
Jesse Vincent
aa1974cd6f
Blindly pull all plugins up to current 2020-01-16 21:56:36 -08:00
Jesse Vincent
ac77badee7
fix repo name for travis 2020-01-16 21:53:40 -08:00
Florian Fleissner
86833fae9a Blindly pull all plugins up to current 2020-01-16 16:24:10 +01:00
Florian Fleissner
322ea583de Moved gcc extra flags from kaleidoscope-builder to platform.txt
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2020-01-16 16:11:25 +01:00
Florian Fleissner
8879b38ce1 Added map file creation
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>
2020-01-16 15:52:12 +01:00
Jesse Vincent
3dc5e4ddd6
Blindly pull all plugins up to current 2020-01-06 21:26:21 -08:00
Jesse Vincent
340de890e8
Blindly pull all plugins up to current 2019-12-27 09:18:43 -08:00
Florian Fleissner
55065cec59 Blindly pull all plugins up to current 2019-12-20 08:42:49 +02:00
Jesse Vincent
3e3743904b Blindly pull all plugins up to current 2019-12-14 09:59:49 +08:00
Jesse Vincent
d2ba1f6359 Blindly pull all plugins up to current 2019-12-13 01:39:31 -08:00
Gergely Nagy
2c86549788
Blindly pull all plugins up to current 2019-12-13 04:23:51 +01:00
Gergely Nagy
d2efce6fd6
Merge pull request #23 from CapeLeidokos/pr_sketch_header_footer
Adds build recipe to paste header/footer to sketch
2019-12-12 17:00:14 +01:00
Florian Fleissner
7201f5a57d Added missing ctag fix to virtual/platform.txt
That part is just copied over from avr/platform.txt

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-12 13:58:05 +01:00
Florian Fleissner
7708c601a9 Adds build recipe to paste header/footer to sketch
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>
2019-12-12 13:57:47 +01:00
Florian Fleissner
6a5dbf1029 Blindly pull all plugins up to current 2019-12-06 14:01:02 +01:00
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
e66dd18abc
Removed obsolete submodule Kaleidoscope-Hardware-Virtual
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:03:31 -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
Florian Fleissner
4e1e0693e0
Fixed compiler command line for virtual builds
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:00:42 -08:00
Florian Fleissner
3a666975e7
Removed superfluous -DKALEIDOSCOPE_HARDWARE_SPEC_H
...from the compiler command line

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:00:40 -08:00
Florian Fleissner
9949308aa9
virtual arch now shares boards.txt with avr arch
Generated a symbolic link from virtual/boards.txt to avr/boards.txt

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-12-05 12:00:39 -08:00
Jesse Vincent
b7e68cf6f9
Blindly pull all plugins up to current 2019-12-05 11:21:56 -08:00
Jesse Vincent
8fe8470067
Blindly pull all plugins up to current 2019-12-05 11:13:27 -08:00
Florian Fleissner
da4c3e1b31 Blindly pull all plugins up to current 2019-12-05 16:44:00 +01:00
Jesse Vincent
dfd903f0be
Blindly pull all plugins up to current 2019-11-22 19:07:00 -08:00
Jesse Vincent
b318046373
Blindly pull all plugins up to current 2019-11-20 17:09:50 -08:00
Jesse Vincent
475659a6e3
Blindly pull all plugins up to current 2019-09-26 15:58:00 -07:00
Jesse Vincent
33348f4ad9
Starting to clean up the bootloader for the Atreus2 2019-09-26 15:56:27 -07:00
Jesse Vincent
03788138d8
Blindly pull all plugins up to current 2019-09-25 12:50:13 -07:00
Jesse Vincent
4e91963e28
Blindly pull all plugins up to current 2019-09-17 13:10:35 -07:00
Jesse Vincent
5b9b07b881
Try to make the 'virtual' keyboards less appealing than the real ones,
to not confuse users. Also comment out all the non-model-01s for the
moment
2019-08-20 14:16:53 -07:00
Jesse Vincent
d21f5f5cfb
Rename the "Keyboardio Keyboards" section to "Kaleidoscope Keyboards" 2019-08-20 14:04:48 -07:00
Jesse Vincent
e4466abe92
Rename the 'virtual' keyboards section 2019-08-20 14:03:27 -07:00
Jesse Vincent
f2ae0e7cf8
Blindly pull all plugins up to current 2019-08-19 21:58:25 -07:00
Jesse Vincent
b354e5c67b Blindly pull all plugins up to current 2019-07-29 20:47:03 -07:00
Jesse Vincent
e204a8c6a9 Blindly pull all plugins up to current 2019-07-07 15:03:05 -07:00
Florian Fleissner
f748470608 Protected virtual build system against link order problems
This considers improvements that already had been considered for the avr
architecture.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:31:35 -07:00
Florian Fleissner
3fd900f7d6 Renamed ARDUINO_VIRUTAL to KALEIDOSCOPE_VIRTUAL_BUILD
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:31:10 -07:00
Florian Fleissner
8a8e5512bc Removed flag -Os for virtual builds
The virtual hardware is among other purposses meant
to be used for debugging firmware issues.

The flag -Os optimizes out specific information that makes
proper debugging difficult in some situations.

Also, the virtual hardware does not come with restrictions
in terms of PROGMEM. That's why space efficiency is not needed there.

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:30:41 -07: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
72b0f91c6c Added directory preservation dummy files to virtual variant dirs
Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
2019-07-07 14:30:17 -07:00