howard-wa9axq
b8e11f14f1
Updated #if #elif structure.
...
Update #if #elif structure to avoid nested #ifdef's
2020-11-28 18:22:48 -06:00
howard-wa9axq
02b702fc41
Update Adafruit_SPIDevice.cpp
...
Changing #ifdef construct to make STM32 a special case.
2020-11-28 16:43:05 -06:00
howard-wa9axq
40ccbb3739
Update Adafruit_SPIDevice.cpp
2020-11-28 16:16:58 -06:00
howard-wa9axq
0787a7dd4d
Update Adafruit_SPIDevice.cpp
...
Adjusted syntax of added 'for' statement
2020-11-28 15:21:54 -06:00
howard-wa9axq
197d21ad2a
Update Adafruit_SPIDevice.cpp
...
Added code to define 'i'.
2020-11-28 15:05:52 -06:00
howard-wa9axq
a5c631593e
Update Adafruit_SPIDevice.cpp
...
The SPI.cpp that the STM32 project uses does not have a transfer method with both a buffer and a length. Changes to this file uses a transfer method that just needs a single 8 bit character.
2020-11-28 14:15:01 -06:00
DESKTOP\fahadmirza
0475316f1e
Added function description.
2020-11-28 05:55:37 -06:00
DESKTOP\fahadmirza
e19344e375
Applied clang formatting.
2020-11-28 05:25:16 -06:00
DESKTOP\fahadmirza
c85b682bf6
Buffer arguments of write functions are changed to const so that the functions cannot change the content of the buffer. Also, if the I2C device's register address are define using const rather than #define, the functions can accept those too.
2020-11-26 03:17:49 -06:00
Limor "Ladyada" Fried
5ef1481a1f
Merge pull request #36 from WereCatf/patch-1
...
Make compatible with Heltec's CubeCell Arduino-core
2020-11-23 17:41:07 -05:00
WereCatf
808cb38772
Update Adafruit_SPIDevice.h
2020-11-23 23:40:45 +02:00
WereCatf
031e1c2d31
Make compatible with Heltec's CubeCell Arduino-core
...
The functions fast pin-I/O uses are currently missing, so don't define BUSIO_USE_FAST_PINIO. Also, we need typedef for BitOrder, but it refuses to compile without also including Arduino.h, at least under PlatformIO.
2020-11-23 20:42:22 +02:00
Dylan Herrada
bbb893f51d
Bump to 1.6.0
2020-10-27 16:32:09 -04:00
Limor "Ladyada" Fried
701e7ece5a
Merge pull request #35 from SpenceKonde/patch-1
...
Fix support for megaTinyCore, add DxCore support
2020-10-23 17:41:17 -04:00
Spence Konde (aka Dr. Azzy)
c3be1c190b
Fix support for megaTinyCore, add DxCore support
...
Testing for the define from build.board is not a good test (I recently updated them to refer to the specific part, instead of just the number of pins, for example) - instead, test for the MEGATINYCORE define, which is defined by Arduino.h and will always be there , and will be for all future versions of megaTinyCore. Also added a test for DxCore, which supports the new AVR Dx-series parts, and does SPI bit order in the same way. I confirmed that the examples now compile again on megaTinyCore with this change - and now compile for DxCore as well
2020-10-23 17:25:24 -04:00
Dylan Herrada
467580a5b1
Bump to 1.5.0
2020-09-07 15:51:17 -04:00
Limor "Ladyada" Fried
8366070779
Merge pull request #33 from rgiese/master
...
Help library build with Spark/Particle
2020-09-04 16:32:40 -04:00
Robin Giese
dacc017bb6
Use blocking DMA for SPI transfer
2020-08-24 09:32:20 -07:00
Robin Giese
b8da0bd043
Formatting fixes
2020-08-23 21:44:10 -07:00
Robin Giese
2fce4a24f2
Version bump
2020-08-23 21:19:05 -07:00
Robin Giese
28cc900343
Help library compile for Spark/Particle
2020-08-23 21:18:19 -07:00
dherrada
ff953cc422
Bump to 1.4.1
2020-07-27 15:42:05 -04:00
Limor "Ladyada" Fried
7b93060f0f
Merge pull request #32 from MCUdude/master
...
Add support for more megaAVR targets
2020-07-22 18:49:30 -04:00
Hans
8af8000694
Add support for more megaAVR targets
...
Specifically ATmega4809/3209/1609/809 and ATmega4808/3208/1608/808
2020-07-22 21:43:03 +02:00
lady ada
e7fff533a3
add some delays to slow down fast bitbang on demand
2020-07-18 18:40:45 -04:00
lady ada
3ab09b4a46
clang
2020-07-18 15:58:19 -04:00
lady ada
a552fae34e
only write MOSI if its changed
2020-07-18 15:57:15 -04:00
lady ada
a830055740
remove extra shifts
2020-07-18 15:50:07 -04:00
lady ada
b1b5f031e7
shortcut to alt modes
2020-07-18 15:40:52 -04:00
lady ada
605d437891
simplifyi LSB/MSB handling for soft spi
2020-07-18 15:38:53 -04:00
lady ada
0b1dbbd0e4
add fast software spi
2020-07-18 14:18:07 -04:00
lady ada
d9b3d9a6d4
add manual begin/end transaction helpers for SPI
2020-07-18 12:16:42 -04:00
lady ada
2179775500
add begin/end transaction helpers (needed for really odd devices like SHARP memory display which has inverted CS)
2020-07-18 12:03:30 -04:00
dherrada
d984ecd0d2
Bump to 1.3.3
2020-06-30 15:30:37 -04:00
siddacious
f2a192c10b
Merge pull request #31 from adafruit/cachedval
...
add some basic caching support for chips with write-only registers
2020-06-30 11:45:55 -07:00
lady ada
11c6b2d3ba
clang
2020-06-30 14:10:12 -04:00
lady ada
780626ce54
add some basic caching support for chips with write-only registers
2020-06-30 14:00:20 -04:00
lady ada
22ea3a921c
fix dox
2020-05-30 20:50:06 -04:00
lady ada
03b2c978a4
make ifdef for SPI defs from over-greedy
2020-05-30 20:21:42 -04:00
lady ada
203b5a8405
Merge branch 'master' of github.com:adafruit/Adafruit_BusIO
2020-05-30 19:12:56 -04:00
lady ada
374b86a186
add attiny support
2020-05-30 19:12:24 -04:00
dherrada
420dd7266a
Bumped to 1.3.0
2020-05-25 14:01:29 -04:00
lady ada
124285b629
oops revert
2020-05-22 17:51:03 -04:00
lady ada
64802ab220
Merge branch 'master' of github.com:adafruit/Adafruit_BusIO
2020-05-22 17:50:26 -04:00
lady ada
8f3f8d3316
fix dep
2020-05-22 17:50:15 -04:00
Limor "Ladyada" Fried
a290640742
Merge pull request #26 from rjoomen/patch-1
...
Add Sony Spresense support to Adafruit_SPIDevice.h
2020-05-22 14:30:22 -04:00
Roelof
9cc2bcc2d7
Update Adafruit_SPIDevice.h for Sony Spresense.
...
Add support for the Sony Spresense architecture. This has no BitOrder enum, so it's added here.
2020-05-22 19:32:35 +02:00
Limor "Ladyada" Fried
3b77f67ae6
Merge pull request #25 from caternuson/iss24
...
Remove delay from write_then_read()
2020-05-20 15:54:58 -04:00
caternuson
b420dd6c54
update version
2020-05-20 12:34:36 -07:00
caternuson
0f76587660
remove delay
2020-05-20 12:29:49 -07:00