thompson-vii / kb16_rev2_vial_fw

compiled firmware for doio's kb16 rev2 (aka megalodon trip knob macropad)
66 stars 25 forks source link

Config_common.h not found when recompiling #16

Closed amecreate closed 1 year ago

amecreate commented 1 year ago

Followed this https://old.reddit.com/r/MechanicalKeyboards/comments/ya82hm/doio_kb16_megalodon_trip_knob_macroapd_has_been/izbwrvp/ to set up the file structure

Clone vial-qmk Clone https://github.com/thompson-vii/kb16_rev2_vial_fw Delete vial-qmk/keyboards/doio/kb16 Copy kb16 from the second clone to -> vial-qm/keyboards/doio/

Run make command and got the error:

./keyboards/doio/kb16/rev2/config.h:20:10: fatal error: config_common.h: No such file or directory 20 | #include "config_common.h" | ^~~~~ compilation terminated.

cd vial-qmk
make doio/kb16/rev2:vial 
☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
Making doio/kb16/rev2 with keymap vial

☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
Generating: .build/obj_doio_kb16_rev2_vial/src/info_deps.d                                          [OK]
☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.07) 10.3.1 20210621 (release)
Copyright (C) 2020 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.

Generating: .build/obj_doio_kb16_rev2/src/info_config.h                                             [WARNINGS]
 | 
 | ☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
 | 
Generating: .build/obj_doio_kb16_rev2/src/default_keyboard.c                                        [WARNINGS]
 | 
 | ☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
 | 
Generating: .build/obj_doio_kb16_rev2/src/default_keyboard.h                                        [WARNINGS]
 | 
 | ☒ doio/kb16/rev2: RGB_DI_PIN in config.h is no longer a valid option and should be replaced with WS2812_DI_PIN or APA102_DI_PIN
 | 
Compiling: keyboards/doio/kb16/lib/layer_status/layer_status.c                                     In file included from <command-line>:
./keyboards/doio/kb16/rev2/config.h:20:10: fatal error: config_common.h: No such file or directory
   20 | #include "config_common.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
 [ERRORS]
 | 
 | 
 | 
make[1]: *** [.build/obj_doio_kb16_rev2_vial/./lib/layer_status/layer_status.o] Error 1
make: *** [doio/kb16/rev2:vial] Error 1
Make finished with errors
jweezy56 commented 1 year ago

Take my comments with a grain of salt since I have no coding experience and have been troubleshooting and still have been unsuccessful with updating my macropad.

I ran into an issue where QMK was not finding config_common.h (https://github.com/thompson-vii/kb16_rev2_vial_fw/issues/16 ). I couldn't figure out what it was used for so I just deleted line 20 (#include "configcommon.h") in config.h ¯(ツ)_/¯.

Now I'm stuck again but thought I'd document my progress...

amecreate commented 1 year ago

Seems to be fixed by https://github.com/thompson-vii/kb16_rev2_vial_fw/issues/21#issuecomment-1767707775