Commit Graph

10820 Commits

Author SHA1 Message Date
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
Ryan
3635973fd5 Change include guards in quantum/ to pragma once (#11239) 2021-01-12 22:46:10 -08:00
Ryan
edc6a30ccc qmk fileformat: only print complaints, and fix some of them (#11278) 2021-01-12 22:46:10 -08:00
Reza Jelveh
074147a74a chibios: honor PLATFORMASM in chibios build (#11219) 2021-01-12 22:46:10 -08:00
Ryan
eaec0a1bfd V-USB: Fix initial dropped keypress (#11263) 2021-01-12 22:46:10 -08:00
Joshua Diamond
dc9d8297fa Partial fix for Issue #9405 - Caps Lock not working with Unicode Map's XP on Linux (#11232) 2021-01-12 22:46:10 -08:00
Joshua Diamond
9af1faa040 Fix Issue #9533 - Delayed shift state handling (#11220)
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-01-12 22:46:10 -08:00
Erovia
a2bb489e37 Split of the doctor codebase (#11255)
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-01-12 22:46:10 -08:00
Ryan
75a672151f Fix small typo in V-USB configuration descriptor (#11253) 2021-01-12 22:46:09 -08:00
Ryan
17cf1b1a8a Doctor: add check for .git folder (#11208)
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-01-12 22:46:09 -08:00
Nick Brassel
1309bca30b Follow symlinks when listing keyboards. (#11250) 2021-01-12 22:46:09 -08:00
Zach White
d8ff5fd505 Change keyboard json format to bring it inline with the current api (#11231) 2021-01-12 22:46:09 -08:00
Zach White
336e007310 simplify qmk doctor to make room for #11208 (#11242) 2021-01-12 22:46:09 -08:00
Zach White
18b03049f3 Add the ability to exclude keyboards from travis builds (#11178)
* add the ability to exclude keyboards from travis builds

* add filtering to make all:

* only skip keyboards during make all:

* working implementation

* forego a CI_KEYBOARDS variable

* optimize the startup by only listing keyboards once

* add sort -u to all list_keyboard invocations

* move the if else if tree back to 1 level
2021-01-12 22:46:09 -08:00
Joel Challis
c16ddb3985 Various compilation fixes for avr-gcc 10 (#9269) 2021-01-12 22:46:08 -08:00
Ryan
e33afb2255 Run cformat and dos2unix manually (#11235) 2021-01-12 22:46:08 -08:00
Ryan
664f5de687 Normalise include statements in keyboard code (#11185) 2021-01-12 22:46:08 -08:00
Ryan
a0eb53cb16 CLI-ify rgblight_breathing_table_calc.c (#11174)
Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-01-12 22:46:08 -08:00
Xelus22
ec485c962d Add i2c 24LC64 eeprom (#11200)
* add 24LC64 eeprom

* docs update

* Update docs/eeprom_driver.md

Co-authored-by: Joel Challis <git@zvecr.com>

Co-authored-by: Joel Challis <git@zvecr.com>
2021-01-12 22:46:08 -08:00
Takeshi ISHII
7f03ebaf72 Fix incorrect search order for rgblight_breathe_table.h that rgblight.c includes. (#11192)
When `rgblight.c` includes `rgblight_breathe_table.h`, the search order should be as follows.

* `keyboards/KEYBOARD/keymaps/USER/rgblight_breathe_table.h`
* `users/USER/rgblight_breathe_table.h`
* `quantum/rgblight_breathe_table.h`

However, the current implementation was wrong, so I fixed it.
2021-01-12 22:46:08 -08:00
Hedgestock
f304fa3ea2 Fixed french quotes on canadian multilingual (#11183) 2021-01-12 22:46:08 -08:00
Ryan
8d5fa95f4f Normalise include statements in core code (#11153)
* Normalise include statements in core code

* Missed one
2021-01-12 22:46:07 -08:00
Joel Challis
63d0fe05bb Fix warning logic when running 'qmk format -a' (#11177) 2021-01-12 22:46:07 -08:00
Nick Brassel
5a9849c70c Fixup config template to match <> instead of "" for includes. (#11166) 2021-01-12 22:46:07 -08:00
Charles A Moonen
53e7b1f152 Add missing hardware availability for Plank EZ (#11069)
Add missing information needed to mirror the supported hardware in the previous line
2021-01-12 22:46:07 -08:00
Xelus22
f01e9becdf Update is31fl3731-simple (#7610)
* update simple

* Update is31fl3731-simple.c
2021-01-12 22:46:07 -08:00
Josh Hinnebusch
99d80b2acb add definition WS2812_BYTE_ORDER to fix RGB LED issues (#10184)
* add define for WS2812B-2020 to fix RGB issues

* update driver doc

* add WS2812_BYTE_ORDER definition to correct RGB byte issues

* add definition variable thing

* update per PR request

* update per PR reqs

* update per PR request

* inital changes

* move defines to color.h and add rgbw incase

* Update docs/ws2812_driver.md

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

Co-authored-by: hineybush <hineybushkeyboards@gmail.com>
Co-authored-by: Xelus22 <preyas22@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-01-12 22:46:07 -08:00