ladyada
c2c9321319
doxyplaint
2019-10-18 12:21:45 -04:00
ladyada
1b91a1705f
fix SAMD21 definition and turn on DMA for CPX (gizmo is big) - tested with ST7789 gizmo
2019-10-18 12:12:04 -04:00
ladyada
1877a6358c
fix nrf52
2019-10-17 23:40:09 -04:00
ladyada
8335bb3e13
typofix
2019-10-17 15:07:46 -04:00
ladyada
8596d46bce
since now we have SPI DMA for nrf, we need to add some more #define's
2019-10-17 15:05:39 -04:00
Ladyada
e3073d243f
add ability to change SPI speed after init
2019-09-13 00:10:35 -04:00
Ladyada
3a48b56fa8
add hallowingm4 dma
2019-08-10 21:54:33 -04:00
Ruben van Leeuwen
bb020872cd
Replaced the "GFX DMA IS ENABLED" pragma message ( #238 )
...
* Update Adafruit_SPITFT.cpp
* Update Adafruit_SPITFT.h
2019-07-18 12:39:49 -04:00
prenticedavid
78cca383c6
rename PORT_t to avoid conflict with AVR8X io.h headers
2019-07-03 00:22:32 +01:00
KurtE
0e92646066
Teensy T4.0 support ( #232 )
...
The Teensy T4 (__IMXRT1062__) port registers need to be 32 bits unlike the Teensy 3.x which are 8 bits.
adafruit_ili9341 and adafruit_st7735 libraries graphic test
Removed compiler warning
that PROGMEM was previously defined. So undefine it first...
Note: Thought of simply doing nothing here
(do neither the #undef nor the #define).
But that gives compiler error
Teensy T4 - Make Bit Bang version work.
With T4, the Port/Set registers are masks not single value.
So need to setup those class variables:
Also found that bitbang of T4, was too fast for display, so put in same slow
down that ESP32 has, which gets the clock down to mayby 12.5mhz
Tried these changes out with both:
adafruit_ili9341 and adafruit_st7735 libraries graphic test
Update comments
2019-06-27 17:50:37 -04:00
ladyada
eabd137291
enable DMA on arcada boards
2019-06-01 00:23:39 -04:00
Phillip Burgess
a103ad28a2
Restore hwspi._mode at the end of all DMA transfers
2019-05-17 23:32:23 -07:00
Phillip Burgess
5fa33d0020
Add hooks for SPI data mode
2019-05-17 22:25:09 -07:00
Melissa LeBlanc-Williams
de85b7696f
Added readcommand8 to GFX ( #220 )
2019-05-10 18:12:05 -04:00
ladyada
1b033808ab
turns out having two things named tft8 makes subclassing very :(
2019-04-27 16:49:15 -04:00
Melissa LeBlanc-Williams
35055667c4
added the sendCommand function ( #209 )
...
* Added sendCommand for SPI abstraction
2019-04-13 17:56:36 -04:00
Phillip Burgess
605474e3ca
Add bigEndian flag to writePixels()
2019-03-23 18:13:55 -07:00
Phillip Burgess
4c7192b197
Fix error with pre-C++11 compilers
2019-03-18 13:34:23 -07:00
Phillip Burgess
026c152d45
Conditional compile SAMD51 parallel code
2019-03-17 19:43:48 -07:00
Phillip Burgess
fe6266e2a8
Bump version #, enable DMA by default on PyPortal
2019-03-17 18:57:03 -07:00
Phillip Burgess
1bd0463d15
Add non-blocking DMA option in writePixels()
2019-03-17 18:15:27 -07:00
Phillip Burgess
054d3bae53
Appease the ESP8266 compiler
2019-03-02 17:29:20 -08:00
Phillip Burgess
c6dba9b94a
More Doxygen happiness
2019-03-01 20:05:15 -08:00
Phillip Burgess
4abba955a7
Doxygen cleanup
2019-03-01 19:51:40 -08:00
Phillip Burgess
3aafb3d2cf
WIP fixes for Teensy 3.2
2019-03-01 15:31:16 -08:00
Phillip Burgess
0107025e4c
WIP, constructor disambiguation via enum
2019-03-01 10:16:15 -08:00
Phillip Burgess
fc0f1a739d
WIP still not good
2019-02-28 16:41:56 -08:00
Phillip Burgess
87af85ff61
Problems still, don't use
2019-02-27 11:15:27 -08:00
Phillip Burgess
6b5e177fb1
WIP do not use yet!
2019-02-26 21:35:12 -08:00
Phillip Burgess
25b3d5e4a3
Add TFT8 class
2019-01-31 15:17:08 -08:00
Phillip Burgess
387d7800e6
Experimental SPI DMA support on SAMD (disabled by default)
2018-12-11 20:25:34 -08:00
Phillip Burgess
25612a9f03
Disable SPI DMA by default!
2018-12-10 15:02:33 -08:00
Phillip Burgess
c21979066c
Similar change in writePixels()
2018-12-10 10:58:59 -08:00
Phillip Burgess
555c82160a
Change DMA polling behavior.
2018-12-06 18:29:12 -08:00
Phillip Burgess
860cd24319
SPITFT: initial DMA support (disabled by default), very beta-y
2018-12-06 17:40:49 -08:00
Phillip Burgess
85cc1d9508
Move 'writeCommand' and others from protected to pricate (eyes code and others are using these)
2018-11-29 11:59:07 -08:00
Phillip Burgess
9bdc390458
Fixes for WICED Feather hardware SPI
2018-11-16 22:09:07 -08:00
Phillip Burgess
882290442a
Some incomplete WICED work; not bumping version # yet
2018-11-15 19:14:23 -08:00
ladyada
f5e164945b
add support for selective SPI device!
2018-11-03 17:39:10 -04:00
Phillip Burgess
a34c5947d9
SPITFT: don't USE_FAST_PINIO on WICED
2018-08-10 23:22:53 -07:00
Shawn A
6e9ad92b95
esp use_faast_pinio undef
...
This was never an issue until include macro was moved to below the definition, masked before 1.2.6
2018-07-27 11:55:29 -05:00
Kurt Eckhardt
a21e561673
Fix compile errors USE_FAST_PINIO + compile on Robotis boards
...
There were a couple of compile issus when you are trying to use a different board which requires you not to use fast pinio. In particular Robotis OpenCM9.04 as well as the OpenCR 1.0 boards.
They are STM32 based __arm__ boards but do not have the support for setting/clearing IO pins using memory mapped access to one location.
First thing I ran into was the code in the #else casue was using
#undefine
which is not valid, should be #undef
Second issue is once this define was undefined, the #defines for SPI_CS_HIGH
and SPI_CS_LOW did not compile as there was no ; at the end of the digitalWrite.
Probably worked earlier until somone put this statement into a {} pair
2018-07-26 10:36:31 -07:00
ladyada
b2cc77a13b
woops accidentally slowed down bitbang SPI
2018-07-14 23:05:47 -04:00
ladyada
7f2d11709c
fix inlineing complaints for writepixel
2018-07-14 16:57:42 -04:00
ladyada
cf1e1b0521
woops turns out some SPI displays dont use this format, so make it virtual
2018-07-14 16:01:33 -04:00
ladyada
ebb199c1e4
fixed fastio for esp, undef for anything else
2018-07-14 15:39:11 -04:00
ladyada
5614790a99
*falls over*
2018-07-14 15:21:57 -04:00
ladyada
57860992d4
support optimized bitbang spi
2018-07-14 02:08:49 -04:00
ladyada
0d06686d45
move invert display and setaddrwindow to superclass
2018-07-14 02:02:02 -04:00
ladyada
d4ea436155
added generic SPI TFT wrapper
2017-09-25 22:35:26 -04:00