-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplatformio.ini
More file actions
60 lines (51 loc) · 1.43 KB
/
Copy pathplatformio.ini
File metadata and controls
60 lines (51 loc) · 1.43 KB
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
; 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:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
monitor_speed = 115200
framework = arduino
; N16R8(FLASH 16 MB \ PSRAM 8MB)
; 指定为 16MB 的 FLASH 分区表
board_build.arduino.partitions = default_16MB.csv
; 指定FLASH和PSRAM的运行模式
board_build.arduino.memory_type = qio_opi
; 预定义宏,启用 PSRAM
; ; 启用 ESP_LOG
; build_unflags =
; -D ARDUINO_USB_MODE=1
; lib_ldf_mode = deep+
build_flags =
-D BOARD_HAS_PSRAM
-D ESP32
-D CONFIG_IDF_TARGET_ESP32S3
-D ESP32_DMA
-D MY_DISP_HOR_RES=480
-D MY_DISP_VER_RES=320
; -I ./lib/our_config
; -I ./lib/our_encoder
; -I ./lib/our_ADC
; -I ./lib/our_sensors
; -I ./lib/our_button
; -I ./lib/our_lvgl_interaction
; -I ./lib/our_pid_controller
; -I ./lib/our_vofa_debuger
; -I ./lib/lvgl_port
; -I ./lib/generated
; -D ARDUINO_USB_MODE=0
; -D ARDUINO_USB_CDC_ON_BOOT=1
; 指定 FLASH容量为16MB
board_upload.flash_size = 16MB
lib_deps =
bodmer/TFT_eSPI@^2.5.43
lvgl/lvgl@8.3.10
madhephaestus/ESP32Encoder@^0.11.7
robtillaart/INA226@^0.6.3
robtillaart/MCP4725@^0.4.1