-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathplatformio.ini
More file actions
48 lines (42 loc) · 1.39 KB
/
platformio.ini
File metadata and controls
48 lines (42 loc) · 1.39 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
; 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]
[env]
extra_scripts =
pre:apply_patches.py
extra_script.py
lib_deps =
adafruit/Adafruit GFX Library
olikraus/U8g2_for_Adafruit_GFX
zinggjm/GxEPD2
https://github.com/ricmoo/QRCode.git
bblanchon/ArduinoJson@^6.21.5
https://github.com/tignioj/ArduinoUZlib.git
monitor_speed = 115200
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps =
${env.lib_deps}
jwrw/ESP_EEPROM
board_build.ldscript = eagle.flash.2m.ld
[env:smpl-v2-0213-1] ; 第一批送出去的墨水屏
extends = env:esp12e
build_flags = -DBOARD_SMPL_V2 -DMODEL=\"SMPL_V2_0213_1\" -DEPD_TYPE=GxEPD2_3C -DEPD_DRIVER=GxEPD2_213_EXT3
[env:smpl-v2-0213-2] ; 第二批送出去的墨水屏
extends = env:esp12e
build_flags = -DBOARD_SMPL_V2 -DMODEL=\"SMPL_V2_0213_2\" -DEPD_TYPE=GxEPD2_BW -DEPD_DRIVER=GxEPD2_213_A07
[env:coreboard-v1-2] ; 自己画的开发板
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
build_flags = -DBOARD_COREBOARD_V1 -DMODEL=\"CoreBoard_ESP32_V1.2\"
board_build.partitions = rainmaker.csv # no_fs.csv