Project structure redefined
This commit is contained in:
47
platformio.ini
Normal file
47
platformio.ini
Normal file
@@ -0,0 +1,47 @@
|
||||
; 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 = esp32dev
|
||||
|
||||
[common]
|
||||
lib_deps_builtin =
|
||||
Wire
|
||||
BluetoothSerial
|
||||
lib_deps_external =
|
||||
https://git.gogacoder.com/gogacoder/GyverBME280.git @ ~1.5.0
|
||||
https://git.gogacoder.com/gogacoder/MPU6050.git @ ~1.0.0
|
||||
https://git.gogacoder.com/gogacoder/I2Cdev.git @ ~1.0.1
|
||||
https://github.com/GyverLibs/StringUtils @ 1.2.6
|
||||
https://github.com/GyverLibs/GSON.git @ 1.1.5
|
||||
https://github.com/tomstewart89/BasicLinearAlgebra.git @ 4.3
|
||||
https://github.com/GyverLibs/mString.git @ 1.7
|
||||
https://github.com/GyverLibs/GyverPID @ 3.3
|
||||
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = arduino
|
||||
lib_deps = ${common.lib_deps_external}
|
||||
monitor_speed = 115200
|
||||
board_build.partitions = huge_app.csv
|
||||
build_src_flags =
|
||||
-std=c++2a
|
||||
-Wall
|
||||
-Wextra
|
||||
-Werror=all
|
||||
-Wno-error=pedantic
|
||||
-Wpedantic
|
||||
-O2
|
||||
build_flags = -DCORE_DEBUG_LEVEL=4
|
||||
check_tool = pvs-studio
|
||||
check_flags = pvs-studio: --analysis-mode=4 --exclude-path=.pio/libdeps --lic-file=~/.config/PVS-Studio/PVS-Studio.lic
|
||||
extra_scripts = post:convert_sysincludes.py
|
||||
Reference in New Issue
Block a user