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.
8 years ago.
Wi-fi Library Broken?
Wifi Library fails to compile if I update the mbed library to the newest version. This leads to an awkward situation where I cannot use RTOS, which is do need.
Question relating to:
1 Answer
8 years ago.
When you import the project and compile, you should see a error message #Struct "<unnamed>" has no field "NRFFW" The error is caused by conflict nrf51.h in the codebase. This has been explained in https://developer.mbed.org/questions/70458/Struct-unnamed-has-no-field-NRFFW/
The quick fix is to do the following
Edit nRF51822/nrf51-sdk/source/nordic_sdk/components/libraries/fstorage/fstorage_config.h and remove:
uint32_t const bootloader_addr = NRF_UICR->NRFFW[0]; return ((bootloader_addr != FS_EMPTY_MASK) ? bootloader_addr : NRF_FICR->CODESIZE * FS_PAGE_SIZE);