Skip to content

undefined reference to `Arduino_ESP32SPI::Arduino_ESP32SPI #77

Closed Answered by MrDomingo
MrDomingo asked this question in Q&A
Discussion options

You must be logged in to vote

Resolved it. Switched to Platform IO and that allowed me to investigate more effectively.
Basically I needed to follow guide more closely. This worked for me:

#define CONFIG_IDF_TARGET_ESP32 true

#define TFT_CS 5
#define TFT_DC 27
#define TFT_RST 33
#define TFT_BL 22

#include <Arduino_GFX_Library.h>

/* More dev device declaration: https://github.com/moononournation/Arduino_GFX/wiki/Dev-Device-Declaration */
#if defined(DISPLAY_DEV_KIT)
Arduino_GFX gfx = create_default_Arduino_GFX();
#else /
!defined(DISPLAY_DEV_KIT) */

/* More data bus class: https://github.com/moononournation/Arduino_GFX/wiki/Data-Bus-Class */
Arduino_DataBus *bus = create_default_Arduino_DataBus();

/* More display class:

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@moononournation
Comment options

@MrDomingo
Comment options

@moononournation
Comment options

@MrDomingo
Comment options

@moononournation
Comment options

Answer selected by moononournation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants