This is the point, I have other small project without this kind of error.
Cláudio
This is the point, I have other small project without this kind of error.
Cláudio
Can you share the complete project, like on github or a link to a zip file?
What I can share it is the tree layout. The folder Interfaces(Library Interfaces) is the only that it is missed in the “includepath”
//
// !!! WARNING !!! AUTO-GENERATED FILE!
// PLEASE DO NOT MODIFY IT AND USE "platformio.ini":
// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags
//
{
"configurations": [
{
"name": "PlatformIO",
"includePath": [
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/include",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK5801/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK4631/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK1906/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK1904/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK15007/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK12500/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/PackPayload/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/WisblockCayenneLPP",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/CayenneLPP/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/ArduinoJson/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SX126x-Arduino/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/RPI_PICO_TimerInterrupt/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SparkFun u-blox GNSS Arduino Library/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit BME680 Library",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit Unified Sensor",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit BusIO",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SparkFun LIS3DH Arduino Library/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_TinyUSB_Arduino/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-cmsis/CMSIS/Core/Include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-cmsis/CMSIS/DSP/Include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_TinyUSB_Arduino/src/arduino",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/variants/WisCore_RAK4631_Board",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/Interfaces/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit GFX Library",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit SSD1306",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_nRFCrypto/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial",
""
],
"browse": {
"limitSymbolsToIncludedHeaders": true,
"path": [
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/include",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK5801/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK4631/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK1906/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK1904/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK15007/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/RAK12500/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/PackPayload/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/WisblockCayenneLPP",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/CayenneLPP/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/ArduinoJson/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SX126x-Arduino/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/RPI_PICO_TimerInterrupt/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SparkFun u-blox GNSS Arduino Library/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit BME680 Library",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit Unified Sensor",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit BusIO",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/SparkFun LIS3DH Arduino Library/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Wire",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SPI",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_TinyUSB_Arduino/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-cmsis/CMSIS/Core/Include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-cmsis/CMSIS/DSP/Include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/hal",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/mdk",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/soc",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/nrfx/drivers/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/nordic/softdevice/s140_nrf52_6.1.1_API/include/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/Source/include",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/config",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/GCC/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/freertos/portable/CMSIS/nrf52",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/SEGGER",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5/sysview/Config",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_TinyUSB_Arduino/src/arduino",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/cores/nRF5",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/variants/WisCore_RAK4631_Board",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/lib/Interfaces/src",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit GFX Library",
"f:/Users/Claudio Rosa/OneDrive - Nas Ondas Projetos de Inovação/Clientes/MRS/Projetos/Endnodes/Rastreadores/RastAtivosRTOS/.pio/libdeps/wiscore_rak4631/Adafruit SSD1306",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_LittleFS/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Adafruit_nRFCrypto/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEAdafruitService/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/BLEHomekit/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Bluefruit52Lib/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/InternalFileSytem/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/PDM/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/RotaryEncoder",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/Servo/src",
"C:/Users/Claudio Rosa/.platformio/packages/framework-arduinoadafruitnrf52/libraries/SoftwareSerial",
""
]
},
"defines": [
"PLATFORMIO=60115",
"ARDUINO_NRF52840_FEATHER",
"NRF52840_XXAA",
"MONITOR_SPEED=115200",
"UPLOAD_SPEED=115200",
"D_DESABILITA=0",
"D_INFORMA=1",
"D_ERRO=2",
"CFG_DEBUG=D_ERRO",
"SEALEVELPRESSURE_HPA=1010.0",
"PIN_VBAT=WB_A0",
"VBAT_MV_PER_LSB=0.73242188F",
"VBAT_DIVIDER_COMP=1.73",
"REGION=LORAMAC_REGION_AU915",
"SUBBAND=1",
"SCHED_MAX_EVENT_DATA_SIZE=APP_TIMER_SCHED_EVENT_DATA_SIZE",
"SCHED_QUEUE_SIZE=60",
"LORAWAN_DATERATE=DR_0",
"LORAWAN_TX_POWER=TX_POWER_0",
"JOINREQ_NBTRIALS=3",
"DEV_EUI=0xAC, 0x1F, 0x09, 0xFF, 0xFE, 0x0C, 0xF0, 0x41",
"APP_EUI=0xAC, 0x1F, 0x09, 0xFF, 0x00, 0x00, 0x00, 0x02",
"APP_KEY=0x4B, 0x41, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x4B, 0x65, 0x79",
"MAX_SIZE=51",
"LORAWAN_APP_DATA_BUFF_SIZE=64",
"LORAWAN_APP_INTERVAL=20000",
"LPP_CHANNEL_BATT=1",
"LPP_CHANNEL_HUMID_2=6",
"LPP_CHANNEL_TEMP_2=7",
"LPP_CHANNEL_PRESS_2=8",
"LPP_CHANNEL_GAS_2=9",
"LPP_CHANNEL_GPS=10",
"LPP_CHANNEL_ACCEL=113",
"F_CPU=64000000L",
"ARDUINO=10804",
"ARDUINO_ARCH_NRF52",
"ARDUINO_BSP_VERSION=\"1.6.0\"",
"ARDUINO_NRF52_ADAFRUIT",
"NRF52_SERIES",
"LFS_NAME_MAX=64",
"DX_CC_TEE",
"SOFTDEVICE_PRESENT",
"USBCON",
"USE_TINYUSB",
"USB_VID=0x239A",
"USB_PID=0x8029",
"USB_PRODUCT=\"WisCore RAK4631 Board\"",
"USB_MANUFACTURER=\"RAKwireless\"",
"__PLATFORMIO_BUILD_DEBUG__",
""
],
"cStandard": "gnu11",
"cppStandard": "gnu++11",
"compilerPath": "C:/Users/Claudio Rosa/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc.exe",
"compilerArgs": [
"-mthumb",
"-mcpu=cortex-m4",
"-mfloat-abi=hard",
"-mfpu=fpv4-sp-d16",
""
]
}
],
"version": 4
}
I found the reason, and the LDF and a @maxgerhardt post helped to fix the problem: I was looking for something complicated, but the problem was very easy to fix: I forgot to add the include for the new library, ![]()
Too much work at the same time.
Thank you very much
Above you can see the messages and LDF with the new Library Interfaces
Processing wiscore_rak4631 (platform: nordicnrf52; board: wiscore_rak4631; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nordicnrf52/wiscore_rak4631.html
PLATFORM: Nordic nRF52 (10.4.0) > WisCore RAK4631 Board
HARDWARE: NRF52840 64MHz, 243KB RAM, 796KB Flash
DEBUG: Current (jlink) External (jlink, stlink)
PACKAGES:
- framework-arduinoadafruitnrf52 @ 1.10600.0 (1.6.0)
- framework-cmsis @ 2.50700.210515 (5.7.0)
- tool-adafruit-nrfutil @ 1.503.0 (5.3)
- tool-sreccat @ 1.164.0 (1.64)
- toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 33 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SparkFun LIS3DH Arduino Library @ 1.0.3
|-- Adafruit BME680 Library @ 2.0.4
|-- SparkFun u-blox GNSS Arduino Library @ 2.2.25
|-- SX126x-Arduino @ 2.0.24
|-- CayenneLPP @ 1.1.0
|-- Interfaces
|-- PackPayload
|-- RAK12500
|-- RAK15007
|-- RAK1904
|-- RAK1906
|-- RAK4631
|-- RAK5801
|-- Wire @ 1.0
Building in debug mode
Which brings me back to #14 ![]()
I’m glad you could fix the problem! ![]()
I still experimenting with different linking options of my libraries in order to get the suggestions working outside the project folder. Since using lib_deps and adding every library manually I have no building errors. Suggestions and marking the variables “blue” are still not working.
Trying to directly linking the libraries using
symlink:://D:/GClib/atom/libaries/Core
results in
Resolving nanoatmega328 dependencies...
Library Manager: Installing symlink:://D:/GClib/atom/libaries/Core
VCSBaseException: VCS: Unknown repository type symlink:://D:/GClib/atom/libaries/Core
Do I have to deactivate installing libraries via the library manager?
It seems to work fine localy according to this issue, but I am unable to get it working.
You’re using absolute Paths.
Do you have the same issues using relative paths?
Please give it a try and report back!
The following is working perfectly for me
Folder structure
Developement
|
+-- libraries
| |
| +-- LibA
| | +- src
| | | +- LibA.h
| | | +- LibA.cpp
| | +- library.json
| |
| +-- LibB
| +-- LibC
|
+-- Projects
|
+-- ProjectA
| +-- lib
| +-- include
| +-- src
| | +- main.cpp
| +-- platformio.ini
|
+-- ProjectB
+-- ProjectC
+-- ProjectD
platformio.ini for a Project:
lib_deps =
symlink://../../libraries/LibA
symlink://../../libraries/LibB
Sidenote:
The use of relative paths should also simplify team collaboration with other members.
Then it does not matter on which drive and in which subdirectory the “Development” folder is located.
syslink://../../libaries/Core
and
Core=syslink://../../libaries/Core
both work. The library manager installed/registered the library after the first build.
Agreed.
After: Upgrade PIO → Restart → Clean+Build → Rebuild Intellisense the issue persists.
Another finding: Strg+LM can follow the variable and functions but shows multiple definitions not associated with the header file (include"Core.h") statement.

Maybe the definitions are overloaded?
Good! (Assuming “syslink” is just a typo and “symlink” was meant
)
That’s strange. Does it also happen when you setup a “temporary” fresh new test project?
If you need, I will create a git repo for you containing a few libararies and test projects using the folder structure from above. (Might take a few minutes)
Yepp, but that’s an IntelliSense topic / not related to PlatformIO.
Correct again.
Have not tried it yet. We currently rework existing projects. I will try a “fresh start”.
That would be nice!
I do not know in which scope (IDE, PIO or extensions) the issue is located.
I made a fresh project using the “New project” wizard of PIO_Home.
The platform.ini includes
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
Core=syslink://../../libaries/Core
syslink://../../libaries/Parameter
syslink://../../libaries/Logging
syslink://../../libaries/MCP2515_CAN
The suggestion and underlined variables are working now. Either I am able to “clean” the existing project OR create a new one and move the contents to the old folder. Since the projects are Git-linked just removing and adding may break the repository. Cleaning would be more ideal, but I am unsure how to “clean rebuild” a project.
But: It was syslink not symlink. Using symlink results in
Library Manager: Installing symlink://../../libaries/Parameter
PackageException: Can not create a symbolic link for `../../libaries/Parameter`, not a directory
without syslink the error
VCSBaseException: VCS: Unknown repository type /../../libaries/Core
appears.
I dont think the errors are connected, but still results in an inaccurate project definition.
I’m still preparing the repo for you…
But: It was syslink not symlink. Using symlink results in
Library Manager: Installing symlink://../../libaries/Parameter PackageException: Can not create a symbolic link for `../../libaries/Parameter`, not a directorywithout syslink the error
VCSBaseException: VCS: Unknown repository type /../../libaries/Coreappears.
That’s very strange, because I have the exact opposite!
“symlink” works and “syslink” results in an error.
“syslink” is not even mentioned in the PlatformIO documentation!
So question is: WTF is “syslink” ?! ![]()
I tried syslink and symlink. “syslink” may be a reflex of mine, because Labview and NI-System use the variable to differentiate between native libraries and custom VI’s.
The only working configuration is
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
symlink:/../../libaries/Core
syslink://../../libaries/Parameter/
syslink://../../libaries/Logging
syslink://../../libaries/MCP2515_CAN
Config_1:
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
symlink:/../../libaries/Core
symlink://../../libaries/Parameter/
symlink://../../libaries/Logging
symlink://../../libaries/MCP2515_CAN
esolving nanoatmega328 dependencies...
Library Manager: Installing symlink://../../libaries/Parameter/
PackageException: Can not create a symbolic link for `../../libaries/Parameter/`, not a directory
Config_2:
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
//../../libaries/Core
//../../libaries/Parameter/
//../../libaries/Logging
//../../libaries/MCP2515_CAN
Resolving nanoatmega328 dependencies...
Library Manager: Installing //../../libaries/Core
VCSBaseException: VCS: Unknown repository type //../../libaries/Core
Config_3:
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
/../../libaries/Core
/../../libaries/Parameter/
/../../libaries/Logging
/../../libaries/MCP2515_CAN
Library Manager: Installing /../../libaries/Core
VCSBaseException: VCS: Unknown repository type /../../libaries/Core
Either I use syslink and can use relative paths (preferred) OR revert back to absolut paths since I dont understand all the keywords in the platform.ini
Do you have provided your libraries with a library.json ?
In about 5 minutes the repo is ready for you…
Update:
Config_5
lib_deps =
ricaun/ArduinoUniqueID@^1.2.0
;syslink:/../../libaries/Core
./../libaries/Core
./../libaries/Parameter/
./../libaries/Logging
./../libaries/MCP2515_CAN
Is the correct use of relative paths (unix annotations directing directories). Building and compiling correct. Suggestions and Intellisense functions are working.
Do you have provided your libraries with a
library.json?
No. Was not necessary until now.
Is the correct use of relative paths (unix annotations directing directories). Building and compiling correct. Suggestions and Intellisense functions are working.
Yeayy!
Sounds like my repo is no longer necessary?
./../libaries/Core
Wait a second, let me do some checks
./../libaries/Core ./../libaries/Parameter/ ./../libaries/Logging ./../libaries/MCP2515_CAN
This is not what you want!
This is the same like “file://…” which clones the libraries into the project’s lib folder!
Repo is ready: GitHub - sivar2311/local_lib_storage
Sounds like my repo is no longer necessary?
Not for my main problem. Another suggestion of yours seemed to be the correct clue: “New clean project”. Thanks for the effort.
Another question is: How to clean my other projects to reapply the functionality?
Todo myself: Read about library.json and include to released code to keep track of the development state.
Not for my main problem
Too late… it’s public now ![]()
Take a look at it. The libraries also contains minimal library.json files.
Give it a try.
Using “symlink” will result in a <name_here>.pio-link file inside the lib folder, whereas “file://” results in a complete cloned folder!
Example for “symlink” folder structure:
