Hi all,
Using Platformio via VSCode. I’ve read that the best way to specify libraries would be to add them to platformio.ini. So I tried something like this (which works)
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
ESP32 BLE Arduino
However, if I try to add more libraries to clean up my code a little, removing this in my main.cpp
// in main.cpp
#include <Arduino.h>
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLE2902.h>
and modify my platformio.ini like this …
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
# Using a library name
Arduino
ESP32 BLE Arduino
BLEDevice
BLEServer
BLEUtils
BLE2902
Then I cannot get my sketh to compile and intellisense complains about not finding anything (which gives also some not so nice red squigglies everywhere)
What am I doing wrong?