Skip to content

Fatal Error: SFU.h: No Such File or Directory #361

@ghost

Description

While using PlatformIO for VSCode I got the following compilation error for the Arduino Nano RP2040:

.pio\libdeps\nanorp2040connect\ArduinoIoTCloud\src\utility\ota\OTA-nano-rp2040.cpp:30:10: fatal error: SFU.h: No such file or directory

Using the following test script:

#include <Arduino.h>
#include <ArduinoIoTCloud.h>

void setup() {}
void loop() {}

And using the following platformio.ini:

[env]
framework = arduino
lib_deps = arduino-libraries/ArduinoIoTCloud@^1.11.1
build_type = debug

[env:nanorp2040connect]
platform = raspberrypi
board = nanorp2040connect

[env:esp32dev]
platform = espressif32
board = esp32dev

I am unsure how to fix this error as IntelliSense finds the 213 byte pain-in-the-butt file at ~/.platformio/packages/framework-arduino-mbed/libraries/SFU/src/SFU.h. How should I proceed?

EDIT: Compile also fails for ESP32:

.pio/libdeps/esp32dev/WiFiNINA/src/utility/wifi_drv.h:293:12: error: 'PinStatus' does not name a type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions