aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build_full_test.mk2
-rw-r--r--build_test.mk5
-rw-r--r--docs/ChangeLog/20190830.md1
-rw-r--r--docs/es/hardware_drivers.md1
-rw-r--r--docs/feature_debounce_type.md1
-rw-r--r--docs/feature_sequencer.md1
-rw-r--r--docs/feature_stenography.md1
-rw-r--r--docs/fuse.txt1
-rw-r--r--docs/he-il/documentation_best_practices.md2
-rw-r--r--docs/he-il/faq.md2
-rw-r--r--docs/he-il/faq_general.md2
-rw-r--r--docs/he-il/getting_started_getting_help.md2
-rw-r--r--docs/he-il/hardware.md2
-rw-r--r--docs/he-il/newbs_learn_more_resources.md2
-rw-r--r--docs/ja/feature_debounce_type.md2
-rw-r--r--docs/ja/internals_input_callback_reg.md1
-rw-r--r--docs/platformdev_chibios_earlyinit.md2
-rw-r--r--drivers/haptic/DRV2605L.h2
-rw-r--r--drivers/ugfx/gdisp/is31fl3731c/driver.mk2
-rw-r--r--platforms/chibios/GENERIC_STM32_F042X6/configs/bootloader_defs.h2
-rw-r--r--platforms/chibios/GENERIC_STM32_F042X6/configs/mcuconf.h2
-rw-r--r--quantum/led.c2
-rw-r--r--quantum/pointing_device.c2
-rw-r--r--quantum/serial_link/README.md2
-rw-r--r--quantum/serial_link/tests/Makefile16
-rw-r--r--quantum/serial_link/tests/testlist.mk2
-rw-r--r--setup.cfg1
-rw-r--r--testlist.mk2
-rw-r--r--tests/basic/config.h5
-rw-r--r--tests/basic/rules.mk2
-rw-r--r--tests/basic/test_macro.cpp2
-rw-r--r--tests/test_common/keyboard_report_util.cpp2
-rw-r--r--tests/test_common/keyboard_report_util.hpp2
-rw-r--r--tests/test_common/test_driver.hpp8
-rw-r--r--tests/test_common/test_fixture.hpp4
-rw-r--r--tmk_core/common/avr/xprintf.S4
-rw-r--r--tmk_core/common/chibios/sleep_led.c2
-rw-r--r--tmk_core/common/test/timer.c2
-rw-r--r--tmk_core/protocol/chibios.mk1
-rwxr-xr-xutil/new_keymap.sh2
40 files changed, 40 insertions, 61 deletions
diff --git a/build_full_test.mk b/build_full_test.mk
index 170020b96..f8030cb06 100644
--- a/build_full_test.mk
+++ b/build_full_test.mk
@@ -30,4 +30,4 @@ $(TEST)_SRC += $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp))
30 30
31$(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS) 31$(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS)
32$(TEST)_CONFIG=$(TEST_PATH)/config.h 32$(TEST)_CONFIG=$(TEST_PATH)/config.h
33VPATH+=$(TOP_DIR)/tests/test_common \ No newline at end of file 33VPATH+=$(TOP_DIR)/tests/test_common
diff --git a/build_test.mk b/build_test.mk
index e705c6a3b..77c4265f9 100644
--- a/build_test.mk
+++ b/build_test.mk
@@ -17,7 +17,7 @@ OUTPUTS := $(TEST_OBJ)/$(TEST) $(GTEST_OUTPUT)
17GTEST_INC := \ 17GTEST_INC := \
18 $(LIB_PATH)/googletest/googletest/include\ 18 $(LIB_PATH)/googletest/googletest/include\
19 $(LIB_PATH)/googletest/googlemock/include\ 19 $(LIB_PATH)/googletest/googlemock/include\
20 20
21GTEST_INTERNAL_INC :=\ 21GTEST_INTERNAL_INC :=\
22 $(LIB_PATH)/googletest/googletest\ 22 $(LIB_PATH)/googletest/googletest\
23 $(LIB_PATH)/googletest/googlemock 23 $(LIB_PATH)/googletest/googlemock
@@ -27,7 +27,7 @@ $(GTEST_OUTPUT)_SRC :=\
27 googletest/src/gtest_main.cc\ 27 googletest/src/gtest_main.cc\
28 googlemock/src/gmock-all.cc 28 googlemock/src/gmock-all.cc
29 29
30$(GTEST_OUTPUT)_DEFS := 30$(GTEST_OUTPUT)_DEFS :=
31$(GTEST_OUTPUT)_INC := $(GTEST_INC) $(GTEST_INTERNAL_INC) 31$(GTEST_OUTPUT)_INC := $(GTEST_INC) $(GTEST_INTERNAL_INC)
32 32
33LDFLAGS += -lstdc++ -lpthread -shared-libgcc 33LDFLAGS += -lstdc++ -lpthread -shared-libgcc
@@ -66,4 +66,3 @@ include $(TMK_PATH)/rules.mk
66 66
67$(shell mkdir -p $(BUILD_DIR)/test 2>/dev/null) 67$(shell mkdir -p $(BUILD_DIR)/test 2>/dev/null)
68$(shell mkdir -p $(TEST_OBJ) 2>/dev/null) 68$(shell mkdir -p $(TEST_OBJ) 2>/dev/null)
69
diff --git a/docs/ChangeLog/20190830.md b/docs/ChangeLog/20190830.md
index bd2d5e19c..ab6e28c4d 100644
--- a/docs/ChangeLog/20190830.md
+++ b/docs/ChangeLog/20190830.md
@@ -50,4 +50,3 @@ This document marks the inaugural Breaking Change merge. A list of changes follo
50* `KC_DELT` was a redundant, undocumented alias for `KC_DELETE` 50* `KC_DELT` was a redundant, undocumented alias for `KC_DELETE`
51* It has been removed and all its uses replaced with the more common `KC_DEL` alias 51* It has been removed and all its uses replaced with the more common `KC_DEL` alias
52* Around 90 keymaps (mostly for ErgoDox boards) have been modified as a result 52* Around 90 keymaps (mostly for ErgoDox boards) have been modified as a result
53
diff --git a/docs/es/hardware_drivers.md b/docs/es/hardware_drivers.md
index 7b74b34b4..e0a973606 100644
--- a/docs/es/hardware_drivers.md
+++ b/docs/es/hardware_drivers.md
@@ -33,4 +33,3 @@ Soporte para hasta 2 controladores. Cada controlador implementa 2 matrices charl
33## IS31FL3733 33## IS31FL3733
34 34
35Soporte para hasta un solo controlador con espacio para expansión. Cada controlador puede controlar 192 LEDs individuales o 64 LEDs RGB. Para obtener más información sobre cómo configurar el controlador, consulta la página de [Matriz RGB](feature_rgb_matrix.md). 35Soporte para hasta un solo controlador con espacio para expansión. Cada controlador puede controlar 192 LEDs individuales o 64 LEDs RGB. Para obtener más información sobre cómo configurar el controlador, consulta la página de [Matriz RGB](feature_rgb_matrix.md).
36
diff --git a/docs/feature_debounce_type.md b/docs/feature_debounce_type.md
index 966e75acc..3ad74224c 100644
--- a/docs/feature_debounce_type.md
+++ b/docs/feature_debounce_type.md
@@ -148,4 +148,3 @@ The following old names for existing algorithms will continue to be supported, h
148* eager_pk - old name for sym_eager_pk 148* eager_pk - old name for sym_eager_pk
149* sym_pk - old name for sym_defer_pk 149* sym_pk - old name for sym_defer_pk
150* eager_pr - old name for sym_eager_pr 150* eager_pr - old name for sym_eager_pr
151
diff --git a/docs/feature_sequencer.md b/docs/feature_sequencer.md
index 8c8587a9b..76b4db5cf 100644
--- a/docs/feature_sequencer.md
+++ b/docs/feature_sequencer.md
@@ -85,4 +85,3 @@ While the tempo defines the absolute speed at which the sequencer goes through t
85|`void sequencer_activate_track(uint8_t track);` |Activate the `track` | 85|`void sequencer_activate_track(uint8_t track);` |Activate the `track` |
86|`void sequencer_deactivate_track(uint8_t track);` |Deactivate the `track` | 86|`void sequencer_deactivate_track(uint8_t track);` |Deactivate the `track` |
87|`void sequencer_toggle_single_active_track(uint8_t track);` |Set `track` as the only active track or deactivate all | 87|`void sequencer_toggle_single_active_track(uint8_t track);` |Set `track` as the only active track or deactivate all |
88
diff --git a/docs/feature_stenography.md b/docs/feature_stenography.md
index 148d61b04..11e54965d 100644
--- a/docs/feature_stenography.md
+++ b/docs/feature_stenography.md
@@ -129,4 +129,3 @@ As defined in `keymap_steno.h`.
129|`STN_RES1`||(GeminiPR only)| 129|`STN_RES1`||(GeminiPR only)|
130|`STN_RES2`||(GeminiPR only)| 130|`STN_RES2`||(GeminiPR only)|
131|`STN_PWR`||(GeminiPR only)| 131|`STN_PWR`||(GeminiPR only)|
132
diff --git a/docs/fuse.txt b/docs/fuse.txt
index 99ddd2d18..ceb588be3 100644
--- a/docs/fuse.txt
+++ b/docs/fuse.txt
@@ -47,4 +47,3 @@ This configuration is from usbasploader's Makefile.
47# | | +----- LB 2..1 (No memory lock features enabled) 47# | | +----- LB 2..1 (No memory lock features enabled)
48# | +--------- BLB0 2..1 (No restrictions for SPM or LPM accessing the Application section) 48# | +--------- BLB0 2..1 (No restrictions for SPM or LPM accessing the Application section)
49# +--------------- BLB1 2..1 (No restrictions for SPM or LPM accessing the Boot Loader section) 49# +--------------- BLB1 2..1 (No restrictions for SPM or LPM accessing the Boot Loader section)
50
diff --git a/docs/he-il/documentation_best_practices.md b/docs/he-il/documentation_best_practices.md
index 90c4a137a..bba9d886a 100644
--- a/docs/he-il/documentation_best_practices.md
+++ b/docs/he-il/documentation_best_practices.md
@@ -64,4 +64,4 @@
64``` 64```
65 65
66מקמו את התיעוד שלכם בתוך `docs/feature_<my_cool_feature>.md`, והוסיפו קישור לקובץ זה במקום המתאים ב `docs/_sidebar.md`. אם הוספתם קודי מקשים נוספים, תקפידו להוסיף אותם ל- `docs/keycodes.md` עם לינק לעמוד היכולת שלכם. 66מקמו את התיעוד שלכם בתוך `docs/feature_<my_cool_feature>.md`, והוסיפו קישור לקובץ זה במקום המתאים ב `docs/_sidebar.md`. אם הוספתם קודי מקשים נוספים, תקפידו להוסיף אותם ל- `docs/keycodes.md` עם לינק לעמוד היכולת שלכם.
67</div> \ No newline at end of file 67</div>
diff --git a/docs/he-il/faq.md b/docs/he-il/faq.md
index 88ea07fbe..0a783eb8c 100644
--- a/docs/he-il/faq.md
+++ b/docs/he-il/faq.md
@@ -5,4 +5,4 @@
5* [בנייה או קומפילציה של QMK](faq_build.md) 5* [בנייה או קומפילציה של QMK](faq_build.md)
6* [דיבאגינג ופתרון בעיות של QMK](faq_debug.md) 6* [דיבאגינג ופתרון בעיות של QMK](faq_debug.md)
7* [מיפוי מקשים](faq_keymap.md) 7* [מיפוי מקשים](faq_keymap.md)
8</div> \ No newline at end of file 8</div>
diff --git a/docs/he-il/faq_general.md b/docs/he-il/faq_general.md
index 26286d552..fc102d6c6 100644
--- a/docs/he-il/faq_general.md
+++ b/docs/he-il/faq_general.md
@@ -14,4 +14,4 @@ TMK עוצב ומומש במקור ע״י [Jun Wako](https://github.com/tmk). QM
14מנק׳ מבט של הפרוייקט וניהול הקהילה, TMK מנהל את כל המקלדות הנתמכות בעצמו, עם מעט תמיכה מהקהילה. כל אחד יכול לעשות פורק מהפרוייקט עבור מקלדות אחרות. רק מס׳ מיפויי מקשים נמצאים בברירת המחדל כך שאנשים בד״כ לא משתפים מיפויי מקשים זה עם זה. QMK מעודד את השיתוף של המקלדות וקודי המקשים דרך רפוזיטורי בניהול מרכזי, אשר מקבל את כל בקשות ה- Pull Requests שעומדות בסטנדרט האיכות. רובם מנוהלות ע״י הקהילה, אבל הצוות של QMK עוזר כשנדרש. 14מנק׳ מבט של הפרוייקט וניהול הקהילה, TMK מנהל את כל המקלדות הנתמכות בעצמו, עם מעט תמיכה מהקהילה. כל אחד יכול לעשות פורק מהפרוייקט עבור מקלדות אחרות. רק מס׳ מיפויי מקשים נמצאים בברירת המחדל כך שאנשים בד״כ לא משתפים מיפויי מקשים זה עם זה. QMK מעודד את השיתוף של המקלדות וקודי המקשים דרך רפוזיטורי בניהול מרכזי, אשר מקבל את כל בקשות ה- Pull Requests שעומדות בסטנדרט האיכות. רובם מנוהלות ע״י הקהילה, אבל הצוות של QMK עוזר כשנדרש.
15 15
16לשתי הגישות יש יתרונות וחסרונות וקוד עובר בחופשיות בין TMK ל- QMK כשצריך. 16לשתי הגישות יש יתרונות וחסרונות וקוד עובר בחופשיות בין TMK ל- QMK כשצריך.
17</div> \ No newline at end of file 17</div>
diff --git a/docs/he-il/getting_started_getting_help.md b/docs/he-il/getting_started_getting_help.md
index e62c9f403..7dec3e87d 100644
--- a/docs/he-il/getting_started_getting_help.md
+++ b/docs/he-il/getting_started_getting_help.md
@@ -14,4 +14,4 @@
14## סוגיות GitHub 14## סוגיות GitHub
15 15
16ניתן לפתוח [סוגייה ב-GitHub](https://github.com/qmk/qmk_firmware/issues). הדבר שימושי במיוחד כאשר הסוגיה דורשת דיון עמוק וארוך או דיבאגינג. 16ניתן לפתוח [סוגייה ב-GitHub](https://github.com/qmk/qmk_firmware/issues). הדבר שימושי במיוחד כאשר הסוגיה דורשת דיון עמוק וארוך או דיבאגינג.
17</div> \ No newline at end of file 17</div>
diff --git a/docs/he-il/hardware.md b/docs/he-il/hardware.md
index 441792e03..70bb846f1 100644
--- a/docs/he-il/hardware.md
+++ b/docs/he-il/hardware.md
@@ -7,4 +7,4 @@ QMK רצה על מגוון של חומרות. אם המעבד שלך יכול ל
7* [מעבדי AVR](hardware_avr.md) 7* [מעבדי AVR](hardware_avr.md)
8* מעבדי ARM (TBD) 8* מעבדי ARM (TBD)
9* [מנהלי התקנים](hardware_drivers.md) 9* [מנהלי התקנים](hardware_drivers.md)
10</div> \ No newline at end of file 10</div>
diff --git a/docs/he-il/newbs_learn_more_resources.md b/docs/he-il/newbs_learn_more_resources.md
index 8792a9de0..4127c387f 100644
--- a/docs/he-il/newbs_learn_more_resources.md
+++ b/docs/he-il/newbs_learn_more_resources.md
@@ -13,4 +13,4 @@
13מקורות לפקודות שורה (Command Line): 13מקורות לפקודות שורה (Command Line):
14 14
15* [מדריך טוב על Command Line](https://www.codecademy.com/learn/learn-the-command-line) 15* [מדריך טוב על Command Line](https://www.codecademy.com/learn/learn-the-command-line)
16</div> \ No newline at end of file 16</div>
diff --git a/docs/ja/feature_debounce_type.md b/docs/ja/feature_debounce_type.md
index 2d874b756..a375ebb45 100644
--- a/docs/ja/feature_debounce_type.md
+++ b/docs/ja/feature_debounce_type.md
@@ -43,5 +43,3 @@ endif
43* eager_pk - キーごとにデバウンスします。状態が変化すると、応答は即座に行われ、その後そのキーは ```DEBOUNCE``` ミリ秒の間入力されません。 43* eager_pk - キーごとにデバウンスします。状態が変化すると、応答は即座に行われ、その後そのキーは ```DEBOUNCE``` ミリ秒の間入力されません。
44* sym_g - キーボードごとにデバウンスします。状態が変化すると、グローバルタイマが設定されます。```DEBOUNCE``` ミリ秒の間何も変化がなければ、全ての入力の変更がプッシュされます。 44* sym_g - キーボードごとにデバウンスします。状態が変化すると、グローバルタイマが設定されます。```DEBOUNCE``` ミリ秒の間何も変化がなければ、全ての入力の変更がプッシュされます。
45* sym_pk - キーごとにデバウンスします。状態が変化すると、キーごとのタイマーが設定されます。```DEBOUNCE``` ミリ秒の間そのキーに変化がなければ、キーの状態の変更がプッシュされます。 45* sym_pk - キーごとにデバウンスします。状態が変化すると、キーごとのタイマーが設定されます。```DEBOUNCE``` ミリ秒の間そのキーに変化がなければ、キーの状態の変更がプッシュされます。
46
47
diff --git a/docs/ja/internals_input_callback_reg.md b/docs/ja/internals_input_callback_reg.md
index 517873b7c..864b1d575 100644
--- a/docs/ja/internals_input_callback_reg.md
+++ b/docs/ja/internals_input_callback_reg.md
@@ -171,4 +171,3 @@
171* `device` 関連するデバイス 171* `device` 関連するデバイス
172 172
173* `func` 登録するコールバック関数 173* `func` 登録するコールバック関数
174
diff --git a/docs/platformdev_chibios_earlyinit.md b/docs/platformdev_chibios_earlyinit.md
index 5fd78bb33..eb932bc77 100644
--- a/docs/platformdev_chibios_earlyinit.md
+++ b/docs/platformdev_chibios_earlyinit.md
@@ -61,4 +61,4 @@ To implement your own version of this function, in your keyboard's source files:
61void board_init(void) { 61void board_init(void) {
62 // initialize anything that requires ChibiOS 62 // initialize anything that requires ChibiOS
63} 63}
64``` \ No newline at end of file 64```
diff --git a/drivers/haptic/DRV2605L.h b/drivers/haptic/DRV2605L.h
index 535c77765..8b8eae38b 100644
--- a/drivers/haptic/DRV2605L.h
+++ b/drivers/haptic/DRV2605L.h
@@ -403,4 +403,4 @@ typedef union DRVREG_CTRL5 { /* register 0x1F */
403 uint8_t C5_LRA_AUTO_OPEN_LOOP : 1; 403 uint8_t C5_LRA_AUTO_OPEN_LOOP : 1;
404 uint8_t C5_AUTO_OL_CNT : 2; 404 uint8_t C5_AUTO_OL_CNT : 2;
405 } Bits; 405 } Bits;
406} DRVREG_CTRL5; \ No newline at end of file 406} DRVREG_CTRL5;
diff --git a/drivers/ugfx/gdisp/is31fl3731c/driver.mk b/drivers/ugfx/gdisp/is31fl3731c/driver.mk
index 4364787c9..a53131bf3 100644
--- a/drivers/ugfx/gdisp/is31fl3731c/driver.mk
+++ b/drivers/ugfx/gdisp/is31fl3731c/driver.mk
@@ -1,3 +1,3 @@
1GFXINC += drivers/ugfx/gdisp/is31fl3731c 1GFXINC += drivers/ugfx/gdisp/is31fl3731c
2GFXSRC += drivers/ugfx/gdisp/is31fl3731c/gdisp_is31fl3731c.c 2GFXSRC += drivers/ugfx/gdisp/is31fl3731c/gdisp_is31fl3731c.c
3GDISP_DRIVER_LIST += GDISPVMT_IS31FL3731C_QMK \ No newline at end of file 3GDISP_DRIVER_LIST += GDISPVMT_IS31FL3731C_QMK
diff --git a/platforms/chibios/GENERIC_STM32_F042X6/configs/bootloader_defs.h b/platforms/chibios/GENERIC_STM32_F042X6/configs/bootloader_defs.h
index 6b218f7bd..25113425a 100644
--- a/platforms/chibios/GENERIC_STM32_F042X6/configs/bootloader_defs.h
+++ b/platforms/chibios/GENERIC_STM32_F042X6/configs/bootloader_defs.h
@@ -2,4 +2,4 @@
2/* It is chip dependent, the correct number can be looked up here: 2/* It is chip dependent, the correct number can be looked up here:
3 * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf 3 * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
4 */ 4 */
5#define STM32_BOOTLOADER_ADDRESS 0x1FFFC400 \ No newline at end of file 5#define STM32_BOOTLOADER_ADDRESS 0x1FFFC400
diff --git a/platforms/chibios/GENERIC_STM32_F042X6/configs/mcuconf.h b/platforms/chibios/GENERIC_STM32_F042X6/configs/mcuconf.h
index 4643e9f92..286e1230c 100644
--- a/platforms/chibios/GENERIC_STM32_F042X6/configs/mcuconf.h
+++ b/platforms/chibios/GENERIC_STM32_F042X6/configs/mcuconf.h
@@ -165,4 +165,4 @@
165#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE 165#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE
166#define STM32_USB_USB1_LP_IRQ_PRIORITY 3 166#define STM32_USB_USB1_LP_IRQ_PRIORITY 3
167 167
168#endif /* _MCUCONF_H_ */ \ No newline at end of file 168#endif /* _MCUCONF_H_ */
diff --git a/quantum/led.c b/quantum/led.c
index 3e30b1a5a..8f0eccf55 100644
--- a/quantum/led.c
+++ b/quantum/led.c
@@ -134,4 +134,4 @@ __attribute__((weak)) void led_set(uint8_t usb_led) {
134 134
135 led_set_kb(usb_led); 135 led_set_kb(usb_led);
136 led_update_kb((led_t)usb_led); 136 led_update_kb((led_t)usb_led);
137} \ No newline at end of file 137}
diff --git a/quantum/pointing_device.c b/quantum/pointing_device.c
index 24a487b9a..9b7629f30 100644
--- a/quantum/pointing_device.c
+++ b/quantum/pointing_device.c
@@ -52,4 +52,4 @@ __attribute__((weak)) void pointing_device_task(void) {
52 52
53report_mouse_t pointing_device_get_report(void) { return mouseReport; } 53report_mouse_t pointing_device_get_report(void) { return mouseReport; }
54 54
55void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; } \ No newline at end of file 55void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; }
diff --git a/quantum/serial_link/README.md b/quantum/serial_link/README.md
index e8490e290..05871dbdf 100644
--- a/quantum/serial_link/README.md
+++ b/quantum/serial_link/README.md
@@ -1 +1 @@
# qmk_serial_link \ No newline at end of file # qmk_serial_link
diff --git a/quantum/serial_link/tests/Makefile b/quantum/serial_link/tests/Makefile
index 1b072c6f1..11dd355b2 100644
--- a/quantum/serial_link/tests/Makefile
+++ b/quantum/serial_link/tests/Makefile
@@ -1,17 +1,17 @@
1# The MIT License (MIT) 1# The MIT License (MIT)
2# 2#
3# Copyright (c) 2016 Fred Sundvik 3# Copyright (c) 2016 Fred Sundvik
4# 4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy 5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal 6# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights 7# in the Software without restriction, including without limitation the rights
8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9# copies of the Software, and to permit persons to whom the Software is 9# copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions: 10# furnished to do so, subject to the following conditions:
11# 11#
12# The above copyright notice and this permission notice shall be included in all 12# The above copyright notice and this permission notice shall be included in all
13# copies or substantial portions of the Software. 13# copies or substantial portions of the Software.
14# 14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -21,7 +21,7 @@
21# SOFTWARE. 21# SOFTWARE.
22 22
23CC = gcc 23CC = gcc
24CFLAGS = 24CFLAGS =
25INCLUDES = -I. -I../../ 25INCLUDES = -I. -I../../
26LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared 26LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared
27LDLIBS = -lcgreen 27LDLIBS = -lcgreen
@@ -37,7 +37,7 @@ endif
37ifneq (, $(findstring CYGWIN, $(UNAME))) 37ifneq (, $(findstring CYGWIN, $(UNAME)))
38 EXT = .dll 38 EXT = .dll
39endif 39endif
40 40
41SRC = $(wildcard *.c) 41SRC = $(wildcard *.c)
42TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC)) 42TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC))
43$(shell mkdir -p $(DEPDIR) >/dev/null) 43$(shell mkdir -p $(DEPDIR) >/dev/null)
@@ -54,8 +54,8 @@ $(UNITOBJ)/%.o: %.c $(DEPDIR)/%.d
54 @mkdir -p $(UNITOBJ) 54 @mkdir -p $(UNITOBJ)
55 $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@ 55 $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@
56 @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d 56 @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d
57 57
58$(DEPDIR)/%.d: ; 58$(DEPDIR)/%.d: ;
59.PRECIOUS: $(DEPDIR)/%.d 59.PRECIOUS: $(DEPDIR)/%.d
60 60
61-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC))) \ No newline at end of file 61-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC)))
diff --git a/quantum/serial_link/tests/testlist.mk b/quantum/serial_link/tests/testlist.mk
index a80e88884..c5edaf478 100644
--- a/quantum/serial_link/tests/testlist.mk
+++ b/quantum/serial_link/tests/testlist.mk
@@ -3,4 +3,4 @@ TEST_LIST +=\
3 serial_link_frame_validator\ 3 serial_link_frame_validator\
4 serial_link_frame_router\ 4 serial_link_frame_router\
5 serial_link_triple_buffered_object\ 5 serial_link_triple_buffered_object\
6 serial_link_transport \ No newline at end of file 6 serial_link_transport
diff --git a/setup.cfg b/setup.cfg
index 9e178ad65..5ef2f9ba0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -336,4 +336,3 @@ split_penalty_logical_operator=300
336 336
337# Use the Tab character for indentation. 337# Use the Tab character for indentation.
338use_tabs=False 338use_tabs=False
339
diff --git a/testlist.mk b/testlist.mk
index ca1408806..0d7609b9f 100644
--- a/testlist.mk
+++ b/testlist.mk
@@ -15,4 +15,4 @@ define VALIDATE_TEST_LIST
15endef 15endef
16 16
17 17
18$(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST)))) \ No newline at end of file 18$(eval $(call VALIDATE_TEST_LIST,$(firstword $(TEST_LIST)),$(wordlist 2,9999,$(TEST_LIST))))
diff --git a/tests/basic/config.h b/tests/basic/config.h
index e5d018a32..99bd62d99 100644
--- a/tests/basic/config.h
+++ b/tests/basic/config.h
@@ -14,10 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#ifndef TESTS_BASIC_CONFIG_H_ 17#pragma once
18#define TESTS_BASIC_CONFIG_H_
19 18
20#define MATRIX_ROWS 4 19#define MATRIX_ROWS 4
21#define MATRIX_COLS 10 20#define MATRIX_COLS 10
22
23#endif /* TESTS_BASIC_CONFIG_H_ */
diff --git a/tests/basic/rules.mk b/tests/basic/rules.mk
index 8a906807c..9fb5d4361 100644
--- a/tests/basic/rules.mk
+++ b/tests/basic/rules.mk
@@ -13,4 +13,4 @@
13# You should have received a copy of the GNU General Public License 13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>. 14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
16CUSTOM_MATRIX=yes \ No newline at end of file 16CUSTOM_MATRIX=yes
diff --git a/tests/basic/test_macro.cpp b/tests/basic/test_macro.cpp
index a1fa31708..dc4a77796 100644
--- a/tests/basic/test_macro.cpp
+++ b/tests/basic/test_macro.cpp
@@ -68,4 +68,4 @@ TEST_F(Macro, PlayASimpleMacro) {
68 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).AT_TIME(210); 68 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport(KC_LSFT))).AT_TIME(210);
69 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).AT_TIME(220); 69 EXPECT_CALL(driver, send_keyboard_mock(KeyboardReport())).AT_TIME(220);
70 run_one_scan_loop(); 70 run_one_scan_loop();
71} \ No newline at end of file 71}
diff --git a/tests/test_common/keyboard_report_util.cpp b/tests/test_common/keyboard_report_util.cpp
index 245072c0e..cb044c92b 100644
--- a/tests/test_common/keyboard_report_util.cpp
+++ b/tests/test_common/keyboard_report_util.cpp
@@ -71,4 +71,4 @@ bool KeyboardReportMatcher::MatchAndExplain(report_keyboard_t& report, MatchResu
71 71
72void KeyboardReportMatcher::DescribeTo(::std::ostream* os) const { *os << "is equal to " << m_report; } 72void KeyboardReportMatcher::DescribeTo(::std::ostream* os) const { *os << "is equal to " << m_report; }
73 73
74void KeyboardReportMatcher::DescribeNegationTo(::std::ostream* os) const { *os << "is not equal to " << m_report; } \ No newline at end of file 74void KeyboardReportMatcher::DescribeNegationTo(::std::ostream* os) const { *os << "is not equal to " << m_report; }
diff --git a/tests/test_common/keyboard_report_util.hpp b/tests/test_common/keyboard_report_util.hpp
index 48543c205..2c33f0412 100644
--- a/tests/test_common/keyboard_report_util.hpp
+++ b/tests/test_common/keyboard_report_util.hpp
@@ -36,4 +36,4 @@ private:
36template<typename... Ts> 36template<typename... Ts>
37inline testing::Matcher<report_keyboard_t&> KeyboardReport(Ts... keys) { 37inline testing::Matcher<report_keyboard_t&> KeyboardReport(Ts... keys) {
38 return testing::MakeMatcher(new KeyboardReportMatcher(std::vector<uint8_t>({keys...}))); 38 return testing::MakeMatcher(new KeyboardReportMatcher(std::vector<uint8_t>({keys...})));
39} \ No newline at end of file 39}
diff --git a/tests/test_common/test_driver.hpp b/tests/test_common/test_driver.hpp
index c3ae17b1a..f86308df9 100644
--- a/tests/test_common/test_driver.hpp
+++ b/tests/test_common/test_driver.hpp
@@ -14,8 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17#ifndef TESTS_TEST_COMMON_TEST_DRIVER_H_ 17#pragma once
18#define TESTS_TEST_COMMON_TEST_DRIVER_H_
19 18
20#include "gmock/gmock.h" 19#include "gmock/gmock.h"
21#include <stdint.h> 20#include <stdint.h>
@@ -28,7 +27,7 @@ public:
28 TestDriver(); 27 TestDriver();
29 ~TestDriver(); 28 ~TestDriver();
30 void set_leds(uint8_t leds) { m_leds = leds; } 29 void set_leds(uint8_t leds) { m_leds = leds; }
31 30
32 MOCK_METHOD1(send_keyboard_mock, void (report_keyboard_t&)); 31 MOCK_METHOD1(send_keyboard_mock, void (report_keyboard_t&));
33 MOCK_METHOD1(send_mouse_mock, void (report_mouse_t&)); 32 MOCK_METHOD1(send_mouse_mock, void (report_mouse_t&));
34 MOCK_METHOD1(send_system_mock, void (uint16_t)); 33 MOCK_METHOD1(send_system_mock, void (uint16_t));
@@ -43,6 +42,3 @@ private:
43 uint8_t m_leds = 0; 42 uint8_t m_leds = 0;
44 static TestDriver* m_this; 43 static TestDriver* m_this;
45}; 44};
46
47
48#endif /* TESTS_TEST_COMMON_TEST_DRIVER_H_ */
diff --git a/tests/test_common/test_fixture.hpp b/tests/test_common/test_fixture.hpp
index fb37e440f..340503665 100644
--- a/tests/test_common/test_fixture.hpp
+++ b/tests/test_common/test_fixture.hpp
@@ -14,7 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16 16
17 #pragma once 17#pragma once
18 18
19#include "gtest/gtest.h" 19#include "gtest/gtest.h"
20 20
@@ -27,4 +27,4 @@ public:
27 27
28 void run_one_scan_loop(); 28 void run_one_scan_loop();
29 void idle_for(unsigned ms); 29 void idle_for(unsigned ms);
30}; \ No newline at end of file 30};
diff --git a/tmk_core/common/avr/xprintf.S b/tmk_core/common/avr/xprintf.S
index 06434b98d..c5a414c35 100644
--- a/tmk_core/common/avr/xprintf.S
+++ b/tmk_core/common/avr/xprintf.S
@@ -450,7 +450,7 @@ xatoi:
450 brcs 70f ;/ 450 brcs 70f ;/
451 cpi r22, 10 ;if(r22 >= 10) { 451 cpi r22, 10 ;if(r22 >= 10) {
452 brcs 53f ; r22 -= 7; 452 brcs 53f ; r22 -= 7;
453 subi r22, 7 ; if(r22 < 10) 453 subi r22, 7 ; if(r22 < 10)
454 cpi r22, 10 ; 454 cpi r22, 10 ;
455 brcs 70f ;} 455 brcs 70f ;}
45653: cp r22, r25 ;if(r22 >= r25) error; 45653: cp r22, r25 ;if(r22 >= r25) error;
@@ -496,5 +496,3 @@ xatoi:
496 ret 496 ret
497.endfunc 497.endfunc
498#endif 498#endif
499
500
diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c
index 18c6d6e17..5595eec0e 100644
--- a/tmk_core/common/chibios/sleep_led.c
+++ b/tmk_core/common/chibios/sleep_led.c
@@ -211,4 +211,4 @@ void sleep_led_toggle(void) {
211 // not implemented 211 // not implemented
212} 212}
213 213
214#endif /* platform selection */ \ No newline at end of file 214#endif /* platform selection */
diff --git a/tmk_core/common/test/timer.c b/tmk_core/common/test/timer.c
index 3c786ae29..61c3a0020 100644
--- a/tmk_core/common/test/timer.c
+++ b/tmk_core/common/test/timer.c
@@ -30,4 +30,4 @@ uint32_t timer_elapsed32(uint32_t last) { return TIMER_DIFF_32(timer_read32(), l
30void set_time(uint32_t t) { current_time = t; } 30void set_time(uint32_t t) { current_time = t; }
31void advance_time(uint32_t ms) { current_time += ms; } 31void advance_time(uint32_t ms) { current_time += ms; }
32 32
33void wait_ms(uint32_t ms) { advance_time(ms); } \ No newline at end of file 33void wait_ms(uint32_t ms) { advance_time(ms); }
diff --git a/tmk_core/protocol/chibios.mk b/tmk_core/protocol/chibios.mk
index 2070420f5..80554abb3 100644
--- a/tmk_core/protocol/chibios.mk
+++ b/tmk_core/protocol/chibios.mk
@@ -18,4 +18,3 @@ OPT_DEFS += -DFIXED_NUM_CONFIGURATIONS=1
18ifeq ($(strip $(MIDI_ENABLE)), yes) 18ifeq ($(strip $(MIDI_ENABLE)), yes)
19 include $(TMK_PATH)/protocol/midi.mk 19 include $(TMK_PATH)/protocol/midi.mk
20endif 20endif
21
diff --git a/util/new_keymap.sh b/util/new_keymap.sh
index 73cc9e8cc..c483314fd 100755
--- a/util/new_keymap.sh
+++ b/util/new_keymap.sh
@@ -37,4 +37,4 @@ printf "%s keymap directory created in: qmk_firmware/keyboards/%s/keymaps/\n\n"
37 37
38printf "Compile a firmware file with your new keymap by typing: \n" 38printf "Compile a firmware file with your new keymap by typing: \n"
39printf " make %s:%s\n" "$KB_PATH" "$USERNAME" 39printf " make %s:%s\n" "$KB_PATH" "$USERNAME"
40printf "from the qmk_firmware directory\n" \ No newline at end of file 40printf "from the qmk_firmware directory\n"