8 years, 8 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

8 years, 8 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.

Accepted Answer

This also worked and without deleting any file or reference of NVIC on the program.

posted by Kevin Ramirez 10 Jul 2015

How can I update this (or other ) library?? Just delete and copy?

posted by Cristian Fuentes 06 May 2016

In the mbed compiler, select the library in the _Program Workspace_ window.\ At the right side, there is a _Summary_ tab, click on the _Update_ button to import the latest version.

posted by Frank Vannieuwkerke 06 May 2016
8 years, 8 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:

  1. define SSID "INFINITUMd851"
  2. define PASS "6236626339" cc3000 wifi(D3, D5, D10, SPI(D11, D12, D13), SSID, PASS, WEP, false);
posted by Kevin Ramirez 04 Jul 2015

Try WPA or WPA2.

posted by David Fletcher 05 Jul 2015

For readers of this thread please take notice of what Frank has said, it is IMPORTANT to keep the NVIC_set_all_priorities library, as a number of boards will not work without it.

posted by David Fletcher 05 Jul 2015