MBED include/compile error

This is probably nothing more than a script error. But here goes.

I have a newly created project created with “pio init --board nucleo_f302r8”. I threw a lib in the lib dir and created an skel main.cpp. When I compile, the include for the library is not found.

On a hunch, I put an entry for an UNO in the plattformio.ini. It compiled finding the header file in the library.

All my older projects work fine. Just the new ones I create.

pio version 3.6.0a10. All platforms updated.

What is the exact file structure and file contents, plus your platformio.ini?

; 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
; http://docs.platformio.org/page/projectconf.html

[env:disco]
platform = ststm32
board = disco_l475vg_iot01a
framework = mbed
build_flags = -D IS_MBED

[env:f302]
platform = ststm32
board = nucleo_f302r8
framework = mbed
build_flags = -D IS_MBED

[env:uno]
platform = atmelavr
board = uno
framework = arduino
build_flags = -D IS_ARDUINO

[platformio]
env_default = f302

Is this being looked at?

Can you post the full code in a repository? I only see one file and it’s in the form a screenshot.

I can post a repository tomorrow. But I will be out of touch for 10 days after that…vacation.

Can I send the URL via PM?

If you post the link to a temporary github repo here, more people can help.

The problem is access to my unfinished code. It’s embarrassing how unpolished it is in this state…lol

fyi: I am disappearing for the next 10 days.

the subversion repository is at https://svn.riouxsvn.com/blindally-pub/Processor-3

The main code is not really in there. This project was created to create my E256 library so it is both arduino and mbed compatible. The main.cc is just a stub to facilitate testing.