Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 4 months ago.
CC3000 with NUCLEO-F411RE
Hello guys, i hope anyone can help me, i started to use the NUCLEO-F411RE a few days ago, now i purchased a cc3000 huzzah adafuit module, i have been trying to make it work with the library, but when i try to compile i always get these two errors:
Error: Identifier "first_IRQ_number" is undefined in "NVIC_set_all_priorities/NVIC_set_all_priorities.cpp", Line: 16, Col: 19 Error: Identifier "last_IRQ_number" is undefined in "NVIC_set_all_priorities/NVIC_set_all_priorities.cpp", Line: 16, Col: 47
I think that this happens because those identifiers are not defined on the NVIC_set_all_priorities.h file for the NUCLEO-F411RE (not shure it this is the error)
I hope you'll be able to help me and explain me how to fix this please.
Question relating to:
2 Answers
9 years, 4 months ago.
You can also update the NVIC_set_all_priorities library to its latest version as several targets have been added since the CC3000 code has been released. It is quite important to have the interrupt priorities set as defined in the CC3000 code.
9 years, 4 months ago.
They are not needed for the Nucleo-f411, just delete the files NVIC_set_all_priorities.cpp, NVIC_set_all_priorities.h and all references to them, the program should then compile.
Thanks for your help, the program finally compiled, but a new problem appeared, if i connect the module to a network without password it works fine, but if i try tu use WEP the connection fails:
- define SSID "INFINITUMd851"
- define PASS "6236626339" cc3000 wifi(D3, D5, D10, SPI(D11, D12, D13), SSID, PASS, WEP, false);