Skip to content
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

Does not compile on Arduino Nano 33 BLE #170

Open
Nv7-GitHub opened this issue Jan 5, 2024 · 1 comment
Open

Does not compile on Arduino Nano 33 BLE #170

Nv7-GitHub opened this issue Jan 5, 2024 · 1 comment
Labels

Comments

@Nv7-GitHub
Copy link

Operating System

MacOS

IDE version

Arduino IDE 2.2.1

Board

Arduino Nano 33 BLE

BSP version

4.0.10

SPIFlash Library version

4.3.4

Sketch as attached file if not stock example

Stock example, or just anything that tries to compile it

What happened ?

Getting this error while compiling:

/Users/nv/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp: In member function 'virtual void Adafruit_FlashTransport_QSPI::begin()':
/Users/nv/Documents/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp:79:35: error: 'g_ADigitalPinMap' was not declared in this scope
               .sck_pin = (uint8_t)g_ADigitalPinMap[_sck],
                                   ^~~~~~~~~~~~~~~~

How to reproduce ?

Simply compile for Arduino Nano 33 BLE

Debug Log as attached txt file

No response

Screenshots

No response

@Nv7-GitHub Nv7-GitHub added the Bug label Jan 5, 2024
@bringert
Copy link

I'm seeing the same issue with the Seeed XIAO NRF52840 mbed-enabled board (board package version 2.9.2 ) using Adafruit_SPIFlash 5.0.0 with Arduino IDE 2.3.3 on Mac OS Sonoma 14.6.1:

/Users/bjorn/projects/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp: In member function 'virtual void Adafruit_FlashTransport_QSPI::begin()':
/Users/bjorn/projects/Arduino/libraries/Adafruit_SPIFlash/src/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp:79:35: error: 'g_ADigitalPinMap' was not declared in this scope
.sck_pin = (uint8_t)g_ADigitalPinMap[_sck],
^~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants