Xinyuan-LilyGO / tbeam-helium-mapper

GNU General Public License v3.0
15 stars 5 forks source link

Serial Monitor Constantly Spits out Deprecation Error #6

Open theoisadoor opened 3 months ago

theoisadoor commented 3 months ago

When attached to the serial monitor, the logs are flooded with a print buffer deprecation error, here is an example of the logs from boot (DevEUI, AppEUI, AppKey & location redacted):

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
E (492) esp_core_dump_flash: No core dum▒▒▒▒ѥѥ▒▒▒found!
E (492) esp_core_dump_flash: No core dump partition found!
BOOT #1!  cause:0 ext1:00000000
                               AXP192 PMU at 0x34
OLED at 0x3C
AXP2101 PMU init succeeded, using AXP2101 PMU
Battery Charge Level: 99%
                         =========================================
                                                                  DC1  : +   Vol                                                                       tage: 3300 mV
              DC2  : -   Voltage: 0500 mV
                                          DC3  : -   Voltage: 0500 mV
                                                                      DC4  : -                                                                          Voltage: 1800 mV
                  DC5  : -   Voltage: 3300 mV
                                              ALDO1: -   Voltage: 1800 mV
                                                                          ALDO2:                                                                        +   Voltage: 3300 mV
                      ALDO3: +   Voltage: 3300 mV
                                                  ALDO4: -   Voltage: 3300 mV
                                                                              BL                                                                       DO1: -   Voltage: 1800 mV
                          BLDO2: -   Voltage: 3300 mV
                                                      ==========================                                                                       ===============

               MaxP Mapper 1.7.8
[   576][E][Wire.cpp:416] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmissio                                                                       n! Clearing...
[   579][E][Wire.cpp:416] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[   592][E][Wire.cpp:416] beginTransmission(): Unfinished Repeated Start transaction! Expected requestFrom, not beginTransmission! Clearing...
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
MaxP Mapper 1.7.8Screen: MaxP Mapper 1.7.8

DevEUI (msb): XXXXXXXXXXXXXXXX
APPEUI (msb): XXXXXXXXXXXXXXXX
APPKEY (msb): XXXXXXXXXXXXXXXXXXXX
Reusing saved session
Screen: (re-used join)

                      [  2816][E][HardwareSerial.cpp:614] setRxBufferSize(): RX Buffer can't be resized when Serial is already running.

GPS connected.
Deadzone: 0.000000.0m @ XX.XXXXXX, XX.XXXXXX
                                              Screen: Joined Helium!

                                                                    [deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
//MOVING//
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.
[deprecated] Print functionality now handles buffer management automatically. This is a no-op.

These repeat messages make it impossible to see any notification of transmissions on the device screen as they are cleared instantly with these other messages. Defining release_eu868 in PlatformIO.ini from feature/web branch, downloading locally as ZIP "<> Code". Download was created today. This is on Lilygo TTGO TBeam v1.2. Device transmits packets no problem to Chirpstack/Console.

theoisadoor commented 3 months ago

PlatformIO.ini file:

; 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]
src_dir = main

[env]
platform = espressif32
board = ttgo-t-beam
framework = arduino
build_flags =
    -Wall
    -Wextra
    -Wno-missing-field-initializers -O3
    -D CFG_sx1276_radio=1
    -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
    -D hal_init=LMICHAL_init
    -D ARDUINO_TTGO_LoRa32_V1
lib_deps =
    mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
    thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.3.0
    lewisxhe/AXP202X_Library@^1.1.3
    mikalhart/TinyGPSPlus@^1.0.3
    lewisxhe/XPowersLib @ ^0.1.8

monitor_speed = 115200
; monitor_port = COM17
upload_speed = 921600
; upload_port = COM17
board_build.filesystem = fatfs
board_build.partitions = partitions_custom.csv

[env:release_eu868]
extends = env
build_flags =
    ${env.build_flags}
    -D CFG_eu868=1
board_build.filesystem = fatfs
board_build.partitions = partitions_custom.csv
extra_scripts = post:scripts/merge_bin.py

;[env:debug_eu868]
;extends = env
;build_flags =
;    ${env.build_flags}
;    -D CFG_eu868=1
;    -D DEBUG
;    -D LMIC_DEBUG_LEVEL=3
;    -D CORE_DEBUG_LEVEL=3
;board_build.filesystem = fatfs
;board_build.partitions = partitions_custom.csv
;extra_scripts = post:scripts/merge_bin.py

;[env:release_us915]
;extends = env
;build_flags =
;    ${env.build_flags}
;    -D CFG_us915=1
;board_build.filesystem = fatfs
;board_build.partitions = partitions_custom.csv
;extra_scripts = post:scripts/merge_bin.py

;[env:debug_us915]
;extends = env
;build_flags =
;    ${env.build_flags}
;    -D CFG_us915=1
;    -D DEBUG
;    -D LMIC_DEBUG_LEVEL=3
;    -D CORE_DEBUG_LEVEL=3
;board_build.filesystem = fatfs
;board_build.partitions = partitions_custom.csv
;extra_scripts = post:scripts/merge_bin.py

;[env:release_au915]
;extends = env
;build_flags =
;    ${env.build_flags}
;    -D CFG_au915=1
;board_build.filesystem = fatfs
;board_build.partitions = partitions_custom.csv
;extra_scripts = post:scripts/merge_bin.py

;[env:debug_au915]
;extends = env
;build_flags =
;    ${env.build_flags}
;    -D CFG_au915=1
;    -D DEBUG
;    -D LMIC_DEBUG_LEVEL=3
;    -D CORE_DEBUG_LEVEL=3
;board_build.filesystem = fatfs
;board_build.partitions = partitions_custom.csv
;extra_scripts = post:scripts/merge_bin.py