-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
58 lines (57 loc) · 2.32 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
; PlatformIO Project Configuration File for ThingPulse Color Kit Grande
;
; Documentation: https://docs.thingpulse.com/guides/esp32-color-kit-grande/
;
; Additional PlatformIO options and examples: https://docs.platformio.org/page/projectconf.html
[env:thingpulse-color-kit-grande]
platform = espressif32@~6.4.0
board = esp-wrover-kit
framework = arduino
; Adjust port and speed to your system and its capabilities e.g. "upload_port = COM3" on Windows.
; To list all availble ports you may also run 'pio device list' in the Visual Studio Code terminal window.
; In most cases you should be able to leave this commented out and thus rely on the auto-detect mode.
; upload_port = /dev/tty.wchusbserial54790238451
; monitor_port = /dev/tty.wchusbserial54790238451
monitor_speed = 115200
; For your OS & driver combination you might have to lower this to 921600 or even 460800.
upload_speed = 1500000
monitor_filters = esp32_exception_decoder, time
build_flags =
; core flags
-DCORE_DEBUG_LEVEL=5
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
; TFT_eSPI flags
; Below we replicate the flags from TFT_eSPI/User_Setups/Setup21_ILI9488.h.
; You can't mix'n match from their .h and -D here.
-D USER_SETUP_LOADED=1 # 1 => will not load User_Setup.h from TFT_eSPI but rely on the flags defined here
-D ILI9488_DRIVER=1
-D TFT_MISO=19
-D TFT_MOSI=18
-D TFT_SCLK=05
-D TFT_CS=15
-D TFT_DC=2
-D TFT_RST=4
-D TFT_BL=32
; As we're using OpenFontRender we don't need any of the TFT_eSPI built-in fonts.
; Font descriptions at TFT_eSPI/User_Setups/Setup21_ILI9488.h
-D LOAD_GLCD=0
-D LOAD_FONT2=0
-D LOAD_FONT4=0
-D LOAD_FONT6=0
-D LOAD_FONT7=0
-D LOAD_FONT8=0
-D LOAD_GFXFF=0
-D SMOOTH_FONT=1
-D SPI_FREQUENCY=27000000
; required if you include OpenFontRender and build on macOS
-I /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/**
board_build.partitions = no_ota.csv
board_build.filesystem = littlefs
lib_deps =
arkhipenko/TaskScheduler@~3.7.0
bodmer/TFT_eSPI@~2.5.30
bodmer/TJpg_Decoder@~1.0.8
https://github.com/Bodmer/OpenFontRender#f163cc6 ; no tags or releases to reference :( -> pin to Git revision
bblanchon/ArduinoJson@~6.21.3
https://github.com/witnessmenow/spotify-api-arduino#899502c ; https://github.com/witnessmenow/spotify-api-arduino/issues/61