-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathplatformio.ini
75 lines (69 loc) · 1.84 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
; 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
[platformio]
description = Ink Screen Calendar
default_envs =
z21
[common]
framework = arduino
lib_deps =
zinggjm/GxEPD2@^1.6.0
olikraus/U8g2_for_Adafruit_GFX@^1.8.0
bblanchon/ArduinoJson@^7.2.0
tzapu/WiFiManager@^2.0.17
mathertel/OneButton@^2.6.1
https://github.com/JADE-Jerry/nongli.git
https://github.com/tignioj/ArduinoUZlib
[env:z98]
build_type = release
platform = espressif32
board = esp32dev
framework = ${common.framework}
lib_deps = ${common.lib_deps}
upload_speed = 460800
monitor_speed = 115200
board_build.partitions = min_spiffs.csv
build_flags =
-D SI_DRIVER=98
[env:z21]
build_type = release
platform = espressif32
board = esp32dev
framework = ${common.framework}
lib_deps = ${common.lib_deps}
upload_speed = 460800
monitor_speed = 115200
board_build.partitions = min_spiffs.csv
build_flags =
-D SI_DRIVER=21
;extra_scripts = post:extra_script.py
[env:z15]
build_type = release
platform = espressif32
board = esp32dev
framework = ${common.framework}
lib_deps = ${common.lib_deps}
upload_speed = 460800
monitor_speed = 115200
board_build.partitions = min_spiffs.csv
build_flags =
-D SI_DRIVER=15
[env:esp32c3]
platform = espressif32
board = esp32-c3-devkitm-1
board_build.flash_mode = dio
framework = ${common.framework}
lib_deps = ${common.lib_deps}
upload_speed = 460800
monitor_speed = 115200
board_build.partitions = min_spiffs.csv
build_flags =
-DARDUINO_USB_MODE=1 ;开启USB Slave 功能
-DARDUINO_USB_CDC_ON_BOOT=1 ;开启CDC 下载功能宏