-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplatformio.ini
55 lines (51 loc) · 1.4 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
; 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
[base]
platform = espressif32
board = tenstar_esp32c3_supermini
board_build.variants_dir = variants
framework = arduino
lib_deps =
adafruit/Adafruit SSD1306@^2.5.13
SPIFFSIniFile=https://github.com/yurilopes/SPIFFSIniFile.git#61bf6473b0076a5d1eb5fbd1b6a341140796bd80
NimBLE=https://github.com/h2zero/NimBLE-Arduino.git#62180ab2bc9c9a8b41f9fb800ea7256e89628a3a
libosdp=https://github.com/goToMain/libosdp#88a7788e2485a1df9312b6c373556c1e9269f1f6
monitor_speed = 115200
debug_tool = esp-builtin
debug_init_break = tbreak setup
[env:ble]
extends = base
build_flags =
-D USE_WIFI=1
-D USE_HTTP=1
-D USE_LCD=1
-D USE_WIEGAND=1
-D USE_CLOCKANDDATA=1
-D USE_MDNS_RESPONDER=1
-D USE_BLE=1
-D USE_OSDP=1
-D USE_OSDP_PD=1
-D USE_OSDP_CP=1
board_build.partitions = huge_app.csv
[env:ota]
extends = base
build_flags =
-D USE_WIFI=1
-D USE_HTTP=1
-D USE_LCD=1
-D USE_WIEGAND=1
-D USE_CLOCKANDDATA=1
-D USE_MDNS_RESPONDER=1
-D USE_OTA_HTTP=1
-D USE_BLE=1
-D USE_OSDP=1
-D USE_OSDP_PD=1
-D USE_OSDP_CP=1
board_build.partitions = default.csv