defragster
Senior Member+
The T4 tree doesn't have file :: wiring_private.h
Was going to try SSD1306 - and that came up.
Then this : T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\glcdfont.c:13:0: warning: "PROGMEM" redefined
Put this in :
Cascades to : T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h
>> That goes on with a couple other things in that file. All from dragging in SPI when I connect i2c.
Where this used to work:
NOTE: Test Verfiy build for T_3.2 and T_3.6 fail also with::
KurtE update - Crossed/Loopback SERIALX1.begin(4000000); and SERIALX5.begin(4000000); been running most of the last 24 hours! First half may have been 2 or 3 Mbaud before upped to 4 about 11 hours ago.
With 750,000 IntervalTimer [simple _isr{jj++;}] interrupts each 1.5 seconds and running a value to the 8 digit LedControl updated every 1 seconds.
All seems stable and good with IDE and T4 - MCU not hot - warm to touch ~96°.
Just added a split write to each of the two upper digits every 6 ms and shortened delay down to 200 ms from 500 ms each second - proportional drop in IntervalTimer _isr counts each shorter period to 600K printed on lower 6 digits of LED each second.
T:\arduino-1.8.8T4_146\hardware\teensy\avr\cores\teensy3\wiring_private.h:
1 /*
2: wiring_private.h - Internal header file.
3 Part of Arduino - http://www.arduino.cc/
Was going to try SSD1306 - and that came up.
Then this : T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\glcdfont.c:13:0: warning: "PROGMEM" redefined
Put this in :
Code:
[B]#elif defined(__IMXRT1052__)
#include <avr/pgmspace.h>[/B]
#else
#define PROGMEM
Cascades to : T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h
T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h: In function 'uint8_t _avr_spi_read()':
T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h:93:5: error: 'SPDR' was not declared in this scope
T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h:94:13: error: 'SPSR' was not declared in this scope
…
T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_GFX\Adafruit_SPITFT_Macros.h:94:24: error: 'SPIF' was not declared in this scope
>> That goes on with a couple other things in that file. All from dragging in SPI when I connect i2c.
Where this used to work:
Code:
#if defined (__AVR__) || defined([B]TEENSYDUINO[/B])
static inline uint8_t _avr_spi_read(void) __attribute__((always_inline));
static inline uint8_t _avr_spi_read(void) {
uint8_t r = 0;
SPDR = r;
while(!(SPSR & _BV(SPIF)));
r = SPDR;
NOTE: Test Verfiy build for T_3.2 and T_3.6 fail also with::
Code:
T:\arduino-1.8.8T4_146\hardware\teensy\avr\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:206:5: error: 'Wire' was not declared in this scope
KurtE update - Crossed/Loopback SERIALX1.begin(4000000); and SERIALX5.begin(4000000); been running most of the last 24 hours! First half may have been 2 or 3 Mbaud before upped to 4 about 11 hours ago.
With 750,000 IntervalTimer [simple _isr{jj++;}] interrupts each 1.5 seconds and running a value to the 8 digit LedControl updated every 1 seconds.
All seems stable and good with IDE and T4 - MCU not hot - warm to touch ~96°.
Just added a split write to each of the two upper digits every 6 ms and shortened delay down to 200 ms from 500 ms each second - proportional drop in IntervalTimer _isr counts each shorter period to 600K printed on lower 6 digits of LED each second.