Model01-Firmware
Model01-Firmware copied to clipboard
Relationship with kaleidoscope repo is confusing
Context: I need to make an update to my Model01 firmware (after forking this repo a long time ago and making some changes in the layout).
I'm having trouble understanding the relationship between this repo and Kaleidoscope. In particular, I found https://github.com/keyboardio/Kaleidoscope/tree/master/examples/Devices/Keyboardio/Model01, which seems to be Model01 firmware too, but the .ino
files are significantly different. Which one should I use? I'm fine with starting from scratch and re-doing my layout on top of current default firmware, but I'd like to know what exactly should I use as a starting point. Currently I'm quite confused.
This repository is the official default firmware for the Keyboardio Model01. The one in the Kaleidoscope is merely a basic example.
I'd suggest continuing to use this repo as the base of your own modifications.
wow, that was fast!
Okay. I suggest adding some note, perhaps a short README, to the Kaleidoscope example to make this clearer. BTW, I think that part of my confusion stemmed from the fact that this repo readme instructs users to install & configure arduino using these instructions from kaleidoscope: https://kaleidoscope.readthedocs.io/en/latest/setup_toolchain.html, and it's not fully clear which part is the common setup and which corresponds to using GUI. I wish the instructions were clearer.
PS I've read your blog, good stuff :)
PPS anyway, thank you! :)
I had the same confusion, and actually used the example version from kaleidoscope, which caused me problems (as it is limited, e.g. no Crysalis support), which @algernon helped me overcome in chat (thanks again!) I would preffer if the kaleidoscope example would be removed alltogether, and just be replaced with a link (or inclusion of this repo as a git submodule).
I'd rather go the other way around: update the example in Kaleidoscope, and declare that the default firmware. We do that for the Keyboardio Atreus and the Model 100, we could do it for the Model01 too.
The reason it wasn't done before is - I believe - historical: with a separate repository, it was easier to iterate on both independently. We no longer need to do that, so may aswell turn this repo into a link.
What do you think, @obra?
Indeed, I think we probably ought to be moving the default firmware into the Kaleidoscope repo. We may want to think about having it live in th examples dir for the hardware plugin if the IDE will detect that.
On Tue, May 24, 2022 at 2:23 PM Gergely Nagy @.***> wrote:
I'd rather go the other way around: update the example in Kaleidoscope, and declare that the default firmware. We do that for the Keyboardio Atreus and the Model 100, we could do it for the Model01 too.
The reason it wasn't done before is - I believe - historical: with a separate repository, it was easier to iterate on both independently. We no longer need to do that, so may aswell turn this repo into a link.
What do you think, @obra https://github.com/obra?
— Reply to this email directly, view it on GitHub https://github.com/keyboardio/Model01-Firmware/issues/112#issuecomment-1136444986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALC2DPLAWGG4XCY42QHWTVLVCEHANCNFSM5PBBT2HA . You are receiving this because you were mentioned.Message ID: @.***>
I don't think the IDE detects examples in any other place than the top-level examples
dir. We could still have it in the hw plugin dir, and just copy it over during package build, like we juggle the plugins/
dir around too.
it should detect the examples for any arduino library, which our plugins are.
On May 24, 2022, at 3:02 PM, Gergely Nagy @.***> wrote:
I don't think the IDE detects examples in any other place than the top-level examples dir. We could still have it in the hw plugin dir, and just copy it over during package build, like we juggle the plugins/ dir around too.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Good point. I'll give it a try.
it should detect the examples for any arduino library, which our plugins are.
I just tried this, and indeed, it works, so we can move the factory firmware files to the plugin dirs.