diff options
author | Ryan <fauxpark@gmail.com> | 2020-04-08 11:04:31 +1000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-06-12 17:00:27 +0900 |
commit | 7777c0454712128670f98a5c7f62da01f7c0aa58 (patch) | |
tree | 5e1e4d686e19282aff384fb0de576f325ec3ef4b /tmk_core/protocol/lufa.mk | |
parent | 09e02e644e4a48d1b4ed1bf343da922192f8d7ec (diff) |
spi_master for AVR (#8299)
* Change _delay_ms/us() to wait_ms/us()
* Switch to platform-agnostic GPIO macros
* Add AVR spi_master and migrate Adafruit BLE code
* Set verbose back to false
* Add clock divisor, bit order and SPI mode configuration for init
* Add start and stop functions
* Move configuration of mode, endianness and speed to `spi_start()`
* Some breaks here would be good
* Default Adafruit BLE clock divisor to 4 (2MHz on the Feather 32U4)
* Remove mode and divisor enums
* Add some docs
* No hr at EOF
* Add links in sidebar
Diffstat (limited to 'tmk_core/protocol/lufa.mk')
-rw-r--r-- | tmk_core/protocol/lufa.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk index d7d1d9ffcc..d87802992e 100644 --- a/tmk_core/protocol/lufa.mk +++ b/tmk_core/protocol/lufa.mk @@ -29,6 +29,7 @@ ifeq ($(strip $(BLUETOOTH_ENABLE)), yes) endif ifeq ($(strip $(BLUETOOTH)), AdafruitBLE) + LUFA_SRC += spi_master.c LUFA_SRC += analog.c LUFA_SRC += $(LUFA_DIR)/adafruit_ble.cpp endif |