What has been changed in BLE 33 sense -cannot compile after purchase "new" BLE 33

Hi,

I've created some apps for my rocket, and everything was compiling fine 3-4 weeks ago.
Now after purchased a new BLE 33 Sense board (a weekago) I cannot compile the apps at all:

In file included from /Users/adm/Downloads/EKRAN_GPS__3.5_WORKX/EKRAN_GPS__3.5_WORKX.ino:1:0:
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:88:7: error: 'osPriority' has not been declared
osPriority threadPriority = osPriorityNormal,

   ^~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:116:5: error: 'rtos' does not name a type; did you mean 'utoa'?
rtos::Thread readThread;

 ^~~~
 utoa

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:88:35: error: 'osPriorityNormal' was not declared in this scope
osPriority threadPriority = osPriorityNormal,

                               ^~~~~~~~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:88:35: note: suggested alternative: 'osPriority'
osPriority threadPriority = osPriorityNormal,

                               ^~~~~~~~~~~~~~~~
                               osPriority

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h: In member function 'void Nano33BLEPressure::begin()':
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:83:7: error: 'readThread' was not declared in this scope
readThread.start(mbed::callback(Nano33BLEPressure::readFunction, this));

   ^~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:83:7: note: suggested alternative: 'readPeriod'
readThread.start(mbed::callback(Nano33BLEPressure::readFunction, this));

   ^~~~~~~~~~
   readPeriod

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h: In constructor 'Nano33BLEPressure::Nano33BLEPressure(uint32_t, int, uint32_t)':
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEPressure.h:91:9: error: class 'Nano33BLEPressure' does not have any field named 'readThread'
readThread(

     ^~~~~~~~~~

In file included from /Users/adm/Downloads/EKRAN_GPS__3.5_WORKX/EKRAN_GPS__3.5_WORKX.ino:2:0:
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h: At global scope:
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:88:7: error: 'osPriority' has not been declared
osPriority threadPriority = osPriorityNormal,

   ^~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:117:5: error: 'rtos' does not name a type; did you mean 'utoa'?
rtos::Thread readThread;

 ^~~~
 utoa

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:88:35: error: 'osPriorityNormal' was not declared in this scope
osPriority threadPriority = osPriorityNormal,

                               ^~~~~~~~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:88:35: note: suggested alternative: 'osPriority'
osPriority threadPriority = osPriorityNormal,

                               ^~~~~~~~~~~~~~~~
                               osPriority

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h: In member function 'void Nano33BLETemperature::begin()':
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:83:7: error: 'readThread' was not declared in this scope
readThread.start(mbed::callback(Nano33BLETemperature::readFunction, this));

   ^~~~~~~~~~

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:83:7: note: suggested alternative: 'readPeriod'
readThread.start(mbed::callback(Nano33BLETemperature::readFunction, this));

   ^~~~~~~~~~
   readPeriod

/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h: In constructor 'Nano33BLETemperature::Nano33BLETemperature(uint32_t, int, uint32_t)':
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLETemperature.h:91:9: error: class 'Nano33BLETemperature' does not have any field named 'readThread'
readThread(

     ^~~~~~~~~~

In file included from /Users/adm/Downloads/EKRAN_GPS__3.5_WORKX/EKRAN_GPS__3.5_WORKX.ino:3:0:
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEGyroscope.h: At global scope:
/Users/adm/Documents/Arduino/libraries/Nano33BLESensor-master/src/Nano33BLEGyroscope.h:90:7: error: 'osPriority' has not been declared
osPriority threadPriority = osPriorityNormal,

What has been changed in the Arduino hardware ????

Those are not hardware errors

Plug in the original Nano 33 BLE and upload the Blink sketch. I assume that it uploads and works

Unplug the board and plug in the new one. Check that it is detected and that a COM port is allocated. Select the COM port from the IDE and upload the code. Do you get any error messages ?

Welcome to the forum.

You do not even need the hardware. Click the Verify button to just run the compilation process. You will get the same messages.

There was an update of the board support for the mbed based boards. They are now in separate board packages. You can still use the old one. You can even have both installed at the same time and switch between them.

There where changes made in the new board support to improve compilation speed. This made some low level functions private and you need to include some header files now.

Can you post your code and provide links to the libraries you used?

Interesting. I'm having the same problem as ufok describes. Got to find out which additional header files to include.

Currently I'm just trying to compile the Dale Giancono example.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.