Commit Graph

10846 Commits

Author SHA1 Message Date
Florian Didron
d6f37f0f74 feat: adds icelandic contribution 2021-03-25 19:30:28 +09:00
Florian Didron
a798f38e73 feat: adds french canadian contribution 2021-03-25 19:15:14 +09:00
Florian Didron
3d45f17e5a feat: adds ukranian user contribution 2021-03-25 18:49:55 +09:00
Drashna Jaelre
d2342a38d6 Disable Unicode and Swap Hands on ErgoDox EZ (#331)
* Disable Unicode and Swap Hands on ErgoDox EZ

Because we're running into both program memory and system memory limits,
this is an easy fix to avoid both, especially since neither feature is 
actually used by us.

* Disable Swap Hands for Moonlander as well
2021-03-03 16:50:58 +09:00
Drashna Jaelre
cc5e4b76a2 Disable Autoshift for shift as well (#330) 2021-02-26 19:34:19 +09:00
Florian Didron
2a629f0573 fix: ergodox glow compilation bombs 2021-02-11 18:28:36 +09:00
Florian Didron
f02a3af5c5 feat: swiss french oryx aliases 2021-02-11 18:05:25 +09:00
Erovia
b2e9489485 CLI: Fix json flashing (#11765) 2021-02-02 09:51:18 -08:00
Ryan
325a551086 quantum.c send char cleanups (#11743) 2021-02-02 09:50:40 -08:00
Joshua Diamond
d553a23636 Add rgblight_reload_from_eeprom() (#11411)
* Add rgblight_reset_from_eeprom()

* reset->reload
2021-02-02 09:49:12 -08:00
Takeshi ISHII
fa1a47fd1a add get_matrix_scan_rate() to tmk_core/common/keyboard.c (#11489) 2021-02-02 09:48:18 -08:00
Zach White
006c55012e Fix QMK_BUILDDATE (#11641) 2021-02-02 09:47:27 -08:00
Ryan
c04d37da3b Add stm32-dfu and apm32-dfu to bootloader.mk (#11019)
* Add stm32-dfu and apm32-dfu to bootloader.mk

* Update flashing docs

* Update comment

* Further wordsmithing
2021-02-02 09:46:41 -08:00
Takeshi Nishio
5aac30a85a Fix wrong key when "Music Map" is used with MAJOR_MODE. (#11234)
With MAJOR_MODE (= major scale), keys in one octave is not 12 but 7.
To solve this problem, change divisor number from 12 to 7 at %(Modulo) and /(Division).

NOTE:
The last 12 represents half step keys in one octave for pitch calculation.
2021-02-02 09:45:24 -08:00
Nick Brassel
2a1bedec66 Fixup declaration for _kill, add other missing syscalls, populate errno. (#11608) 2021-02-02 09:43:00 -08:00
Nick Brassel
a0555ae233 Add syscall fallbacks to ChibiOS builds (#11573)
* Add fallback syscalls to ChibiOS builds that are present but able to be overridden as appropriate.

* Modified location to be ChibiOS-specific.
2021-02-02 09:42:02 -08:00
Zach White
3e1f25806b Generate version.h when compiling json files (#11581)
* generate version.h when compiling json files

* make flake8 happy

* fix formatting and verbose

* quiet up the compile output
2021-02-02 09:41:35 -08:00
Zach White
ef45401f53 Improve the compile and flash subcommands (#11334)
* add support for --clean to compile and flash

* compile standalone JSON keymaps without polluting the tree

* Add support for passing environment vars to make

* make flake8 happy

* document changes to qmk compile and flash

* add -e support to json export compiling

* Fix python 3.6

* honor $MAKE

* add support for parallel builds
2021-02-02 09:41:10 -08:00
kb-elmo
329d563bf9 Add BGR byte order for WS2812 drivers (#11562)
* add byte order bgr for ws2812

* update docs for driver change

* Update ws2812_driver.md

* Update docs/ws2812_driver.md

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-02-02 09:40:28 -08:00
André Silva
0719cda851 allow customizing decrease delay of rgb heatmap (#11322)
* allow customizing decrease delay of rgb heatmap

* rename rgb typing heatmap decrease delay variable

* address review comments

* nix-shell: add clang-tools required for formatting the C code

* heatmap: use real timer to track decrement rate

* heatmap: fix ifndef var name typo

* heatmap: add docs

* Update docs/feature_rgb_matrix.md

Co-authored-by: Drashna Jaelre <drashna@live.com>

Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-02-02 09:39:43 -08:00
Ryan
97b1e6faf8 Adafruit BLE cleanups (#11556) 2021-02-02 09:38:50 -08:00
Ryan
d909bc2765 arm_atsam: temporarily lower raw HID endpoint/report size (#11554) 2021-02-02 09:37:32 -08:00
Ryan
8d6f9ce2a8 Add support for shared EP on V-USB boards (#11103) 2021-02-02 09:36:37 -08:00
Joshua Diamond
dc11c3da3b Lighting Layers should be disabled when suspended (#11442)
* Lighting Layers should be disabled when suspended

* bugfixes
2021-02-02 09:35:53 -08:00
Ryan
f1a82690be keymap_fr_ch: undef CH_H (#11537) 2021-02-02 09:33:22 -08:00
Joshua Diamond
0aaf72a2b9 Address wake from sleep instability (#11450)
* resolve race condition between suspend and wake in LUFA

* avoid multiple calls to suspend_power_down() / suspend_wakeup_init()

* Remove duplicate suspend_power_down_kb() call

* pause on wakeup to wait for USB state to settle

* need the repeated suspend_power_down() (that's where the sleep is)

* more efficient implementation

* fine tune the pause after sending wakeup

* speculative chibios version of pause-after-wake

* make wakeup delay configurable, and adjust value

* better location for wakeup delay
2021-02-02 09:29:51 -08:00
Joshua Diamond
9ee0271c00 Stop sounds when suspended (#11553)
* fix stopping audio on suspend vs. startup sound

* trim firmware size

* fix stuck audio on startup (ARM)
2021-01-31 17:37:16 -08:00
Drashna Jaelre
515c080252 [Keyboard] Fix printf calls in Moonlander matrix (#11511) 2021-01-12 22:46:14 -08:00
Sergey Shulepov
fa610bc9b1 Fix macOS build 2021-01-12 22:46:14 -08:00
Joel Challis
47a047a9ee manually run formatting job (#11503) 2021-01-12 22:46:14 -08:00
Takeshi ISHII
c23161cbb2 Add build debug option to tmk_core/rules.mk (#11324)
* Add DUMP_C_MACROS to tmk_core/rules.mk

* update DUMP_C_MACROS

* add VERBOSE_LD_CMD, VERBOSE_AS_CMD

* add VERBOSE_C_CMD, VERBOSE_C_INCLUDE

* update DUMP_C_MACROS, VERBOSE_C_INCLUDE, VERBOSE_C_CMD
2021-01-12 22:46:14 -08:00
Drashna Jaelre
2f52604357 Fix Tap-Hold Configs (#11127)
* Add proper prototypes for Tap-Hold Per Key functions

* Fix handwired/tennie default keymap

* Remove unneeded references

* Fix tapping term per key check in space cadet

* Pre-emptive fix for tap dance

* Fix marksard/leftover30

* Replace hard coded tapping term with define
2021-01-12 22:46:13 -08:00
Ryan
8797abdb9c Homebrew install: ignore pinned formulae in brew upgrade (#11423) 2021-01-12 22:46:13 -08:00
Joel Elkins
2a02ef56ee arm_atsam: Use PROGRAM_CMD for :flash target if set (#11424) 2021-01-12 22:46:13 -08:00
Ryan
a16e9c54d9 Align ChibiOS spi_master behaviour with AVR (#11404)
* Align ChibiOS spi_master behaviour with AVR

* Rollback `spi_transmit()` and `spi_receive()` to preserve DMA
2021-01-12 22:46:13 -08:00
Joshua Diamond
ab717d2a52 Fix broken Lighting Layers when RGBLIGHT_MAX_LAYERS > 16 (#11406)
* fix incorrect bit math when RGBLIGHT_MAX_LAYERS > 16

* with 1UL cast is not needed

* ...but just casting works and is even more efficient

* cformat
2021-01-12 22:46:13 -08:00
Zach White
8f03f44ec7 Return the make exit code for qmk compile and flash (#11402) 2021-01-12 22:46:13 -08:00
MURAOKA Taro
882d3a3789 speed up list_keyboards.sh 2021-01-12 22:46:13 -08:00
Joel Challis
42eba55514 Manually run formatting CI process (#11375) 2021-01-12 22:46:12 -08:00
Takeshi ISHII
2ca376f6d6 Add target 'check-md5' to build_keyboard.mk (#11338)
* Add target 'build-for-compare' to `build_keyboard.mk`

The `build-for-compare` target provides an easy way to check the md5 checksum of the generated binary.

You can easily see if there is any change in the generated binaries between the two versions, as in the example below.

```
$ git checkout 0.11.0
M	build_keyboard.mk
M	tmk_core/rules.mk
Note: checking out '0.11.0'.
HEAD is now at c66df1664 2020 November 28 Breaking Changes Update (#11053)

$ make helix:all:build-for-compare | grep ^MD5
MD5 (.build/helix_rev2_default.hex) = 5c3606562c944bb4d18832e601b45d4a
MD5 (.build/helix_rev2_edvorakjp.hex) = 9e43d13d389d518ba7e99cd7337e28d6
MD5 (.build/helix_rev2_five_rows.hex) = 8bcb61c2fd5d237c2997f2fa007d4934
MD5 (.build/helix_rev2_five_rows_jis.hex) = b97cd818d52f73ca2d4e78c86d90a791
MD5 (.build/helix_rev2_froggy.hex) = c492172364188f4e2918b10bf0f3a0a6
MD5 (.build/helix_rev2_froggy_106.hex) = b0861fd735a8f81881a8c02730641a2b
MD5 (.build/helix_rev2_led_test.hex) = 5c97d982a5da5cfb3dacb28a8934b81d
MD5 (.build/helix_rev2_xulkal.hex) = 01f603dc46bcf9094d7e106831d8f5b1
MD5 (.build/helix_rev2_yshrsmz.hex) = 5a008bca2d0c5790a151c02834c529ba

$ git checkout 0.11.1
M	build_keyboard.mk
M	tmk_core/rules.mk
Previous HEAD position was c66df1664 2020 November 28 Breaking Changes Update (#11053)
HEAD is now at cc08e3082 nix-shell: add milc dependency (#11086)

$ make helix:all:build-for-compare | grep ^MD5
MD5 (.build/helix_rev2_default.hex) = 5c3606562c944bb4d18832e601b45d4a
MD5 (.build/helix_rev2_edvorakjp.hex) = 9e43d13d389d518ba7e99cd7337e28d6
MD5 (.build/helix_rev2_five_rows.hex) = 8bcb61c2fd5d237c2997f2fa007d4934
MD5 (.build/helix_rev2_five_rows_jis.hex) = b97cd818d52f73ca2d4e78c86d90a791
MD5 (.build/helix_rev2_froggy.hex) = c492172364188f4e2918b10bf0f3a0a6
MD5 (.build/helix_rev2_froggy_106.hex) = b0861fd735a8f81881a8c02730641a2b
MD5 (.build/helix_rev2_led_test.hex) = 5c97d982a5da5cfb3dacb28a8934b81d
MD5 (.build/helix_rev2_xulkal.hex) = d848383adfd7463b138c6da179cf1436
MD5 (.build/helix_rev2_yshrsmz.hex) = 5a008bca2d0c5790a151c02834c529ba
```

* make builds reproducable by default

* update build_keyboard.mk: remove 'build-for-compare' target

* GNU make (3.81) on macOS 10.14(Mojave) does not have the 'undefine' directive.

* Adopted fauxpark's suggestion.

* Update tmk_core/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* update tmk_core/rules.mk

* fix tmk_core/rules.mk

Co-authored-by: Zach White <skullydazed@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-01-12 22:46:12 -08:00
Ryan
c239c7c028 Missed a couple more #pragma onces (#11351) 2021-01-12 22:46:12 -08:00
Ryan
bc0f45f9fd Remove useless wait in AVR suspend code (#11352) 2021-01-12 22:46:12 -08:00
Maurizio Porrato
4a5b99e756 Add libusb-devel dependency for fedora (#11287)
On fedora 33, libusb-devel is required to build BootloadHID
2021-01-12 22:46:12 -08:00
Jonathan Paugh
88e9c05049 Add missing Debian/Ubuntu dependency to the install script (#11348)
To successfully compile bootloadHID, we must have the libusb-config tool, which comes from the libusb-dev package. This package is available in both Ubuntu Groovy and Debian Buster

Co-authored-by: Jonathan Paugh <jpaugh@gmx.com>
2021-01-12 22:46:12 -08:00
Drashna Jaelre
88b9486728 [Bug] Fix RGB Matrix Indicators (#11308) 2021-01-12 22:46:11 -08:00
xyzz
b91c12246d Remove MATRIX_IS_ON macro (#11330)
* Remove MATRIX_IS_ON macro

this macro is both incorrect and excessive given that macro_is_on()
exists

* Remove massdrop matrix.h
2021-01-12 22:46:11 -08:00
Zach White
67b2ddbbc6 remove some old and unused code from Makefile (#11336) 2021-01-12 22:46:11 -08:00
LongerHV
180cb957fe [CLI] Add stdin support for json2c command (#11289)
* Implement stdin for json2c command

* Refactor

* Handle json decode error

* Add stdin support for c2json cli command

* Refactor to prevent code duplication

* Change exit(1) to return False in c2json command

* Remove unused import
2021-01-12 22:46:11 -08:00
Ryan
4dd03061b4 Ensure single newline at EOF for core files (#11310) 2021-01-12 22:46:11 -08:00
Ryan
60fd4d61ef Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2021-01-12 22:46:11 -08:00