Hello everyone, I am using Mbed NXP LPC1768 device and my ide is Visual Studio Code with platformio extension. I want to write data to sd card which is imported on LPC1768. I have tried with with SPI pins and SDBlockDevice library. But when i builded the code then a error occurs. My mbed version is
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: NXP LPC (9.2.0) > NXP mbed LPC1768
HARDWARE: LPC1768 96MHz, 64KB RAM, 512KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
- framework-mbed @ 6.60900.220911 (6.9.0)
- toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)
Collecting mbed sources…
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies…
No dependencies
Building in release mode
Compiling .pio\build\lpc1768\src\main.o
src\main.cpp:2:10: fatal error: SDBlockDevice.h: No such file or directory
- Looking for SDBlockDevice.h dependency? Check our library registry!
- CLI > platformio lib search “header:SDBlockDevice.h”
- Web > PlatformIO Registry
2 | #include "SDBlockDevice.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\lpc1768\src\main.o] Error 1
It is an example code. Details are not important.
Thank you!