-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
71 lines (60 loc) · 1.97 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
; 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]
description = DIY project to build a smart gas scale for RVs or in other projects. It is based on pressure and is able to measure all types of bottles and sizes.
data_dir = ui/build/
[env]
framework = arduino
platform = espressif32 @^4.4.0
; >= 2.0.2 breaks the firmware update due to a bug
; https://github.com/espressif/arduino-esp32/issues/6129
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1
;board_build.f_cpu = 80000000L
; Set frequency to 80MHz (default is 40Mhz)
; Used in bootloader_dio_80m.bin
board_build.f_flash = 80000000L
board_build.flash_mode = dio
upload_speed = 921600
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0
monitor_filters =
esp32_exception_decoder
default
time
board_build.partitions = partitions.csv
board_build.filesystem = littlefs
extra_scripts =
pre:tools/auto_firmware_version.py
tools/littlefsbuilder.py
lib_deps =
https://github.com/MartinVerges/esp32-wifi-manager
https://github.com/knolleary/pubsubclient
https://github.com/brunojoyal/AsyncTCP
https://github.com/me-no-dev/ESPAsyncWebServer
https://github.com/adafruit/Adafruit_BMP085_Unified
https://github.com/adafruit/Adafruit_BMP280_Library.git
https://gitlab.womolin.de/public-repository/HX711.git
https://github.com/milesburton/Arduino-Temperature-Control-Library.git
bblanchon/ArduinoJson @ ^6.19.4
h2zero/NimBLE-Arduino @ ^1.3.8
build_flags =
-std=c++17
-std=gnu++17
-pipe
-I lib/HX711
-O0 -ggdb3 -g3
# -DCORE_DEBUG_LEVEL=1
[env:wemos_d1_mini32]
board = wemos_d1_mini32
board_build.mcu = esp32
[env:esp32dev]
board = esp32dev
board_build.mcu = esp32