-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
76 lines (62 loc) · 2.02 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
65
66
67
68
69
70
71
72
73
74
75
76
; 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]
platform = espressif32 @6.5.0
board = esp32s3_flash_16MB
framework = arduino
monitor_speed = 115200 ;Serial Baud Rate Setting
; debug_tool = esp-builtin
; upload_protocol = esp-builtin
upload_speed = 921600 ; 460800, 512000, 460800, 256000, 115200
board_upload.flash_size = 16MB
; board_build.memory_type = qio_opi ;Enable internal PSRAM
board_build.memory_type = qio_qspi ;Enable external PSRAM
board_build.partitions = default_16MB.csv
build_flags =
-Wall ;all errors that everybody could agree on
-Wextra ;somebody agree on
; -Werror ;Think of "Warning" as "Error".
-D CORE_DEBUG_LEVEL=1 ;Debug level 0-5
-D BOARD_HAS_PSRAM ;Enable external PSRAM
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1 ;1 is to use the USB port as a serial port
-D ARDUINO_RUNNING_CORE=1 ; Arduino Runs On Core (setup, loop)
-D ARDUINO_EVENT_RUNNING_CORE=1 ; Events Run On Core
[platformio]
boards_dir = ./boards
lib_dir = ./libraries
src_dir = examples/${platformio.default_envs}
; default_envs = SD
; default_envs = GFX_PDQ
; default_envs = IIC_Scan_2
; default_envs = Wifi
default_envs = T-Panel-Lite_Test
; default_envs = SD_MJPEG
; src_dir = debug/examples/${platformio.default_envs}
; default_envs = IIC_Scan
; default_envs = IO
; default_envs = GFX_Image
; default_envs = CST3240
; default_envs = GFX_CST3240_Image
; default_envs = Chip_Scan
; default_envs = LCD_Refresh
[env:SD]
[env:GFX_PDQ]
[env:IIC_Scan_2]
[env:Wifi]
[env:T-Panel-Lite_Test]
[env:SD_MJPEG]
[env:IIC_Scan]
[env:IO]
[env:GFX_Image]
[env:CST3240]
[env:GFX_CST3240_Image]
[env:Chip_Scan]
[env:LCD_Refresh]