-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
55 lines (52 loc) · 1.21 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]
description = Firmware for 30A Switch
[env:init_eeprom_esp01_1m]
platform = [email protected]
board = esp01_1m
framework = arduino
monitor_speed = 115200
board_build.ldscript = eagle.flash.1m512.ld
targets = upload, monitor
monitor_filters = esp8266_exception_decoder
lib_deps =
painlessmesh/painlessMesh @ ^1.4.5
ArduinoJson
TaskScheduler
ESPAsyncTCP
ESP8266WiFi
build_flags =
-D INIT_EEPROM
-D SERIAL_PRINT
[env:debug_esp01_1m]
platform = [email protected]
board = esp01_1m
framework = arduino
monitor_speed = 115200
board_build.ldscript = eagle.flash.1m512.ld
targets = upload, monitor
monitor_filters = esp8266_exception_decoder
lib_deps =
painlessmesh/painlessMesh @ 1.4.6
ArduinoJson @ 6.17.3
TaskScheduler @ 3.2.2
ESPAsyncTCP @ 1.2.2
ESP8266WiFi @ 1.0
build_flags =
-D RELEASE_CODE
-D SERIAL_PRINT
[env:release_esp01_1m]
platform = [email protected]
board = esp01_1m
framework = arduino
monitor_speed = 115200
board_build.ldscript = eagle.flash.1m512.ld
targets = upload, monitor
monitor_filters = esp8266_exception_decoder
lib_deps =
painlessmesh/painlessMesh @ 1.4.6
ArduinoJson @ 6.17.3
TaskScheduler @ 3.2.2
ESPAsyncTCP @ 1.2.2
ESP8266WiFi @ 1.0
build_flags =
-D RELEASE_CODE