-
-
Notifications
You must be signed in to change notification settings - Fork 212
How can I make the external QSPI flash work with Arduino NANO 33 BLE? #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @bigbearishappy , Once done, you can replace this line https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/USBMSD/src/Singleton.cpp#L82 with an object of type Let me know if you need any help with these steps |
Thank you so much for you reply.
it compiled failed when compiling the QSPIFBlockDevice.cpp.Here is the error log:
I tried to run the command:
here is the output of it:
I am wondering if you can give me some help to fix this problem. |
You procedure was correct but I forgot one modification 🙂 Here's the full patch for mbed_app.json +++ b/variants/ARDUINO_NANO33BLE/conf/mbed_app.json
@@ -1,6 +1,12 @@
{
"macros": [
- "NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8"
+ "NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=8",
+ "QSPI_FLASH1_IO0=p1",
+ "QSPI_FLASH1_IO1=p1",
+ "QSPI_FLASH1_IO2=p1",
+ "QSPI_FLASH1_IO3=p1",
+ "QSPI_FLASH1_CSN=p1",
+ "QSPI_FLASH1_SCK=p1"
],
"target_overrides": {
"*": {
@@ -12,7 +18,9 @@
"rtos.main-thread-stack-size": 32768,
"cordio.max-connections": 5,
"platform.all-stats-enabled": true,
- "target.mbed_app_start": "0x10000"
+ "target.mbed_app_start": "0x10000",
+ "target.components_add" : ["QSPIF"],
+ "target.device_has_add" : ["QSPI"]
}
} Of course replace |
Great, I can compile the libmbed.a successfully now. |
Edge Control flash is being formatted in factory; anyway, adding the formatting phase is very easy (just add this line https://github.com/arduino-libraries/Arduino_EdgeControl/blob/master/examples/Storage/StoragePartitions/StoragePartitions.ino#L92 ) . |
Hello, I am working with my arduino 33 ble.
And I want to make it work fine with a QSPI flash.
I find a demo code in this project.
But it's based on the nrf52840's internal flash.
What should I do if I want to make the external QSPI flash works with nano 33 BLE?
The text was updated successfully, but these errors were encountered: