nullbitsco / tidbit Goto Github PK
View Code? Open in Web Editor NEWExtra QMK firmware files for TIDBIT keyboard
Extra QMK firmware files for TIDBIT keyboard
When attempting to compile the firmware for the OLED map QMK MSYS gives me the following error and I'm not sure how to go about fixing it
Compiling: keyboards/tidbit/keymaps/oled/keymap.c keyboards/tidbit/keymaps/oled/keymap.c:132:6: error: conflicting types for 'encoder_update_user' void encoder_update_user(uint8_t index, bool clockwise) { ^~~~~~~~~~~~~~~~~~~ In file included from quantum/quantum.h:204, from keyboards/tidbit/tidbit.h:3, from keyboards/tidbit/keymaps/oled/keymap.c:17: quantum/encoder.h:26:6: note: previous declaration of 'encoder_update_user' was here bool encoder_update_user(uint8_t index, bool clockwise);
I'm running into an error that seems to be related to recent changes made to the QMK repository. Error log is as follows;
QMK Firmware 0.13.19
Making nullbitsco/tidbit with keymap default
avr-gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling: drivers/avr/i2c_master.c [OK]
Compiling: keyboards/nullbitsco/tidbit/bitc_led.c [OK]
Compiling: keyboards/nullbitsco/tidbit/remote_kb.c [OK]
Compiling: keyboards/nullbitsco/tidbit/tidbit.c [OK]
Compiling: keyboards/nullbitsco/tidbit/keymaps/default/keymap.c keyboards/nullbitsco/tidbit/keymaps/default/keymap.c:85:6: error: conflicting types for ‘encoder_update_user’
void encoder_update_user(uint8_t index, bool clockwise) {
^
In file included from quantum/quantum.h:204:0,
from keyboards/nullbitsco/tidbit/tidbit.h:3,
from keyboards/nullbitsco/tidbit/keymaps/default/keymap.c:17:
quantum/encoder.h:26:6: note: previous declaration of ‘encoder_update_user’ was here
bool encoder_update_user(uint8_t index, bool clockwise);
^
[ERRORS]
|
|
|
make[1]: *** [tmk_core/rules.mk:436: .build/obj_nullbitsco_tidbit_default/keyboards/nullbitsco/tidbit/keymaps/default/keymap.o] Error 1
Make finished with errors
make: *** [Makefile:530: nullbitsco/tidbit:default] Error 1
If you check out the commit history of the encoder.h
file you can see that encoder_update_user
was switched from returning a void
to now returning a bool
.
https://github.com/qmk/qmk_firmware/commits/master/quantum/encoder.h
You can also see this reflected in the change log found here https://github.com/qmk/qmk_firmware/pull/13034/files#diff-af2d3d9adab6194cb4cd0b7c61426f10d1e36ade107af2f52d09539fefafdbf1R75
These changes were implemented in the git tag 0.12.52, rolling all the way back to 0.12.51 allows the firmware to build successfully.
If you are following along at home; instead of git clone
ing the qmk_firmware repo you can download the 0.12.51 tagged release from this github page and build/flash as normal.
There isn't anything at (0,1), which can cause confusing when building and testing for the first time.
I attempted to load the default keymap and the encoder in position 1, top row, appears to be inverted (i.e. clockwise decreases volume, cc increases).
Now that TIDBIT is officially merged, edit and change this to be "TIDBIT extras"
OLED driver uses a different #define now: add "OLED_ENABLE = yes" and "OLED_DRIVER = SSD1306" to rules.mk.
#Several keymaps spam the numlock key so that the numpad always working regardless of how numlock is set on the host. This seems to be causing some other issues. Examine a different way of accomplishing this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.