From 3cdaf67bcae0d90a8d871f25b02e7949fa04f99f Mon Sep 17 00:00:00 2001 From: neilh20 Date: Thu, 28 Sep 2023 20:08:54 -0700 Subject: [PATCH] Build for wio terminal a/log_display is working. Others compile OK but historical --- a/log_display/platformio.ini | 3 ++- a/logging_to_MMW/platformio.ini | 7 ++++--- a/logging_to_MMW/src/logging_to_MMW.cpp | 6 ++++-- a/wio01/platformio.ini | 4 +++- a/wio01/src/wioTerm_logger.cpp | 1 + examples/tu_xx01/platformio.ini | 2 +- 6 files changed, 15 insertions(+), 8 deletions(-) diff --git a/a/log_display/platformio.ini b/a/log_display/platformio.ini index 7d4625fd8..ea0a4545c 100644 --- a/a/log_display/platformio.ini +++ b/a/log_display/platformio.ini @@ -68,6 +68,7 @@ cmn_lib_deps = ;https://github.com/neilh10/Arduino-SerialCommand https://github.com/neilh10/InsituModbus https://github.com/neilh10/KellerModbus + martinl1/BMP388_DEV@^1.0.11 ; dissapeared from github.com/MartinL1/BMP388_DEV.git ; Ignore these folders or PlatformIO will double count all the dependencies ; Development: ModularSensors Release1: src ? @@ -199,7 +200,7 @@ cmn_build_flags = platform = atmelsam board = seeed_wio_terminal framework = arduino -upload_port = COM13 +;upload_port = COM13 lib_ldf_mode = deep+ board_build.f_cpu = ${common.cmn_f_cpu} diff --git a/a/logging_to_MMW/platformio.ini b/a/logging_to_MMW/platformio.ini index b4c19924a..b08717ed7 100644 --- a/a/logging_to_MMW/platformio.ini +++ b/a/logging_to_MMW/platformio.ini @@ -4,8 +4,8 @@ [platformio] description = neilh10/ModularSensors/a/logging_to_MMW -default_envs = mayfly -;default_envs =seeed_wio_terminal +;default_envs = mayfly +default_envs =seeed_wio_terminal [common] ;cmn_f_cpu=120000000L ;Default @@ -68,6 +68,7 @@ cmn_lib_deps = ;https://github.com/neilh10/Arduino-SerialCommand https://github.com/neilh10/InsituModbus https://github.com/neilh10/KellerModbus + martinl1/BMP388_DEV@^1.0.11 ; dissapeared from github.com/MartinL1/BMP388_DEV.git ; Ignore these folders or PlatformIO will double count all the dependencies ; Development: ModularSensors Release1: src ? @@ -205,7 +206,7 @@ cmn_build_flags = platform = atmelsam board = seeed_wio_terminal framework = arduino -upload_port = COM13 +;upload_port = COM13 lib_ldf_mode = deep+ board_build.f_cpu = ${common.cmn_f_cpu} diff --git a/a/logging_to_MMW/src/logging_to_MMW.cpp b/a/logging_to_MMW/src/logging_to_MMW.cpp index b28ffb258..d980b3d5f 100644 --- a/a/logging_to_MMW/src/logging_to_MMW.cpp +++ b/a/logging_to_MMW/src/logging_to_MMW.cpp @@ -25,7 +25,7 @@ * Future * * Noise Level internal micrcophone * - * + * 230928 - 0.34.1-acb builds, has SIM7080G intergrated in my fork. * 2023 Feb 21 WioT Power Measured USB Stick on USB-C * USB active with WiFi 54mA, startup is 100mA * with lowpower WiFi/RTL87280 is unreliable @@ -55,9 +55,11 @@ #define USE_CELL_SIMCON_SIM7080 2 #define USE_WIFI_DIGI_S6B 3 #define USE_WIFI_ENVIRODIY_ESP32 4 +//USE WIO_TERMINAL //#define USE_MODEM USE_WIFI_DIGI_S6B -#define USE_MODEM USE_CELL_SIMCON_SIM7080 +//#define USE_MODEM USE_CELL_SIMCON_SIM7080 +//#define default USE WIO_TERMINAL //https://monitormywatershed.org/sites/intg_test01/ #include "ms_cfg.h" //must be before ms_common.h & Arduino.h diff --git a/a/wio01/platformio.ini b/a/wio01/platformio.ini index ce9d00b52..b82725751 100644 --- a/a/wio01/platformio.ini +++ b/a/wio01/platformio.ini @@ -36,7 +36,8 @@ lib_deps_cmn = https://github.com/adafruit/Adafruit_AM2315 https://github.com/adafruit/Adafruit_AM2320 https://github.com/adafruit/Adafruit_BME280_Library - https://github.com/MartinL1/BMP388_DEV + ;https://github.com/MartinL1/BMP388_DEV + martinl1/BMP388_DEV@^1.0.11 ; dissapeared from github.com/MartinL1/BMP388_DEV.git https://github.com/adafruit/Adafruit_MPL115A2 https://github.com/adafruit/DHT-sensor-library https://github.com/adafruit/Adafruit_Sensor @@ -47,6 +48,7 @@ lib_deps_cmn = https://github.com/knolleary/pubsubclient.git ;https://github.com/EnviroDIY/TinyGSM.git https://github.com/EnviroDIY/YosemitechModbus + ; ;Historical reference ;https://github.com/greiman/SdFat.git ;- need adafruit/SdFat for multiple SDx diff --git a/a/wio01/src/wioTerm_logger.cpp b/a/wio01/src/wioTerm_logger.cpp index cd0d56017..044185260 100644 --- a/a/wio01/src/wioTerm_logger.cpp +++ b/a/wio01/src/wioTerm_logger.cpp @@ -14,6 +14,7 @@ UM0401_RTL872xD_Datasheet_v3.4_watermark.pdf https://files.seeedstudio.com/products/102110419/Basic%20documents/UM0401_RTL872xD_Datasheet_v3.4_watermark.pdf Date: + 2023-09-29 0.34.1-aca builds OK. Has SIM7080G intergration with my fork. 2023-02-20 Reliable ntp and POST/MMW (though MMW seems touchy) 2023-02-19 Failing when turning off RTL. RTL stops responding when turned on 2023-02-18 POST but not reliably or powering off RTL diff --git a/examples/tu_xx01/platformio.ini b/examples/tu_xx01/platformio.ini index 197c839e3..087e3f44e 100644 --- a/examples/tu_xx01/platformio.ini +++ b/examples/tu_xx01/platformio.ini @@ -60,7 +60,7 @@ cmn_lib_deps= https://github.com/neilh10/Arduino-SerialCommand https://github.com/neilh10/InsituModbus ;https://github.com/neilh10/KellerModbus - https://github.com/EnviroDIY/YosemitechModbus#develop ;(v4.0 not released on master as of 221227) + https://github.com/EnviroDIY/YosemitechModbus martinl1/BMP388_DEV@^1.0.11 ; dissapeared from github.com/MartinL1/BMP388_DEV.git ; Ignore these folders or PlatformIO will double count all the dependencies