-
Notifications
You must be signed in to change notification settings - Fork 149
/
platformio.ini
38 lines (34 loc) · 1.11 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
; matth-x/MicroOcpp
; Copyright Matthias Akstaller 2019 - 2024
; MIT License
[platformio]
default_envs = esp32-development-board
[common]
framework = arduino
lib_deps =
bblanchon/ArduinoJson@6.20.1
links2004/WebSockets@2.4.1
monitor_speed = 115200
[env:nodemcuv2]
platform = espressif8266@2.6.3
board = nodemcuv2
framework = ${common.framework}
lib_deps = ${common.lib_deps}
monitor_speed = ${common.monitor_speed}
build_flags =
-D MO_DBG_LEVEL=MO_DL_INFO ; flood the serial monitor with information about the internal state
-DMO_TRAFFIC_OUT ; print the OCPP communication to the serial monitor
-D ARDUINOJSON_ENABLE_STD_STRING=1
[env:esp32-development-board]
platform = espressif32@6.0.1
board = esp-wrover-kit
framework = ${common.framework}
lib_deps = ${common.lib_deps}
monitor_speed = ${common.monitor_speed}
build_flags =
-D MO_DBG_LEVEL=MO_DL_INFO ; flood the serial monitor with information about the internal state
-DMO_TRAFFIC_OUT ; print the OCPP communication to the serial monitor
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_filters =
esp32_exception_decoder