Closed cgrs closed 1 year ago
sorry for the late reply, and thank you for the fix!
I've been meaning to go over all of my builds for a long while now, clean up the files and fix any issues, but never got around to doing it; hopefully in the near future.
I already removed the default folder in rules. mk I still have a problem when compiling as follow
[r4ph@DESKTOP-H1TUS21 qmk_firmware]$ qmk compile -kb handwired/void9 -km default Ψ Compiling keymap with make --jobs=1 handwired/void9:default
QMK Firmware 0.11.69 ☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 Making handwired/void9 with keymap default
☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9
BOOTMAGIC_ENABLE=lite [ERRORS]
is not a valid type of magic [ERRORS]
builddefs/common_features.mk:558: Invalid BOOTMAGIC_ENABLE. Stop. Make finished with errors make: [Makefile:413: handwired/void9:default] Error 1
could you also change BOOTMAGIC_ENABLE = lite
to BOOTMAGIC_ENABLE = yes
, in rules.mk?
I haven't . so I change it to BOOTMAGIC_ENABLE = yes in rules.mk
Ψ Compiling keymap with make --jobs=1 handwired/void9:default
QMK Firmware 0.11.69 ☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 Making handwired/void9 with keymap default
☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 avr-gcc.exe (GCC) 8.4.0 Copyright (C) 2018 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_handwired_void9/src/info_config.h [WARNINGS] | ☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 |
---|
Generating: .build/obj_handwired_void9/src/default_keyboard.h [WARNINGS] | ☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 |
---|
Generating: .build/obj_handwired_void9/src/layouts.h [WARNINGS] | ☒ handwired/void9: Number of keys for LAYOUT_ortho_3x3 does not match! info.json specifies 30 keys, C macro specifies 9 |
---|
Compiling: keyboards/handwired/void9/void9.c [OK] Compiling: keyboards/handwired/void9/keymaps/default/keymap.c [OK] Compiling: quantum/quantum.c [OK] Compiling: quantum/send_string.c [OK] Compiling: quantum/bitwise.c [OK] Compiling: quantum/led.c [OK] Compiling: quantum/action.c [OK] Compiling: quantum/action_layer.c [OK] Compiling: quantum/action_tapping.c [OK] Compiling: quantum/action_util.c [OK] Compiling: quantum/eeconfig.c [OK] Compiling: quantum/keyboard.c [OK] Compiling: quantum/keymap_common.c [OK] Compiling: quantum/keycode_config.c [OK] Compiling: quantum/sync_timer.c [OK] Compiling: quantum/logging/debug.c [OK] Compiling: quantum/logging/sendchar.c [OK] Compiling: quantum/bootmagic/bootmagic_lite.c [OK] Compiling: quantum/bootmagic/magic.c [OK] Compiling: quantum/matrix_common.c [OK] Compiling: quantum/matrix.c [OK] Compiling: quantum/debounce/sym_defer_g.c [OK] Compiling: quantum/main.c [OK] Compiling: quantum/process_keycode/process_magic.c [OK] Compiling: quantum/process_keycode/process_grave_esc.c [OK] Compiling: quantum/process_keycode/process_space_cadet.c [OK] Assembling: platforms/avr/xprintf.S [OK] Compiling: platforms/avr/printf.c [OK] Compiling: tmk_core/protocol/host.c [OK] Compiling: tmk_core/protocol/report.c [OK] Compiling: tmk_core/protocol/usb_device_state.c [OK] Compiling: tmk_core/protocol/usb_util.c [OK] Compiling: platforms/suspend.c [OK] Compiling: platforms/avr/platform.c [OK] Compiling: platforms/avr/suspend.c [OK] Compiling: platforms/avr/timer.c [OK] Compiling: platforms/avr/bootloaders/caterina.c [OK] Compiling: tmk_core/protocol/lufa/lufa.c [OK] Compiling: tmk_core/protocol/usb_descriptor.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/ConfigDescriptors.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/DeviceStandardReq.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/Events.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/HostStandardReq.c [OK] Compiling: lib/lufa/LUFA/Drivers/USB/Core/USBTask.c [OK] Compiling: tmk_core/protocol/lufa/usb_util.c [OK] Linking: .build/handwired_void9_default.elf [OK] Creating load file for flashing: .build/handwired_void9_default.hex [OK] Copying handwired_void9_default.hex to qmk_firmware folder [OK] Checking file size of handwired_void9_default.hex [OK]
it ist done ?
I check .build folder and I found this .
it should be ok?
I check .build folder and I found this .
it should be ok?
yes. looks like it's all fine, flash the .hex with qmk toolbox
Ok . Thank you very much for your help.
I really appreciate it.
it is compatible with Via right ? with uploading json file ?
recompile the firmware with the via_test
keymap if you want to use VIA Configurator
Ok thanks .. I will try it. ..
avrdude.exe -p atmega32u4 -c avr109 -U flash:w:"H:\Scorpion\Project\3Dprinting\T3D\Mpad\QMK\qmk_firmware.build\handwired_void9_via_test.hex":i -P COM18
Connecting to programmer: . Found programmer: Id = "CATERIN"; type = S Software Version = 1.0; No Hardware Version given. Programmer supports auto addr increment. Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices: Device code: 0x44
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude.exe: Device signature = 0x1e9587 (probably m32u4) avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude.exe: erasing chip avrdude.exe: reading input file "H:\Scorpion\Project\3Dprinting\T3D\Mpad\QMK\qmk_firmware.build\handwired_void9_via_test.hex" avrdude.exe: writing flash (22428 bytes):
Writing | ################################################## | 100% 1.76s
avrdude.exe: 22428 bytes of flash written avrdude.exe: verifying flash memory against H:\Scorpion\Project\3Dprinting\T3D\Mpad\QMK\qmk_firmware.build\handwired_void9_via_test.hex: avrdude.exe: load data flash data from input file H:\Scorpion\Project\3Dprinting\T3D\Mpad\QMK\qmk_firmware.build\handwired_void9_via_test.hex: avrdude.exe: input file H:\Scorpion\Project\3Dprinting\T3D\Mpad\QMK\qmk_firmware.build\handwired_void9_via_test.hex contains 22428 bytes avrdude.exe: reading on-chip flash data:
Reading | ################################################## | 100% 0.19s
avrdude.exe: verifying ... avrdude.exe: 22428 bytes of flash verified
avrdude.exe: safemode: Fuses OK (E:CB, H:D8, L:FF)
avrdude.exe done. Thank you.
Flash complete HID console connected: Victor Lucachi VOID9 (F055:3534:0001) Caterina device disconnected (usbser): Arduino LLC (www.arduino.cc) Arduino Leonardo bootloader (COM18) (2341:0036:0001) [COM18] HID console disconnected: Victor Lucachi VOID9 (F055:3534:0001)
but when I connect it to via it doesn't detected. Did I make mistake ?
the macropad does not have official VIA support; you have to download this file and manually load it into the Configurator.
Enable the Design tab first, from VIA Settings:
Then load the JSON definitions for the macropad:
I already upload the design json file .. still doestn't detected.
Alright, give me a couple of minutes, I'll do a clean build and test it on my own macropads.
It seems no HID consoles ..detected , when plugged in.
I check on qmk toolbox status at the bottom.
I can confirm that it wasnt being detected for me either. I made some changes and now the macropad is detected by VIA.
Update your copy of the repository and build the fw again, it should work after.
ok Thanks .. I will try to update it . I will inform you again .
now I have problem with qmk toolbox, the com port is not detected. I have reset it several times.. until bootloader com port is out. but the qmk toolbox doesn't detect it .
the auto flash doesn't work either .
plug in the macropad, compile and flash the firmware through qmk msys by using the following command: qmk flash -kb handwired/void9 -km via_test
. it will prompt you to reset the controller; when that happens bridge the reset and ground pins only once.
Yayyy.. finally it works.. great!
Fyi I haven't built fully yet .. the macropad, it's just the case , and upload the board.
Now it's time for soldering ... the switch ..and diode..
Thanks alot for your support Victor. I will show you when it's done.
Awesome! have fun with the rest of the build and sorry for the headache.
Currently having the same issue. no matter what I try I cannot get the configurator [QMK MSYS] to compile the Hexfile.
Would you be able to share your hex file, so I can flash it to My void9
Edit: after trying it on a different device I was able to Compile a Hex file. did get some errors, so will test in a few days if I can get it to work
Edit 2: the keyboard works perfectly. Instead of VIA I use VIAL. which auto-detects the keyboard when unplugging and plugging it in
The QMK folder of your fork no longer contains the VIA files.
hey. I did push some changes to my QMK fork, but not sure I follow, what VIA files are you referring to?
I mean the VIA_test Keymap. its no longer in the keymaps folder
https://github.com/victorlucachi/qmk_firmware/tree/dev_void/keyboards/handwired/void9/keymaps
not an issue, default keymap is via enabled, I'm trying to remove clutter and keep consistency across all macropads and keyboards files.
OK.
With some trying I was able to get a "working" vial "fork" for the "VOID9"
https://github.com/darknessblade/QMK_VIAL_VOID9
Which makes remapping a whole lot easier, than having to "side"-load it into VIA/VIAL every time with a restart of your PC. I have nearly all features enabled myself.
OK.
With some trying I was able to get a "working" vial "fork" for the "VOID9"
https://github.com/darknessblade/QMK_VIAL_VOID9
Which makes remapping a whole lot easier, than having to "side"-load it into VIA/VIAL every time with a restart of your PC. I have nearly all features enabled myself.
Awesome! I have a fork of Vial too, I dont mention it much, mostly because I added support for my projects sometime last year but I somehow forgot about it. But I agree, it does make things a lot easier than VIA.
Your reply prompted me to take a look at it again, and after merging the recent changes the VOID9 compiles and flashes without a hitch, the only issue being the firmware size; I have to disable a number of features in order for the fw to fit the good ol Pro Micro.
I have a question though: does Vial lag for a couple of seconds for you too once you start it up/connect the macropad? I dont remember it being like that in the past, not sure if it's something on my end or just a common thing.
Nice, I love the look of the encoder support of VIAL.
What I wonder is if you could use multiple encoders to control volume of independent apps either trough the volume mixer or eartrumpet https://eartrumpet.app/
Would make for a fun encoder-pad with 6-9 encoders.
This is one of the things I plan on making down the line
For the storage space, it might be due the encoders taking up quite a lot of space.
for my void9 I have almost everything enabled [useless stuff like grave-escape and NKRO, are not needed, as its only 9 buttons, and pressing 6 at once is rare, albeit NON-existent]
On my void16 I have everything enabled [even the near useless stuff], as I am using a RP2040 which has more storage space.
Hello, I have tried to compile, to have a firmware compatible with via, and I have not been successful. Could someone share their .hex, so I can complete my project?
Hello, I have tried to compile, to have a firmware compatible with via, and I have not been successful. Could someone share their .hex, so I can complete my project?
hey. did the compiler error out? could you post the output?
edit: handwired_void9_vial.zip here's the vial .hex file. you can configure the macropad here, make sure to use a compatible browser.
As I am using VIAL, the issue is long since resolved. I also prefer VIAL over VIA
Hello, I have tried to compile, to have a firmware compatible with via, and I have not been successful. Could someone share their .hex, so I can complete my project?
hey. did the compiler error out? could you post the output?
edit: here's the vial .hex file. you can configure the macropad here, make sure to use a compatible browser.
I'll try it with the .hex you share. I share mistakes, I hope you can help me, thanks.
Hello, I have tried to compile, to have a firmware compatible with via, and I have not been successful. Could someone share their .hex, so I can complete my project?
hey. did the compiler error out? could you post the output? edit: here's the vial .hex file. you can configure the macropad here, make sure to use a compatible browser.
I'll try it with the .hex you share. I share mistakes, I hope you can help me, thanks.
the .hex file that I linked in my previous response should work both with the via app (you will still have to load the json definitions file) and with vial (plug and play, no definitions required).
did you edit the keymap file at all before attempting to compile? both forks for the VOID9 compile successfully on my end.
Hello, I have tried to compile, to have a firmware compatible with via, and I have not been successful. Could someone share their .hex, so I can complete my project?
hey. did the compiler error out? could you post the output? edit: here's the vial .hex file. you can configure the macropad here, make sure to use a compatible browser.
I'll try it with the .hex you share. I share mistakes, I hope you can help me, thanks.
the .hex file that I linked in my previous response should work both with the via app (you will still have to load the json definitions file) and with vial (plug and play, no definitions required).
did you edit the keymap file at all before attempting to compile? both forks for the VOID9 compile successfully on my end.
Thanks, if it works, I just have a detail on the order of buttons. Could you share me the files to compile vial?
HI Victor, I just reflash the vial one with qmk toolbox. It says complete. but when I tried reconnect the Vial GUI it doesn't detected. it seems still have the previous "old" VIA firmware (still have to sideload json file)
USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device disconnected (usbccgp): (Standard USB Host Controller) USB Composite Device (F055:3534:0001) USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) Caterina device connected (usbser): Arduino LLC (www.arduino.cc) Arduino Leonardo bootloader (COM7) (2341:0036:0001) [] Attempting to flash, please don't remove device Flash complete Caterina device disconnected (usbser): Arduino LLC (www.arduino.cc) Arduino Leonardo bootloader (COM7) (2341:0036:0001) [] USB device connected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device connected (usbccgp): (Standard USB Host Controller) USB Composite Device (F055:3534:0001) USB device connected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device connected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device connected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001) USB device disconnected (usbccgp): (Standard USB Host Controller) USB Composite Device (F055:3534:0001) USB device disconnected (HidUsb): (Standard system devices) USB Input Device (F055:3534:0001)
What should I do ?
What should I do ?
edit: that console output is a pain to go through, but I don't see any mention of the firmware being flashed. enable the auto-flash feature and make sure that you double tap reset/gnd
hi Victor
I just reflash the second times. and it works now.. but the colum is mixed with the middle one.. have to rethinkering to modif the layout or the pinout in coding... .. thanks for the response.
hi Victor
I just reflash the second times. and it works now.. but the colum is mixed with the middle one.. have to rethinkering to modif the layout or the pinout in coding... .. thanks for the response.
yes. I apologize for that, I made a couple of changes in the firmware and the wiring matrix, which are mentioned in the readme. you are using the old pinout, that's why the columns are not in the correct order, give me a couple of minutes and I'll reply with a different .hex file
edit: I've attached the .hex for the old pinout here: handwired_void9_vial_old_pinout.zip please let me know if it works.
Perfect ! .. Thanks Victor .. you're the best.
awesome, glad it works!
hi Victor I just reflash the second times. and it works now.. but the colum is mixed with the middle one.. have to rethinkering to modif the layout or the pinout in coding... .. thanks for the response.
yes. I apologize for that, I made a couple of changes in the firmware and the wiring matrix, which are mentioned in the readme. you are using the old pinout, that's why the columns are not in the correct order, give me a couple of minutes and I'll reply with a different .hex file
edit: I've attached the .hex for the old pinout here: handwired_void9_vial_old_pinout.zip please let me know if it works.
Thank you, you are the best, I had the same problem.
When using your QMK fork in order to support this macropad, QMK does not recognize the folder of the keyboard firmware with the following error:
I've found the issue is in the
DEFAULT_FOLDER
directive in therules.mk
file, which somehow messes with the QMK compilation process:Once removed, the firmware compiles just as fine (with some warnings).