Some methods were deprecated in Mbed OS 5.10 and now following compiler warnings occurs because deprecated methods are used:
Compile [ 0.8%]: NanostackRfPhySpirit1.cpp
[Warning] NanostackRfPhySpirit1.cpp@91,37: 'int32_t rtos::Thread::signal_set(int32_t)' is deprecated: Other signal_xxx methods have been deprecated in favour of ThisThread::flags functions. To match this naming scheme, derived from CMSIS-RTOS2, Thread::flags_set is now provided. [since mbed-os-5.10] [-Wdeprecated-declarations]
[Warning] NanostackRfPhySpirit1.cpp@409,13: 'static osStatus rtos::Thread::yield()' is deprecated: Static methods only affecting current thread cause confusion. Replaced by ThisThread::yield. [since mbed-os-5.10] [-Wdeprecated-declarations]
[Warning] NanostackRfPhySpirit1.cpp@409,19: 'static osStatus rtos::Thread::yield()' is deprecated: Static methods only affecting current thread cause confusion. Replaced by ThisThread::yield. [since mbed-os-5.10] [-Wdeprecated-declarations]
[Warning] NanostackRfPhySpirit1.cpp@614,53: 'static osEvent rtos::Thread::signal_wait(int32_t, uint32_t)' is deprecated: Static methods only affecting current thread cause confusion. Replaced by ThisThread::flags_wait_all, ThisThread::flags_wait_all_for, ThisThread::flags_wait_any and ThisThread:wait_any_for. [since mbed-os-5.10] [-Wdeprecated-declarations]
Some methods were deprecated in Mbed OS 5.10 and now following compiler warnings occurs because deprecated methods are used: