Go Down

Topic: Got a problem with a TFT include (Read 192 times) previous topic - next topic

singipennis

SET-UP: Mac OS X, LoL in D32 PRO and Wemos tft 1.4'' inch screen

After including TFT it says sth like this:

Code: [Select]
In file included from /Applications/Arduino.app/Contents/Java/libraries/TFT/src/utility/Adafruit_ST7735.cpp:20:0:
/Users/admin/Documents/Arduino/libraries/Adafruit_GFX_Library/avr/pgmspace.h:1529:25: error: 'uint_farptr_t' was not declared in this scope
 extern size_t strlen_PF(uint_farptr_t src) __ATTR_CONST__; /* program memory can't change */
                         ^
/Users/admin/Documents/Arduino/libraries/Adafruit_GFX_Library/avr/pgmspace.h:1545:26: error: 'uint_farptr_t' was not declared in this scope
 extern size_t strnlen_PF(uint_farptr_t src, size_t len) __ATTR_CONST__; /* program memory can't change */
                          ^
/Users/admin/Documents/Arduino/libraries/Adafruit_GFX_Library/avr/pgmspace.h:1545:52: error: expected primary-expression before 'len'
 extern size_t strnlen_PF(uint_farptr_t src, size_t len) __ATTR_CONST__; /* program memory can't change */
                                                    ^
/Users/admin/Documents/Arduino/libraries/Adafruit_GFX_Library/avr/pgmspace.h:94:49: error: expression list treated as compound expression in initializer [-fpermissive]
 #define __ATTR_CONST__ __attribute__((__const__))

pert

Please don't cross post!
http://forum.arduino.cc/index.php?topic=585179
I have reported this thread to the moderators.

Duplicate posts waste the time of the people helping you. I might spend 15 minutes writing a detailed answer on this thread, without knowing that someone already did the same in the other thread. This behavior is not very respectful to the people you're asking for assistance. Just because we give our time freely doesn't mean it has no value.

In the future, take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, which you would already know if you had read the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.

AWOL

#2
Dec 14, 2018, 10:46 pm Last Edit: Dec 14, 2018, 10:48 pm by AWOL
What s/he said - this is NOT a bootloader issue.

Go Up