keyboard stuff
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move tmk_core/common/<plat> (#13918)

authored by

Joel Challis and committed by
GitHub
2728603f 43b9e23b

+54 -54
+4 -3
build_keyboard.mk
··· 388 388 include common_features.mk 389 389 include $(BUILDDEFS_PATH)/generic_features.mk 390 390 include $(TMK_PATH)/protocol.mk 391 - include $(TMK_PATH)/common.mk 391 + include $(PLATFORM_PATH)/common.mk 392 392 include $(BUILDDEFS_PATH)/bootloader.mk 393 393 394 394 SRC += $(patsubst %.c,%.clib,$(LIB_SRC)) ··· 404 404 endif 405 405 endif 406 406 407 - include $(TMK_PATH)/$(PLATFORM_KEY).mk 407 + include $(PLATFORM_PATH)/$(PLATFORM_KEY)/platform.mk 408 + -include $(PLATFORM_PATH)/$(PLATFORM_KEY)/flash.mk 409 + 408 410 ifneq ($(strip $(PROTOCOL)),) 409 411 include $(TMK_PATH)/protocol/$(strip $(shell echo $(PROTOCOL) | tr '[:upper:]' '[:lower:]')).mk 410 412 else 411 413 include $(TMK_PATH)/protocol/$(PLATFORM_KEY).mk 412 414 endif 413 - -include $(TOP_DIR)/platforms/$(PLATFORM_KEY)/flash.mk 414 415 415 416 # TODO: remove this bodge? 416 417 PROJECT_DEFS := $(OPT_DEFS)
+3 -3
build_test.mk
··· 54 54 55 55 include common_features.mk 56 56 include $(BUILDDEFS_PATH)/generic_features.mk 57 - include $(TMK_PATH)/common.mk 57 + include $(PLATFORM_PATH)/common.mk 58 58 include $(TMK_PATH)/protocol.mk 59 59 include $(QUANTUM_PATH)/debounce/tests/rules.mk 60 60 include $(QUANTUM_PATH)/sequencer/tests/rules.mk 61 - include $(TMK_PATH)/common/test/rules.mk 61 + include $(PLATFORM_PATH)/test/rules.mk 62 62 ifneq ($(filter $(FULL_TESTS),$(TEST)),) 63 63 include build_full_test.mk 64 64 endif ··· 73 73 $(TEST_OBJ)/$(TEST)_DEFS := $($(TEST)_DEFS) 74 74 $(TEST_OBJ)/$(TEST)_CONFIG := $($(TEST)_CONFIG) 75 75 76 - include $(TMK_PATH)/native.mk 76 + include $(PLATFORM_PATH)/$(PLATFORM_KEY)/platform.mk 77 77 include $(TMK_PATH)/rules.mk 78 78 79 79
+3 -1
common_features.mk
··· 33 33 34 34 VPATH += $(QUANTUM_DIR)/logging 35 35 # Fall back to lib/printf if there is no platform provided print 36 - ifeq ("$(wildcard $(TMK_PATH)/common/$(PLATFORM_KEY)/printf.mk)","") 36 + ifeq ("$(wildcard $(PLATFORM_PATH)/$(PLATFORM_KEY)/printf.mk)","") 37 37 include $(QUANTUM_PATH)/logging/print.mk 38 + else 39 + include $(PLATFORM_PATH)/$(PLATFORM_KEY)/printf.mk 38 40 endif 39 41 40 42 ifeq ($(strip $(DEBUG_MATRIX_SCAN_RATE_ENABLE)), yes)
+1 -1
docs/feature_layers.md
··· 45 45 46 46 Layers stack on top of each other in numerical order. When determining what a keypress does, QMK scans the layers from the top down, stopping when it reaches the first active layer that is not set to `KC_TRNS`. As a result if you activate a layer that is numerically lower than your current layer, and your current layer (or another layer that is active and higher than your target layer) has something other than `KC_TRNS`, that is the key that will be sent, not the key on the layer you just activated. This is the cause of most people's "why doesn't my layer get switched" problem. 47 47 48 - Sometimes, you might want to switch between layers in a macro or as part of a tap dance routine. `layer_on` activates a layer, and `layer_off` deactivates it. More layer-related functions can be found in [action_layer.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/action_layer.h). 48 + Sometimes, you might want to switch between layers in a macro or as part of a tap dance routine. `layer_on` activates a layer, and `layer_off` deactivates it. More layer-related functions can be found in [action_layer.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/action_layer.h). 49 49 50 50 ## Functions :id=functions 51 51
+1 -1
docs/fr-fr/faq_keymap.md
··· 6 6 7 7 Regardez [Keycodes](keycodes.md) pour une liste des keycodes disponibles. Certains keycodes spécifiques ont des documentations plus complètes de disponible. 8 8 9 - Les keycodes sont définies dans [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h). 9 + Les keycodes sont définies dans [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/keycode.h). 10 10 11 11 ## Quels sont les keycodes par défaut ? 12 12
+1 -1
docs/internals_gpio_control.md
··· 4 4 5 5 ## Functions :id=functions 6 6 7 - The following functions provide basic control of GPIOs and are found in `tmk_core/common/<platform>/gpio.h`. 7 + The following functions provide basic control of GPIOs and are found in `platforms/<platform>/gpio.h`. 8 8 9 9 |Function |Description | Old AVR Examples | Old ChibiOS/ARM Examples | 10 10 |------------------------|--------------------------------------------------|-------------------------------------------------|-------------------------------------------------|
+1 -1
docs/ja/faq_keymap.md
··· 10 10 ## どのキーコードを使えますか? 11 11 あなたが利用可能なキーコードのインデックスについては、[キーコード](ja/keycodes.md)を見てください。より広範なドキュメントがある場合は、そこからリンクしてあります。 12 12 13 - キーコードは実際には [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h) で定義されています。 13 + キーコードは実際には [common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/keycode.h) で定義されています。 14 14 15 15 ## デフォルトのキーコードとは何か? 16 16
+1 -1
docs/ja/feature_layers.md
··· 50 50 51 51 レイヤーは番号順に上に積み重なっています。キーの押下の動作を決定する時に、QMK は上から順にレイヤーを走査し、`KC_TRNS` に設定されていない最初のアクティブなレイヤーに到達すると停止します。結果として、現在のレイヤーよりも数値的に低いレイヤーをアクティブにし、現在のレイヤー(あるいはアクティブでターゲットレイヤーよりも高い別のレイヤー)に `KC_TRNS` 以外のものがある場合、それが送信されるキーであり、アクティブ化したばかりのレイヤー上のキーではありません。これが、ほとんどの人の "なぜレイヤーが切り替わらないのか" 問題の原因です。 52 52 53 - 場合によっては、マクロ内あるいはタップダンスルーチンの一部としてレイヤーを切り替えほうが良いかもしれません。`layer_on` はレイヤーをアクティブにし、`layer_off` はそれを非アクティブにします。もっと多くのレイヤーに関する関数は、[action_layer.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/action_layer.h) で見つけることができます。 53 + 場合によっては、マクロ内あるいはタップダンスルーチンの一部としてレイヤーを切り替えほうが良いかもしれません。`layer_on` はレイヤーをアクティブにし、`layer_off` はそれを非アクティブにします。もっと多くのレイヤーに関する関数は、[action_layer.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/action_layer.h) で見つけることができます。 54 54 55 55 ## 関数 :id=functions 56 56
+1 -1
docs/ja/pr_checklist.md
··· 27 27 - 「旧式の」 GPIO/I2C/SPI 関数を使用しない - 正当な理由がない限り、QMK の抽象化を使用しなければなりません (怠惰は正当な理由にはなりません) 28 28 - タイミングの抽象化にも従う必要があります: 29 29 - `_delay_ms()` のかわりに `wait_ms()` を。(`#include <util/delay.h>` も消します) 30 - - `timer_read()` と `timer_read32()` など。 -- タイミング API は [timer.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/timer.h) を参照してください 30 + - `timer_read()` と `timer_read32()` など。 -- タイミング API は [timer.h](https://github.com/qmk/qmk_firmware/blob/master/platforms/timer.h) を参照してください 31 31 - 新しい抽象化が有用だと思う場合は、次のことをお勧めします: 32 32 - 機能が完成するまで自分のキーボードでプロトタイプを作成する 33 33 - Discord の QMK コラボレータと話し合う
+1 -1
docs/pr_checklist.md
··· 24 24 - no "old-school" or other low-level GPIO/I2C/SPI functions may be used -- must use QMK abstractions unless justifiable (and laziness is not valid justification) 25 25 - timing abstractions should be followed too: 26 26 - `wait_ms()` instead of `_delay_ms()` (remove `#include <util/delay.h>` too) 27 - - `timer_read()` and `timer_read32()` etc. -- see [timer.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/timer.h) for the timing APIs 27 + - `timer_read()` and `timer_read32()` etc. -- see [timer.h](https://github.com/qmk/qmk_firmware/blob/master/platforms/timer.h) for the timing APIs 28 28 - if you think a new abstraction is useful, you're encouraged to: 29 29 - prototype it in your own keyboard until it's feature-complete 30 30 - discuss it with QMK Collaborators on Discord
+1 -1
docs/zh-cn/faq_keymap.md
··· 5 5 ## 我能用什么键码? 6 6 看[键码](keycodes.md)你可以找到你能用的键码索引。可以的话这些链接可以连接到更广泛的文档。 7 7 8 - 键码实际上定义在[common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/tmk_core/common/keycode.h). 8 + 键码实际上定义在[common/keycode.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/keycode.h). 9 9 10 10 ## 默认的键码什么样? 11 11
+1 -1
keyboards/ai03/orbit/split_util.c
··· 8 8 #include "quantum.h" 9 9 10 10 #ifdef EE_HANDS 11 - # include "tmk_core/common/eeprom.h" 11 + # include "eeprom.h" 12 12 # include "eeconfig.h" 13 13 #endif 14 14
+1 -1
keyboards/cannonkeys/satisfaction75/satisfaction75.c
··· 9 9 10 10 #include "raw_hid.h" 11 11 #include "dynamic_keymap.h" 12 - #include "tmk_core/common/eeprom.h" 12 + #include "eeprom.h" 13 13 #include "version.h" // for QMK_BUILDDATE used in EEPROM magic 14 14 15 15 /* Artificial delay added to get media keys to work in the encoder*/
+1 -1
keyboards/cannonkeys/satisfaction75/satisfaction_encoder.c
··· 1 1 #include "satisfaction75.h" 2 - #include "tmk_core/common/eeprom.h" 2 + #include "eeprom.h" 3 3 4 4 void pre_encoder_mode_change(){ 5 5 if(encoder_mode == ENC_MODE_CLOCK_SET){
+1 -1
keyboards/mxss/mxss.c
··· 17 17 */ 18 18 19 19 #include QMK_KEYBOARD_H 20 - #include "tmk_core/common/eeprom.h" 20 + #include "eeprom.h" 21 21 #include "action_layer.h" 22 22 #include "rgblight.h" 23 23 #include "via.h"
+1 -1
keyboards/mxss/mxss_frontled.c
··· 17 17 */ 18 18 19 19 #include "mxss_frontled.h" 20 - #include "tmk_core/common/eeprom.h" 20 + #include "eeprom.h" 21 21 #include "rgblight.h" 22 22 #include "via.h" 23 23 #include "version.h" // for QMK_BUILDDATE used in EEPROM magic
+1 -1
keyboards/wilba_tech/wt_main.c
··· 27 27 #include "via.h" 28 28 29 29 #ifndef VIA_ENABLE 30 - #include "tmk_core/common/eeprom.h" 30 + #include "eeprom.h" 31 31 #include "version.h" // for QMK_BUILDDATE used in EEPROM magic 32 32 #endif 33 33
+1 -1
keyboards/wilba_tech/wt_mono_backlight.c
··· 24 24 25 25 #include "progmem.h" 26 26 #include "quantum/color.h" 27 - #include "tmk_core/common/eeprom.h" 27 + #include "eeprom.h" 28 28 29 29 #include "via.h" // uses EEPROM address, lighting value IDs 30 30 #define MONO_BACKLIGHT_CONFIG_EEPROM_ADDR (VIA_EEPROM_CUSTOM_CONFIG_ADDR)
+1 -1
keyboards/wilba_tech/wt_rgb_backlight.c
··· 68 68 69 69 #include "progmem.h" 70 70 #include "quantum/color.h" 71 - #include "tmk_core/common/eeprom.h" 71 + #include "eeprom.h" 72 72 73 73 #include "via.h" // uses EEPROM address, lighting value IDs 74 74 #define RGB_BACKLIGHT_CONFIG_EEPROM_ADDR (VIA_EEPROM_CUSTOM_CONFIG_ADDR)
+3
paths.mk
··· 13 13 PLATFORM_DIR = platforms 14 14 PLATFORM_PATH = $(PLATFORM_DIR) 15 15 16 + PROTOCOL_DIR = protocol 17 + PROTOCOL_PATH = $(TMK_DIR)/$(PROTOCOL_DIR) 18 + 16 19 BUILDDEFS_DIR = builddefs 17 20 BUILDDEFS_PATH = $(BUILDDEFS_DIR) 18 21
+12
platforms/common.mk
··· 1 + PLATFORM_COMMON_DIR = $(PLATFORM_PATH)/$(PLATFORM_KEY) 2 + 3 + TMK_COMMON_SRC += \ 4 + $(PLATFORM_COMMON_DIR)/platform.c \ 5 + $(PLATFORM_COMMON_DIR)/suspend.c \ 6 + $(PLATFORM_COMMON_DIR)/timer.c \ 7 + $(PLATFORM_COMMON_DIR)/bootloader.c \ 8 + 9 + # Search Path 10 + VPATH += $(PLATFORM_PATH) 11 + VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY) 12 + VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)
+1 -1
quantum/debounce/tests/rules.mk
··· 16 16 DEBOUNCE_COMMON_DEFS := -DMATRIX_ROWS=4 -DMATRIX_COLS=10 -DDEBOUNCE=5 17 17 18 18 DEBOUNCE_COMMON_SRC := $(QUANTUM_PATH)/debounce/tests/debounce_test_common.cpp \ 19 - $(TMK_PATH)/common/test/timer.c 19 + $(PLATFORM_PATH)/$(PLATFORM_KEY)/timer.c 20 20 21 21 debounce_sym_defer_g_DEFS := $(DEBOUNCE_COMMON_DEFS) 22 22 debounce_sym_defer_g_SRC := $(DEBOUNCE_COMMON_SRC) \
+1 -1
quantum/dynamic_keymap.c
··· 16 16 17 17 #include "config.h" 18 18 #include "keymap.h" // to get keymaps[][][] 19 - #include "tmk_core/common/eeprom.h" 19 + #include "eeprom.h" 20 20 #include "progmem.h" // to read default from flash 21 21 #include "quantum.h" // for send_string() 22 22 #include "dynamic_keymap.h"
+1 -1
quantum/sequencer/tests/rules.mk
··· 8 8 $(QUANTUM_PATH)/sequencer/tests/midi_mock.c \ 9 9 $(QUANTUM_PATH)/sequencer/tests/sequencer_tests.cpp \ 10 10 $(QUANTUM_PATH)/sequencer/sequencer.c \ 11 - $(TMK_PATH)/common/test/timer.c 11 + $(PLATFORM_PATH)/$(PLATFORM_KEY)/timer.c
+1 -1
quantum/via.c
··· 44 44 45 45 #include "raw_hid.h" 46 46 #include "dynamic_keymap.h" 47 - #include "tmk_core/common/eeprom.h" 47 + #include "eeprom.h" 48 48 #include "version.h" // for QMK_BUILDDATE used in EEPROM magic 49 49 #include "via_ensure_keycode.h" 50 50
+3 -3
testlist.mk
··· 1 1 TEST_LIST = $(notdir $(patsubst %/rules.mk,%,$(wildcard $(ROOT_DIR)/tests/*/rules.mk))) 2 2 FULL_TESTS := $(TEST_LIST) 3 3 4 - include $(ROOT_DIR)/quantum/debounce/tests/testlist.mk 5 - include $(ROOT_DIR)/quantum/sequencer/tests/testlist.mk 6 - include $(ROOT_DIR)/tmk_core/common/test/testlist.mk 4 + include $(QUANTUM_PATH)/debounce/tests/testlist.mk 5 + include $(QUANTUM_PATH)/sequencer/tests/testlist.mk 6 + include $(PLATFORM_PATH)/test/testlist.mk 7 7 8 8 define VALIDATE_TEST_LIST 9 9 ifneq ($1,)
tmk_core/arm_atsam.mk platforms/arm_atsam/platform.mk
+1 -1
tmk_core/avr.mk platforms/avr/platform.mk
··· 163 163 else 164 164 make -C lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/ clean 165 165 $(QMK_BIN) generate-dfu-header --quiet --keyboard $(KEYBOARD) --output lib/lufa/Bootloaders/$(QMK_BOOTLOADER_TYPE)/Keyboard.h 166 - $(eval MAX_SIZE=$(shell n=`$(CC) -E -mmcu=$(MCU) -D__ASSEMBLER__ $(CFLAGS) $(OPT_DEFS) tmk_core/common/avr/bootloader_size.c 2> /dev/null | sed -ne 's/\r//;/^#/n;/^AVR_SIZE:/,$${s/^AVR_SIZE: //;p;}'` && echo $$(($$n)) || echo 0)) 166 + $(eval MAX_SIZE=$(shell n=`$(CC) -E -mmcu=$(MCU) -D__ASSEMBLER__ $(CFLAGS) $(OPT_DEFS) platforms/avr/bootloader_size.c 2> /dev/null | sed -ne 's/\r//;/^#/n;/^AVR_SIZE:/,$${s/^AVR_SIZE: //;p;}'` && echo $$(($$n)) || echo 0)) 167 167 $(eval PROGRAM_SIZE_KB=$(shell n=`expr $(MAX_SIZE) / 1024` && echo $$(($$n)) || echo 0)) 168 168 $(eval BOOT_SECTION_SIZE_KB=$(shell n=`expr $(BOOTLOADER_SIZE) / 1024` && echo $$(($$n)) || echo 0)) 169 169 $(eval FLASH_SIZE_KB=$(shell n=`expr $(PROGRAM_SIZE_KB) + $(BOOT_SECTION_SIZE_KB)` && echo $$(($$n)) || echo 0))
tmk_core/chibios.mk platforms/chibios/platform.mk
-16
tmk_core/common.mk
··· 1 - COMMON_DIR = common 2 - PLATFORM_COMMON_DIR = $(COMMON_DIR)/$(PLATFORM_KEY) 3 - 4 - TMK_COMMON_SRC += \ 5 - $(PLATFORM_COMMON_DIR)/platform.c \ 6 - $(PLATFORM_COMMON_DIR)/suspend.c \ 7 - $(PLATFORM_COMMON_DIR)/timer.c \ 8 - $(PLATFORM_COMMON_DIR)/bootloader.c \ 9 - 10 - # Use platform provided print if it exists 11 - -include $(TMK_PATH)/$(PLATFORM_COMMON_DIR)/printf.mk 12 - 13 - # Search Path 14 - VPATH += $(TMK_PATH)/$(COMMON_DIR) 15 - VPATH += $(TMK_PATH)/$(PLATFORM_COMMON_DIR) 16 - VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)
tmk_core/common/arm_atsam/_timer.h platforms/arm_atsam/_timer.h
tmk_core/common/arm_atsam/_wait.h platforms/arm_atsam/_wait.h
tmk_core/common/arm_atsam/atomic_util.h platforms/arm_atsam/atomic_util.h
tmk_core/common/arm_atsam/bootloader.c platforms/arm_atsam/bootloader.c
tmk_core/common/arm_atsam/eeprom.c platforms/arm_atsam/eeprom.c
tmk_core/common/arm_atsam/gpio.h platforms/arm_atsam/gpio.h
tmk_core/common/arm_atsam/pin_defs.h platforms/arm_atsam/pin_defs.h
tmk_core/common/arm_atsam/platform.c platforms/arm_atsam/platform.c
tmk_core/common/arm_atsam/platform_deps.h platforms/arm_atsam/platform_deps.h
tmk_core/common/arm_atsam/suspend.c platforms/arm_atsam/suspend.c
tmk_core/common/arm_atsam/timer.c platforms/arm_atsam/timer.c
tmk_core/common/atomic_util.h platforms/atomic_util.h
tmk_core/common/avr/_print.h platforms/avr/_print.h
tmk_core/common/avr/_timer.h platforms/avr/_timer.h
tmk_core/common/avr/_wait.h platforms/avr/_wait.h
tmk_core/common/avr/atomic_util.h platforms/avr/atomic_util.h
tmk_core/common/avr/bootloader.c platforms/avr/bootloader.c
tmk_core/common/avr/bootloader_size.c platforms/avr/bootloader_size.c
tmk_core/common/avr/gpio.h platforms/avr/gpio.h
tmk_core/common/avr/pin_defs.h platforms/avr/pin_defs.h
tmk_core/common/avr/platform.c platforms/avr/platform.c
tmk_core/common/avr/platform_deps.h platforms/avr/platform_deps.h
tmk_core/common/avr/printf.c platforms/avr/printf.c
tmk_core/common/avr/printf.mk platforms/avr/printf.mk
tmk_core/common/avr/sleep_led.c platforms/avr/sleep_led.c
tmk_core/common/avr/suspend.c platforms/avr/suspend.c
tmk_core/common/avr/timer.c platforms/avr/timer.c
tmk_core/common/avr/timer_avr.h platforms/avr/timer_avr.h
tmk_core/common/avr/xprintf.S platforms/avr/xprintf.S
tmk_core/common/avr/xprintf.h platforms/avr/xprintf.h
tmk_core/common/bootloader.h platforms/bootloader.h
tmk_core/common/chibios/_timer.h platforms/chibios/_timer.h
tmk_core/common/chibios/_wait.c platforms/chibios/_wait.c
tmk_core/common/chibios/_wait.h platforms/chibios/_wait.h
tmk_core/common/chibios/atomic_util.h platforms/chibios/atomic_util.h
tmk_core/common/chibios/bootloader.c platforms/chibios/bootloader.c
tmk_core/common/chibios/chibios_config.h platforms/chibios/chibios_config.h
tmk_core/common/chibios/eeprom_stm32.c platforms/chibios/eeprom_stm32.c
tmk_core/common/chibios/eeprom_stm32.h platforms/chibios/eeprom_stm32.h
tmk_core/common/chibios/eeprom_stm32_defs.h platforms/chibios/eeprom_stm32_defs.h
tmk_core/common/chibios/eeprom_teensy.c platforms/chibios/eeprom_teensy.c
tmk_core/common/chibios/flash_stm32.c platforms/chibios/flash_stm32.c
tmk_core/common/chibios/flash_stm32.h platforms/chibios/flash_stm32.h
tmk_core/common/chibios/gd32v_compatibility.h platforms/chibios/gd32v_compatibility.h
tmk_core/common/chibios/gpio.h platforms/chibios/gpio.h
tmk_core/common/chibios/pin_defs.h platforms/chibios/pin_defs.h
tmk_core/common/chibios/platform.c platforms/chibios/platform.c
tmk_core/common/chibios/platform_deps.h platforms/chibios/platform_deps.h
tmk_core/common/chibios/sleep_led.c platforms/chibios/sleep_led.c
tmk_core/common/chibios/suspend.c platforms/chibios/suspend.c
tmk_core/common/chibios/syscall-fallbacks.c platforms/chibios/syscall-fallbacks.c
tmk_core/common/chibios/timer.c platforms/chibios/timer.c
tmk_core/common/chibios/wait.c platforms/chibios/wait.c
tmk_core/common/eeprom.h platforms/eeprom.h
tmk_core/common/gpio.h platforms/gpio.h
tmk_core/common/pin_defs.h platforms/pin_defs.h
tmk_core/common/progmem.h platforms/progmem.h
tmk_core/common/sleep_led.h platforms/sleep_led.h
tmk_core/common/suspend.h platforms/suspend.h
tmk_core/common/test/_wait.h platforms/test/_wait.h
tmk_core/common/test/bootloader.c platforms/test/bootloader.c
tmk_core/common/test/eeprom.c platforms/test/eeprom.c
tmk_core/common/test/eeprom_stm32_tests.cpp platforms/test/eeprom_stm32_tests.cpp
tmk_core/common/test/flash_stm32_mock.c platforms/test/flash_stm32_mock.c
tmk_core/common/test/hal.h platforms/test/hal.h
tmk_core/common/test/platform.c platforms/test/platform.c
tmk_core/common/test/platform.h platforms/test/platform.h
tmk_core/common/test/platform_deps.h platforms/test/platform_deps.h
+4 -4
tmk_core/common/test/rules.mk platforms/test/rules.mk
··· 11 11 -DFEE_PAGE_COUNT=16 12 12 13 13 eeprom_stm32_INC := \ 14 - $(TMK_PATH)/common/chibios/ 14 + $(PLATFORM_PATH)/chibios/ 15 15 eeprom_stm32_tiny_INC := $(eeprom_stm32_INC) 16 16 eeprom_stm32_large_INC := $(eeprom_stm32_INC) 17 17 18 18 eeprom_stm32_SRC := \ 19 19 $(TOP_DIR)/drivers/eeprom/eeprom_driver.c \ 20 - $(TMK_PATH)/common/test/eeprom_stm32_tests.cpp \ 21 - $(TMK_PATH)/common/test/flash_stm32_mock.c \ 22 - $(TMK_PATH)/common/chibios/eeprom_stm32.c 20 + $(PLATFORM_PATH)/$(PLATFORM_KEY)/eeprom_stm32_tests.cpp \ 21 + $(PLATFORM_PATH)/$(PLATFORM_KEY)/flash_stm32_mock.c \ 22 + $(PLATFORM_PATH)/chibios/eeprom_stm32.c 23 23 eeprom_stm32_tiny_SRC := $(eeprom_stm32_SRC) 24 24 eeprom_stm32_large_SRC := $(eeprom_stm32_SRC)
tmk_core/common/test/suspend.c platforms/test/suspend.c
tmk_core/common/test/testlist.mk platforms/test/testlist.mk
tmk_core/common/test/timer.c platforms/test/timer.c
tmk_core/common/timer.h platforms/timer.h
tmk_core/common/wait.h platforms/wait.h
tmk_core/native.mk platforms/test/platform.mk
-2
tmk_core/protocol.mk
··· 1 - PROTOCOL_DIR = protocol 2 - 3 1 TMK_COMMON_SRC += \ 4 2 $(PROTOCOL_DIR)/host.c \ 5 3 $(PROTOCOL_DIR)/report.c \
+1 -1
tmk_core/rules.mk
··· 479 479 SIZE_MARGIN = 1024 480 480 481 481 check-size: 482 - $(eval MAX_SIZE=$(shell n=`$(CC) -E -mmcu=$(MCU) -D__ASSEMBLER__ $(CFLAGS) $(OPT_DEFS) tmk_core/common/avr/bootloader_size.c 2> /dev/null | sed -ne 's/\r//;/^#/n;/^AVR_SIZE:/,$${s/^AVR_SIZE: //;p;}'` && echo $$(($$n)) || echo 0)) 482 + $(eval MAX_SIZE=$(shell n=`$(CC) -E -mmcu=$(MCU) -D__ASSEMBLER__ $(CFLAGS) $(OPT_DEFS) platforms/avr/bootloader_size.c 2> /dev/null | sed -ne 's/\r//;/^#/n;/^AVR_SIZE:/,$${s/^AVR_SIZE: //;p;}'` && echo $$(($$n)) || echo 0)) 483 483 $(eval CURRENT_SIZE=$(shell if [ -f $(BUILD_DIR)/$(TARGET).hex ]; then $(SIZE) --target=$(FORMAT) $(BUILD_DIR)/$(TARGET).hex | $(AWK) 'NR==2 {print $$4}'; else printf 0; fi)) 484 484 $(eval FREE_SIZE=$(shell expr $(MAX_SIZE) - $(CURRENT_SIZE))) 485 485 $(eval OVER_SIZE=$(shell expr $(CURRENT_SIZE) - $(MAX_SIZE)))