forked from rjwats/esp8266-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
74 lines (68 loc) · 1.72 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
; 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]
extra_configs =
factory_settings.ini
features.ini
default_envs = node32s
[env]
build_flags =
${factory_settings.build_flags}
${features.build_flags}
-D NO_GLOBAL_ARDUINOOTA
-D CORS_ORIGIN=\"http://localhost:3000\"
lib_compat_mode = strict
framework = arduino
monitor_speed = 115200
extra_scripts =
mklittlefs.py
lib_deps =
Adafruit_VL53L0X
ArduinoJson@>=6.0.0,<7.0.0
ESP Async WebServer@>=1.2.0,<2.0.0
AsyncMqttClient@>=0.8.2,<1.0.0
; extra_scripts = scripts/build_interface.py
[env:esp12e]
platform = espressif8266
board = esp12e
board_build.f_cpu = 160000000L
board_build.filesystem = littlefs
lib_deps = me-no-dev/ESP Async WebServer@^1.2.3
[env:node32s]
platform = espressif32
board = m5stick-c
board_build.filesystem = littlefs
; monitor_filters = esp32_exception_decoder
; build_type= debug
upload_speed = 750000
board_build.partitions = ./partition.csv
lib_deps =
Adafruit_VL53L0X
LittleFS_esp32
M5stickc
me-no-dev/ESP Async WebServer@^1.2.3
Adafruit Unified Sensor
Adafruit BMP280 Library
Adafruit BMP085 Library
Adafruit SGP30 Sensor
Adafruit BusIO
DHT sensor library
HM330X by Tomoto
DHT12 sensor library
extra_configs =
factory_settings.ini
features.ini
; upload_speed = 115200
build_flags =
${factory_settings.build_flags}
${features.build_flags}
-D NO_GLOBAL_ARDUINOOTA
-D CORS_ORIGIN=\"http://localhost:3000\"
-D ENABLE_CORS=1