I want to include C:\Users\bobku\Documents\GitHub\RCBugfix-M43-and-spindle\frameworks\CMSIS\LPC1768\include\lpc17xx_pinsel.h from within C:\Users\bobku\Documents\GitHub\RCBugfix-M43-and-spindle.piolibdeps\U8glib-ARM_ID1691\src\lib\u8g.h
I can access both with no problems from within the src directory structure. In my case the src directory is named Marlin.
I’ve played with various permutations of lib_ldf_mode and lib_compat_mode along with every variation of #include and #include “abc” that I could think of. After 6 hours it’s time to seek help.
I’m using PlatformIO from within Atom.
Bob
Here’s my local hard drive layout:
My platform.ini:
[platformio]
src_dir = Marlin
envs_dir = .pioenvs
lib_dir = .piolib
libdeps_dir = .piolibdeps
env_default = megaatmega2560
[common] lib_deps = U8glib@1.19.1 LiquidCrystal_I2C@1.1.2 https://github.com/lincomatic/LiquidTWI2.git https://github.com/teemuatlut/TMC2130Stepper.git https://github.com/trinamic/TMC26XStepper.git https://github.com/adafruit/Adafruit_NeoPixel.git https://github.com/ameyer/Arduino-L6470.git default_src_filter = +<*> -<src/config/examples>
[env:Re-ARM] platform = nxplpc board_f_cpu = 100000000L build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py src_build_flags = -Wall build_unflags = -Wall lib_ldf_mode = deep lib_compat_mode = 2 lib_extra_dirs = frameworks lib_deps = CMSIS-LPC1768 , U8glib-ARM extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py src_filter = ${common.default_src_filter} +<*/src/HAL/HAL_LPC1768>
My library dependency chart:
Collected 9 compatible libraries
Looking for dependencies…
Library Dependency Graph
|-- CMSIS-LPC1768 v0.0.0
|-- U8glib-ARM v1.18.1
|-- Adafruit NeoPixel v1.1.2
|-- LiquidTWI2
| |-- CMSIS-LPC1768 v0.0.0
|-- TMC2130Stepper v2.0.0
|-- TMC26XStepper
|-- LiquidCrystal_I2C
| |-- CMSIS-LPC1768 v0.0.0