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.
10 years, 2 months ago.
why mbed rtos not supply Atmel?
I use SAMR21 board, I try run a simply mbed rtos example
- include "mbed.h"
- include "rtos.h"
DigitalOut led1(LED1);
void led1_thread(void const *args) { while (true) { led1 = !led1; Thread::wait(1000); } }
int main() { Thread thread(led1_thread);
while (true) { Thread::wait(500); } } }
but mbed display:Error: #error directive: "no target defined" in "mbed-dev/mbed-rtos/rtx/TARGET_CORTEX_M/RTX_Conf_CM.c", Line: 64, Col: 7
I goto the error :I can't find any Atmle's MCU