Including nested libraries

[platformio]
default_envs = esp8266, esp32

[env] ;Common is done for all environments
monitor_speed = 115200
monitor_flags= --raw

lib_extra_dirs =
  ./shared-config

lib_deps =
  bblanchon/ArduinoJson @ ^6.17.2
  adafruit/Adafruit ADS1X15 @ ^1.1.1
  adafruit/Adafruit MCP4728 @ ^1.0.7
  adafruit/Adafruit NeoPixel @ ^1.7.0
  arduino-libraries/NTPClient @ ^3.1.0

test_build_project_src = true ;The test protocol will build the contents of the src folder when running tests. Allows us to test functions inside src

; ==== STATIC CHECKING ====
check_tool = cppcheck ; pvs-studio, cppcheck, clangtidy
check_flags = 
  cppcheck: --enable=all
  cppcheck: --inline-suppr
  cppcheck: --suppress=*:.pio/libdeps/*
check_severity = medium, high
check_patterns = 
  src
  lib
  include

[extra]
extra_scripts_default =
  shared/moveOutputBinaries.py

build_flags_default =
  -DDEBUG_ESP_PORT=Serial
  -DDEBUG_BUILD
  -DWEBSOCKET_DISABLED
  !python shared/GetCurrentDateTime.py
  !python shared/GetGitHash.py
  ; -DDEBUG_ESP_OOM ;https://docs.platformio.org/en/latest/platforms/espressif8266.html#debug-level
  ; -Wl,-Map,output.map ;Creates a map file to figure out relative sizes of included stuff
;  -DDEBUG_DISABLED ;Disables the Remote Debug - Telnet debugging

;For when debugging
; build_unflags = -Os
; build_flags = -O1 -g3 -ggdb

;==========ESP32===========
[env:esp32]
platform = espressif32
board = esp32dev
framework = arduino
build_type = debug
debug_tool = esp-prog
; monitor_filters = esp32_exception_decoder
build_flags =
  ${extra.build_flags_default}
extra_scripts = ${extra.extra_scripts_default}
debug_init_break = tbreak setup

;========ESP8266===========
[env:esp8266]
platform = espressif8266
board = nodemcu
framework = arduino
build_type = debug
board_build.ldscript = eagle.flash.4m1m.ld ;Sets the flash sizes properly so SPIFFS is last 1MB starting at 0x30000
extra_scripts = ${extra.extra_scripts_default}
build_flags =
  ${extra.build_flags_default}

[env:native_unit_testing]
platform = native
build_type = debug
test_build_project_src = true ;The test protocol will build the contents of the src folder when running tests. Allows us to test functions inside src
build_flags =
  ${extra.build_flags_default}
  -I"include/unit_testing" ;Includes Arduino.h for native builds
  ; -Wall -fprofile-arcs -ftest-coverage -lgcov --coverage