-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
112 lines (102 loc) · 3.12 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
; 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
-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 = GFX
; default_envs = USB_Host_Camera_Screen
; default_envs = SY6970_OTG
; default_envs = RT9080
; default_envs = IIC_Scan_2
; default_envs = SD_Explorer_Music
; default_envs = Wifi_Music
; default_envs = Vibration_Motor
; default_envs = DMIC_ReadData
; default_envs = CST226SE
default_envs = Deep_Sleep_Wake_Up
; default_envs = DMIC_SD
; default_envs = PCF85063
; default_envs = PCF85063_Timer_INT
; default_envs = PCF85063_Scheduled_INT
; default_envs = Original_Test
; default_envs = Get_HTTP_Response_Time
; default_envs = WIFI_HTTP_Download_File
; default_envs = SY6970
; default_envs = WIFI_HTTP_Download_SD_file
; default_envs = SD_Music
; default_envs = LR1121_PingPong
; default_envs = LR1121_PingPong_2
; default_envs = Voice_Speaker
; default_envs = Voice_Codec2_Speaker
; default_envs = LR1121_Walkie_Talkie
; src_dir = debug/examples/${platformio.default_envs}
; default_envs = AW8624_RTP_EMR
; default_envs = AW8624_RAM_EMR
; default_envs = GFX_Camera_Screen_Proportion
; default_envs = Lvgl_CIT
; default_envs = Lvgl_Voice_Speaker
; default_envs = SD_File_Size
[env:GFX]
[env:USB_Host_Camera_Screen]
[env:SY6970_OTG]
[env:RT9080]
[env:IIC_Scan_2]
[env:SD_Explorer_Music]
[env:Wifi_Music]
[env:Vibration_Motor]
[env:DMIC_ReadData]
[env:CST226SE]
[env:Deep_Sleep_Wake_Up]
[env:DMIC_SD]
[env:PCF85063]
[env:PCF85063_Timer_INT]
[env:PCF85063_Scheduled_INT]
[env:Original_Test]
[env:Get_HTTP_Response_Time]
[env:WIFI_HTTP_Download_File]
[env:SY6970]
[env:WIFI_HTTP_Download_SD_file]
[env:SD_Music]
[env:LR1121_PingPong]
; build_flags =
; -D RADIOLIB_DEBUG_SPI
[env:LR1121_PingPong_2]
[env:Voice_Speaker]
[env:Voice_Codec2_Speaker]
[env:LR1121_Walkie_Talkie]
[env:AW8624_RTP_EMR]
[env:AW8624_RAM_EMR]
[env:GFX_Camera_Screen_Proportion]
[env:Lvgl_CIT]
[env:Lvgl_Voice_Speaker]
[env:SD_File_Size]