forked from stivcen01/NesCat1.0_ESP32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
64 lines (57 loc) · 1.39 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
59
60
61
62
63
64
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env]
build_flags =
-Wno-narrowing
-Wno-comment
[env:nodemcu-32s]
platform = espressif32
;platform = espressif32@3.4.0
board = nodemcu-32s
framework = arduino
; Serial Monitor options
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_type = debug
; Library options
lib_deps =
; display
https://github.com/Bodmer/TFT_eSPI.git
https://github.com/schreibfaul1/ESP32-audioI2S.git
;https://github.com/kosme/arduinoFFT.git
; 16 bit io expander
https://github.com/blemasle/arduino-mcp23017.git
build_flags =
-Os
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-DUSER_SETUP_LOADED=1
; Define the TFT driver, pins etc here:
-DILI9341_DRIVER=1
-DTFT_RGB_ORDER=TFT_BGR
-DTFT_WIDTH=240
-DTFT_HEIGHT=320
-DTFT_MISO=19
-DTFT_MOSI=23
-DTFT_SCLK=18
;-DTFT_CS=5
-DTFT_DC=16
-DTFT_RST=17
;-DTFT_BL=21
;-DTOUCH_CS=22
-DLOAD_GLCD=1
-DLOAD_FONT2=1
-DLOAD_FONT4=1
-DLOAD_FONT6=1
-DLOAD_FONT7=1
-DLOAD_FONT8=1
-DLOAD_GFXFF=1
-DSMOOTH_FONT=1
-DSPI_FREQUENCY=40000000
-DESP32_DMA=1