Skip to content

Commit

Permalink
adds teensy 3.5 and teensy 3.6 chips
Browse files Browse the repository at this point in the history
  • Loading branch information
neroroxxx authored Mar 20, 2019
1 parent ce46015 commit c074f30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utility/hal_aci_tl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Use the REVERSE_BITS macro to convert from MSBit to LSBit
The outgoing command and the incoming event needs to be converted
*/
//Board dependent defines
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)|| defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
//For Arduino add nothing
#elif defined(__PIC32MX__)
//For ChipKit as the transmission has to be reversed, the next definitions have to be added
Expand Down Expand Up @@ -401,7 +401,7 @@ void hal_aci_tl_init(aci_pins_t *a_pins, bool /*debug*/)
SPI.begin();
#if !defined(SPI_HAS_TRANSACTION) || defined(__SAMD21G18A__)
//Board dependent defines
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
//For Arduino use the LSB first
SPI.setBitOrder(LSBFIRST);
#elif defined(__PIC32MX__)
Expand Down Expand Up @@ -478,7 +478,7 @@ bool hal_aci_tl_send(hal_aci_data_t *p_aci_cmd)
static uint8_t spi_readwrite(const uint8_t aci_byte)
{
//Board dependent defines
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)
#if defined (__AVR__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)
//For Arduino the transmission does not have to be reversed
return SPI.transfer(aci_byte);
#elif defined(__PIC32MX__)
Expand Down

0 comments on commit c074f30

Please sign in to comment.