msvisser / qmk_firmware Goto Github PK
View Code? Open in Web Editor NEWThis project forked from qmk/qmk_firmware
Open-source keyboard firmware for Atmel AVR and Arm USB families
Home Page: https://qmk.fm
License: GNU General Public License v2.0
This project forked from qmk/qmk_firmware
Open-source keyboard firmware for Atmel AVR and Arm USB families
Home Page: https://qmk.fm
License: GNU General Public License v2.0
Having VIA support would be awesome - flashing keymaps is still better than needing to use the wonky Android app, but having a computer-programmable keymap would make things even easier.
I've attempted to enable VIA but there's a few things in the way, and I don't know how to debug them sadly.
EEPROM_DRIVER = transient
flag made the board not boot, but it was added for a reason: ddae0d4I've got no idea how to continue from here - adding the CONSOLE_ENABLE = yes
rule didn't show anything when the board tried to boot.
keyboard freezes (led works, no respone for any input, only back reset button helps) while connected to BT, i can connect only with legacy BT, if you try to connect with standart BT it freezes when it ask for the bt code. with usb it works fine
bt worked fine until (not 100% sure but it could be that) this commit
I tried to run the command
./keyboards/anne_pro/dfuse-pack.py -b 0x08004000:anne_pro_default.bin anne_pro_default.dfu
as shown in the README.md but got the following message:
$ ./keyboards/anne_pro/dfuse-pack.py -b 0x08004000:anne_pro_default.bin anne_pro_default.dfu
File "./keyboards/anne_pro/dfuse-pack.py", line 143
print "Address %s invalid." % address
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Address %s invalid." % address)?
Changing
print "Address %s invalid." % address
to
print("Address %s invalid." % address)
on the file appears to fix it
Force backlight to turn off when kb are idling for 30 minutes (example) on USB mode and for 3 minutes on Bluetooth mode. If user taps any key - backlight turns on.
I'm trying to get QMK on my Anne Pro 1 and getting stuck at the apply_patch.sh
stage. My build env. seems to be working, as I'm able to build other keyboards. It's my first time using QMK.
When running apply_patch.sh
, I get the following error:
demer_000@Nicolas MINGW64 /d/qmk/qmk_firmware
$ ./keyboards/anne_pro/apply_patch.sh
error: le patch a échoué : os/hal/ports/STM32/STM32L1xx/platform.mk:17
error: os/hal/ports/STM32/STM32L1xx/platform.mk : le patch ne s'applique pas
Sorry for the french commands, basically it says: match failed, and patch doesn't apply.
arm-none-eabi-gcc.exe (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Thanks
Both alts are mapped as KC_LALT so it's not possible to produce keys like ñ (ALT+n). The correct layout (tested) is:
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MT(MOD_RSFT, KC_UP),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_RALT, LT(1,KC_LEFT), LT(2,KC_DOWN), MT(MOD_RCTL, KC_RGHT)
),
I tried to use the Space Cadet Shift but only sometimes when I tap the SHIFT it sends the parentheses.
The KC_GESC
and LT(layer, mod)
work fine.
I think these features the share same functionalities involving time.
Sending macros over Bluetooth currently does not work when the macro contains more key presses than what fits in the UART transmit buffer. This issue was attempted to be solved in commit 2dde284, however this introduced other problems with the Bluetooth as described in #14. Therefore the changes were rolled back in commit e3e9355.
Any suggestions or possible fixes are welcome!
Multimedia keys, F13-21 not working
Triggering MO(2)
on the base layer lets me use the RESET
key, but multimedia keys dont work, as well as the F13
- F21
.
Also tried moving MO(2)
to other keys, same behavior.
I followed the readme but the process fails at running util/qmk_install.sh
`Sorry, we don't recognize your OS. Help us by contributing support!
https://docs.qmk.fm/#/contributing
--2022-04-22 14:48:44-- https://www.obdev.at/downloads/vusb/bootloadHID.2012-12-08.tar.gz
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.obdev.at (www.obdev.at)... 78.46.114.187
Connecting to www.obdev.at (www.obdev.at)|78.46.114.187|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.obdev.at/ftp/pub/Products/vusb/bootloadHID.2012-12-08.tar.gz [following]
--2022-04-22 14:48:45-- https://www.obdev.at/ftp/pub/Products/vusb/bootloadHID.2012-12-08.tar.gz
Reusing existing connection to www.obdev.at:443.
HTTP request sent, awaiting response... 200 OK
Length: 107970 (105K) [application/x-gzip]
Saving to: 'STDOUT'
100%[====================================>] 105.44K --.-KB/s in 0.1s
2022-04-22 14:48:45 (730 KB/s) - written to stdout [107970/107970]
gcc -O2 -Wall libusb-config --cflags
-c usbcalls.c -o usbcalls.o
/bin/sh: line 1: libusb-config: command not found
In file included from usbcalls.c:19:
usb-libusb.c:28:10: fatal error: usb.h: No such file or directory
28 | #include <usb.h>
| ^~~~~~~
compilation terminated.
make: *** [Makefile:46: usbcalls.o] Error 1
/home/coliflor/Proyectos/test/qmk_firmware
Requirement already satisfied: appdirs in /usr/lib/python3.10/site-packages (from -r /home/coliflor/Proyectos/test/qmk_firmware/util/../requirements.txt (line 3)) (1.4.4)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/usr/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/usr/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 316, in run
requirement_set = resolver.resolve(
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 454, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 319, in resolve
name, crit = self._merge_into_criterion(r, parent=None)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 176, in _merge_into_criterion
crit = Criterion.from_requirement(self._p, requirement, parent)
File "/usr/lib/python3.10/site-packages/resolvelib/resolvers.py", line 83, in from_requirement
if not cands:
File "/usr/lib/python3.10/site-packages/resolvelib/structs.py", line 124, in bool
return bool(self._sequence)
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 99, in bool
return any(self)
File "/usr/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 218, in iter_index_candidates
result = self._finder.find_best_candidate(
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 872, in find_best_candidate
candidates = self.find_all_candidates(project_name)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 815, in find_all_candidates
package_links = self.process_project_url(
File "/usr/lib/python3.10/site-packages/pip/_internal/index/package_finder.py", line 779, in process_project_url
html_page = self._link_collector.fetch_page(project_url)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 617, in fetch_page
return _get_html_page(location, session=self.session)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 429, in _get_html_page
resp = _get_html_response(url, session=session)
File "/usr/lib/python3.10/site-packages/pip/_internal/index/collector.py", line 126, in _get_html_response
resp = session.get(
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 542, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.10/site-packages/pip/_internal/network/session.py", line 424, in request
return super().request(method, url, *args, **kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 687, in send
r.content
File "/usr/lib/python3.10/site-packages/requests/models.py", line 838, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "/usr/lib/python3.10/site-packages/requests/models.py", line 760, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/lib/python3.10/site-packages/urllib3/response.py", line 579, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python3.10/site-packages/urllib3/response.py", line 522, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/home/coliflor/.local/lib/python3.10/site-packages/cachecontrol/filewrapper.py", line 96, in read
self._close()
File "/home/coliflor/.local/lib/python3.10/site-packages/cachecontrol/filewrapper.py", line 76, in _close
self.__callback(result)
File "/home/coliflor/.local/lib/python3.10/site-packages/cachecontrol/controller.py", line 329, in cache_response
self.cache.set(
TypeError: SafeFileCache.set() got an unexpected keyword argument 'expires'`
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.