Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Spi Flash write read demo is not compiling #8

Closed
nobodyman1 opened this issue May 25, 2022 · 4 comments
Closed

Spi Flash write read demo is not compiling #8

nobodyman1 opened this issue May 25, 2022 · 4 comments
Assignees
Labels
ArduinoCore-mbed Label for ArduinoCore-mbed UAY Unassigned yet

Comments

@nobodyman1
Copy link

flash_write_read.ino is not compiling.

QSPIFBlockDevice.h: No such file or directory

If I change the include to the full path
#include "x:\arduino-1.8.19\portable\packages\Seeeduino\hardware\nrf52\2.6.1\cores\arduino\mbed\storage\blockdevice\COMPONENT_QSPIF\include\QSPIF\QSPIFBlockDevice.h"
a lot of errors are shown, e.g.
x:\arduino-1.8.19\portable\packages\Seeeduino\hardware\nrf52\2.6.1\cores\arduino\mbed\storage\blockdevice\COMPONENT_QSPIF\include\QSPIF\QSPIFBlockDevice.h:266:5: error: 'qspi_status_t' does not name a type; did you mean 'spi_inst_t'?

@elidonner
Copy link

If you are using the Arduino IDE, make sure you have the correct board selected. This solved the issue for me.

@elidonner
Copy link

With the update to 2.7.2, I am now also getting this issue.

@bradocchs
Copy link

I'm also trying to run this example but getting this error:
Compilation error: 'QSPI_FLASH1_IO0' was not declared in this scope
I'm using version 2.9.1 of the mbed ArduinoCore.

Ideas?

@josephduchesne
Copy link

@bigbearishappy the new build you did here: arduino@9f627f6 seems to have been reverted. The latest 2.9.2 version has the headers for QSPI, but libmbed.a doesn't have the QSPI symbols. I swapped in the version from that commit last year and it fixed the problem (and probably broke other things).

@MatthewJeffson MatthewJeffson added UAY Unassigned yet ArduinoCore-mbed Label for ArduinoCore-mbed labels Oct 9, 2024
@Lesords Lesords self-assigned this Oct 14, 2024
@baorepo baorepo closed this as completed Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ArduinoCore-mbed Label for ArduinoCore-mbed UAY Unassigned yet
Projects
Status: Done
Development

No branches or pull requests

7 participants