You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max6957.cpp: In member function 'int max6957::getInterruptNumber(byte)':
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max6957.cpp:49:16: error: 'NOT_AN_INTERRUPT' was not declared in this scope
if (intNum != NOT_AN_INTERRUPT) {
^~~~~~~~~~~~~~~~
Compiling .pio/build/nordicnrf52/lib499/gpio_expander_ID973/mcp23016.cpp.o
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max6957.cpp:49:16: note: suggested alternative: '_WIRING_INTERRUPTS_'
if (intNum != NOT_AN_INTERRUPT) {
^~~~~~~~~~~~~~~~
_WIRING_INTERRUPTS_
Archiving .pio/build/nordicnrf52/liba99/libSPI.a
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max7301.cpp: In member function 'int max7301::getInterruptNumber(byte)':
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max7301.cpp:48:16: error: 'NOT_AN_INTERRUPT' was not declared in this scope
if (intNum != NOT_AN_INTERRUPT) {
^~~~~~~~~~~~~~~~
*** [.pio/build/nordicnrf52/lib499/gpio_expander_ID973/max6957.cpp.o] Error 1
.pio/libdeps/nordicnrf52/gpio_expander_ID973/max7301.cpp:48:16: note: suggested alternative: '_WIRING_INTERRUPTS_'
if (intNum != NOT_AN_INTERRUPT) {
^~~~~~~~~~~~~~~~
_WIRING_INTERRUPTS_
Indexing .pio/build/nordicnrf52/liba99/libSPI.a
*** [.pio/build/nordicnrf52/lib499/gpio_expander_ID973/max7301.cpp.o] Error 1
Do you have any clue ?
Thx a lot :)
The text was updated successfully, but these errors were encountered:
PJCzx
changed the title
Undeclared NOT_AN_INTERRUPT for Nordic NRF52 plateform due to
Undeclared NOT_AN_INTERRUPT for Nordic NRF52 plateform
Mar 27, 2020
Hello @sumotoy
Thx for your work :)
I submitted a fix for relative path of Wire.h and SPI.h headers. This enables me to build correctly on
atmelavr
plateform but still have an issue onnordicnrf52
.Here are my project confs :
And here is the error part of my console output 👍
Do you have any clue ?
Thx a lot :)
The text was updated successfully, but these errors were encountered: