7 years, 5 months ago.  This question has been closed. Reason: Off Topic

#include "cmsis_os2.h" // compiler fails here

I am looking at an Ethernet example from Tech-con 2016 I have "error #5" but the fix doesn't seem to help.

https://github.com/ARMmbed/mbed-ethernet-sample-techcon2016

line 25 in the file pal/Source/Port/Reference-Impl/mbedOS/RTOS/pal_plat_rtos.cpp

  1. include "cmsis_os2.h" Revision: V2.1

I tried cmsis_os.h but many many errors

mbed_rtos_storage_thread_t is undefined osTimerAttr_t is undefined . .