@Paul - Things for the good explanation of all of those other test points... Plus how the boards are tested.
The Card - Looks good enough to me. I like @defragsters comments but, I would not hold up shipping to spend more time yet.
@defragster and @Paul plus @all - With Adafruit and GFX and the warning about PROGMEM.
Not sure of the right fix for the message:
'
First pass was to edit glcdfont.c to not define it in the case of T4:
Like:
Code:
#ifndef FONT5X7_H
#define FONT5X7_H
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
#include <pgmspace.h>
[COLOR="#FF0000"]#elif defined(__IMXRT1052__) || defined(__IMXRT1062__)
// PROGMEM is defefind for T4 to place data in specific memory section[/COLOR]
#else
#define PROGMEM
#endif
// Standard ASCII 5x7 font
static const unsigned char font[] PROGMEM = {
But that gives a compiler error:
Code:
C:\Users\kurte\Documents\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c:20:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'
static const unsigned char font[] PROGMEM = {
^
Obviously I can rid myself of both warning and error like:
Code:
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
#include <pgmspace.h>
#elif defined(__IMXRT1052__) || defined(__IMXRT1062__)
// PROGMEM is defefind for T4 to place data in specific memory section
#undef PROGMEM
#define PROGMEM
#else
#define PROGMEM
#endif
But is that what we expect?
@all Hacked up version (first pass) of ST7735_t3 library that compiles and works with my Adafruit_GFX changes mentioned earlier.
So far only pass 1, where I use SPI.transfer() to do the transfers... Also I don't yet have code in to handle putting the display on NON SPI (MOSI, SCLK) pins.
I did however make it work on SPI2 (and probably SPI1, not setup to test yet)...
Will probably do another pass to make use of the T4's SPI FIFO queues. Maybe does not help as much as T3.x where we can encode DC, CS data, but still may help some...
Current version up at:
https://github.com/KurtE/ST7735_t3/tree/T4_beta