-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
68 lines (51 loc) · 1.75 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
; 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]
default_envs = wombat
[env]
monitor_speed = 115200
test_framework = googletest
[env:native]
platform = native
build_flags = -std=gnu++17
[env:wombat]
platform = espressif32
framework = arduino
board = dpiclimate_esp32_wombat
lib_deps =
adafruit/Adafruit INA219@^1.2.0
https://github.com/DPIclimate/dpiclimate-12@^1.0.3
ArduinoJSON
https://github.com/DPIclimate/SparkFun_u-blox_SARA-R5_Arduino_Library
https://github.com/EnviroDIY/Arduino-SDI-12
https://github.com/DPIclimate/ulptool-pio
extra_scripts =
pre:gen_version_h.py
pre:/$PROJECT_LIBDEPS_DIR/$PIOENV/ulptool-pio/pre_extra_script_ulptool.py
post:/$PROJECT_LIBDEPS_DIR/$PIOENV/ulptool-pio/post_extra_script_ulptool.py
; Run the MCU at 80 MHz
board_build.f_cpu = 80000000L
; File system for storing files in /data directory
board_build.filesystem = spiffs
; Remove this build flag from the defaults set by the platform.
build_unflags = -std=gnu++11
build_flags = -std=gnu++17
-Werror=return-type
-DCORE_DEBUG_LEVEL=3
-Wl,-u_printf_float
board_build.partitions = ota_partitions.csv
upload_protocol = esp-prog
debug_tool = esp-prog
build_type = release
debug_init_break = tbreak setup
monitor_port = /dev/cu.usbserial-110
monitor_filters =
default ; Remove typical terminal control codes from input
time ; Add timestamp with milliseconds for each new line