testing
This commit is contained in:
parent
3609bb86d6
commit
0980eb7ba6
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
pip install --upgrade platformio
|
||||
- name: Copy of necessary files
|
||||
run: |
|
||||
cp platformio_test.ini platformio.ini
|
||||
cp platformio_orig.ini platformio.ini
|
||||
cp src/loraconf_sample.h src/loraconf.h
|
||||
cp src/ota_sample.conf src/ota.conf
|
||||
cp src/paxcounter_orig.conf src/paxcounter.conf
|
||||
|
@ -1,82 +0,0 @@
|
||||
; ---> SELECT ONE TARGET BOARD FROM FOLLOWING ROWS <---
|
||||
;
|
||||
; Note: For "LILYGO TTGO ESP32-Paxcounter LoRa32 V2.1 1.6.1" select board ttgov21new.h
|
||||
;
|
||||
;
|
||||
|
||||
[common]
|
||||
; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
|
||||
release_version = 3.4.5
|
||||
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
|
||||
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
|
||||
debug_level = 5
|
||||
;extra_scripts = pre:src/build.py
|
||||
otakeyfile = ota.conf
|
||||
lorakeyfile = loraconf.h
|
||||
lmicconfigfile = lmic_config.h
|
||||
platform_espressif32 = espressif32@6.0.0
|
||||
monitor_speed = 115200
|
||||
upload_speed = 115200 ; set by build.py and taken from hal file
|
||||
lib_deps_lora =
|
||||
mcci-catena/MCCI LoRaWAN LMIC library @ ^4.1.1
|
||||
lib_deps_display =
|
||||
bitbank2/OneBitDisplay @ ^2.3.0
|
||||
bitbank2/bb_spi_lcd @ ^2.4.1
|
||||
ricmoo/QRCode @ ^0.0.1
|
||||
lib_deps_ledmatrix =
|
||||
seeed-studio/Ultrathin_LED_Matrix @ ^1.0.0
|
||||
lib_deps_rgbled =
|
||||
fastled/FastLED @ ^3.5.0
|
||||
lib_deps_gps =
|
||||
mikalhart/TinyGPSPlus @ ^1.0.3
|
||||
lib_deps_sensors =
|
||||
adafruit/Adafruit Unified Sensor @ ^1.1.7
|
||||
adafruit/Adafruit BME280 Library @ ^2.2.2
|
||||
adafruit/Adafruit BMP085 Library @ ^1.2.2
|
||||
boschsensortec/BSEC Software Library @ 1.6.1480
|
||||
lewapek/Nova Fitness Sds dust sensors library @ ^1.5.1
|
||||
lib_deps_basic =
|
||||
greyrook/libpax @ ^1.1.0
|
||||
https://github.com/SukkoPera/Arduino-Rokkit-Hash.git
|
||||
bblanchon/ArduinoJson @ ^6.20.0
|
||||
makuna/RTC @ ^2.3.5
|
||||
mathertel/OneButton @ ^2.0.3
|
||||
lewisxhe/XPowersLib @ ^0.1.4
|
||||
256dpi/MQTT @ ^2.5.0
|
||||
lib_deps_all =
|
||||
${common.lib_deps_basic}
|
||||
${common.lib_deps_lora}
|
||||
${common.lib_deps_display}
|
||||
${common.lib_deps_rgbled}
|
||||
${common.lib_deps_gps}
|
||||
${common.lib_deps_sensors}
|
||||
${common.lib_deps_ledmatrix}
|
||||
build_flags_basic =
|
||||
-include "src/paxcounter.conf"
|
||||
'-DCORE_DEBUG_LEVEL=${common.debug_level}'
|
||||
'-DLOG_LOCAL_LEVEL=${common.debug_level}'
|
||||
'-DPROGVERSION="${common.release_version}"'
|
||||
'-D LIBPAX_WIFI'
|
||||
'-D LIBPAX_BLE'
|
||||
'-D LIBPAX_ARDUINO'
|
||||
'-DUSE_ESP_IDF_LOG'
|
||||
'-DTAG=__FILE__'
|
||||
build_flags_all =
|
||||
${common.build_flags_basic}
|
||||
-mfix-esp32-psram-cache-issue
|
||||
|
||||
[env]
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
board_build.partitions = min_spiffs.csv
|
||||
build_type = release
|
||||
upload_speed = ${common.upload_speed}
|
||||
platform = ${common.platform_espressif32}
|
||||
lib_deps = ${common.lib_deps_all}
|
||||
build_flags =
|
||||
-include "src/hal/ttgov21new.h"
|
||||
${common.build_flags_all}
|
||||
upload_protocol = esptool
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
monitor_filters = time, esp32_exception_decoder, default
|
Loading…
Reference in New Issue
Block a user