Changed the “platformio.ini”:
[env:LGT8F328P]
platform = https://github.com/darkautism/pio-lgt8fx.git
platform_packages =
framework-arduino-avr-lgt8f@symlink://C:\Users\XYXY\.platformio\packages\lgt8f-2.0.6\lgt8f
board = LGT8F328P
framework = arduino
monitor_speed = 57600
upload_speed = 57600
board_build.f_cpu = 16000000L
board_build.clock_source = 1
lib_deps =
;jgromes/RadioLib@^6.0.0
jgromes/LoRaLib@^8.2.0
adafruit/Adafruit BMP280 Library@^2.6.8
adafruit/Adafruit Si7021 Library@^1.5.1
adafruit/Adafruit Unified Sensor@^1.1.9
[platformio]
description = LoRa Sensor Node
Uses slightly more memory:
Archiving .pio\build\LGT8F328P\libFrameworkArduino.a
Linking .pio\build\LGT8F328P\firmware.elf
Building .pio\build\LGT8F328P\firmware.hex
Checking size .pio\build\LGT8F328P\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [==== ] 44.8% (used 917 bytes from 2048 bytes)
Flash: [======= ] 67.8% (used 20124 bytes from 29696 bytes)
=========================================== [SUCCESS] Took 6.37 seconds ===========================================
* Terminal will be reused by tasks, press any key to close it.
But, no change to the results of “Inspect”.