keyboardio / Chrysalis-Firmware-Bundle

Firmware sketches for boards supported by Chrysalis
GNU General Public License v2.0
32 stars 25 forks source link

Model100: Add the OneShotConfig to our plugin list #33

Closed algernon closed 1 year ago

cxw42 commented 1 year ago

I just got my Model100 yesterday and get compile errors that OneShotConfig is not declared:

/home/cxw/proj/Chrysalis-Firmware-Bundle/Keyboardio/Model100/Model100.ino: In static member function 'static kaleidoscope::EventHandlerResult kaleidoscope_internal::EventDispatcher::apply(Args__&& ...)':
Model100:576:3: error: 'OneShotConfig' was not declared in this scope; did you mean 'EscapeOneShotConfig'?
  576 |   OneShotConfig,
      |   ^~~~~~~~~~~~~

Can this repo be used standalone, or does it have to be a submodule of something else? E.g., I recall there was a relationship between the Model01-Firmware and Kaleidoscope repos. Thanks!

Edit If I check out 50a7fbb, it builds fine. I'm enjoying the feel so far and am looking forward to getting my customizations ported from the Model01 to the Model100! Thanks!

algernon commented 1 year ago

This repo needs Kaleidoscope, and a recent enough version that has the OneShotConfig plugin.

I think the easiest way to get everything up to date is to nuke the .kaleidoscope and .arduino directories, and run tools/bootstrap again. Unless you use your own copy of Kaleidoscope, and have used the KALEIDOSCOPE_DIR environment variable to point this repo's Makefile to it. In that case, you'll want to update that repo.