]> git.donarmstrong.com Git - qmk_firmware.git/commit
Bringing Massdrop keyboard hardware configuration to keyboard level (#4593)
authorpatrickmt <40182064+patrickmt@users.noreply.github.com>
Mon, 10 Dec 2018 19:28:06 +0000 (14:28 -0500)
committerDrashna Jaelre <drashna@live.com>
Mon, 10 Dec 2018 19:28:06 +0000 (11:28 -0800)
commit4a5e68f4f29b0c4c75a68b5958dff197f4ac0f53
tree28f1743798df9f2af66d938c578dc991d70019d9
parente99615b2acb473fc4a23886b87abe61c80faa1bc
Bringing Massdrop keyboard hardware configuration to keyboard level (#4593)

MCU Pins for debugging, LED, boot tracing, and shift registers are now configurable at keyboard level.
Macros led_* replaced by DBG_LED_*
Macros m15_* replaced by DBG_1_*
Macros m27_* replaced by DBG_2_*
Macros m28_* replaced by DBG_3_*
For CTRL and ALT keyboards, debug boot tracing pin default now set to pad M27 instead of M28 since although M28 is not being used, it is technically a signal for USB port detection.
m15_print(...) renamed to dbg_print(...) to get away from hard coded port names.
dbg_print function now follows similar pattern to debug led output.
12 files changed:
keyboards/massdrop/alt/config.h
keyboards/massdrop/alt/matrix.c
keyboards/massdrop/ctrl/config.h
keyboards/massdrop/ctrl/matrix.c
tmk_core/protocol/arm_atsam/d51_util.c
tmk_core/protocol/arm_atsam/d51_util.h
tmk_core/protocol/arm_atsam/i2c_master.c
tmk_core/protocol/arm_atsam/led_matrix.c
tmk_core/protocol/arm_atsam/main_arm_atsam.c
tmk_core/protocol/arm_atsam/spi.c
tmk_core/protocol/arm_atsam/spi.h
tmk_core/protocol/arm_atsam/usb/usb2422.c