10 years, 6 months ago.

Getting error code #35 with nrf51822, error "no target defined"

I'm trying to us the mbed-rtos to work with a Thread::wait condition in my development with the MK20 nrf51822 USB dev kit.

Just including the rtos library generates an error during compiling:

Error: #error directive: "no target defined" in "mbed-rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c", Line: 62, Col: 6

When I view that file, it seems there is a specification for the hardware included for maximum number of threads. I'm not sure how to specify a target as it's not in the documentation.

Thanks for any guidance.

Question relating to:

1 Answer

10 years, 6 months ago.

nrf51822 does not support the RTOS https://github.com/mbedmicro/mbed/issues/902

Accepted Answer