Skip to content

Commit 11bbbf9

Browse files
giulcioffifacchinm
authored andcommitted
Fix include for SPIFBlockDevice
1 parent 7a3c371 commit 11bbbf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed-os-to-arduino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ EOF
223223
patch_spi_h () {
224224
echo -n "Patching SPI headers..."
225225
mv "$ARDUINOCOREMBED"/drivers/include/drivers/SPI.h "$ARDUINOCOREMBED"/drivers/include/drivers/SPIMaster.h
226-
for header in mbed.h connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512SPITransportDriver.h storage/blockdevice/COMPONENT_SD/include/SD/SDBlockDevice.h; do
226+
for header in mbed.h connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512SPITransportDriver.h storage/blockdevice/COMPONENT_SPIF/include/SPIF/SPIFBlockDevice.h storage/blockdevice/COMPONENT_SD/include/SD/SDBlockDevice.h; do
227227
sed -i.bak 's#drivers/SPI\.h#drivers/SPIMaster\.h#g' "$ARDUINOCOREMBED"/$header
228228
rm "$ARDUINOCOREMBED"/$header.bak
229229
done

0 commit comments

Comments
 (0)