AnsweredAssumed Answered

STM32 RTOS os_error

Question asked by crow.john on Mar 21, 2016
Latest reply on Mar 22, 2016 by AvaTar
Hey there guys.
Im trying to launch the OS at my brand new STM32F100 discovery (http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF250863?sc=stm32-discovery)
I'm handling some difficulties from beggining, can anyone lead me through this?
Im trying to compile the code, but it throws error , and dont show from what line can it possibly be. I also tryied the code from examples with two tasks, but still all i can get is the error :
.\Objects\Projektorium no 1.axf: Error: L6218E: Undefined symbol os_error (referred from rt_system.o).

//---------Basic Libraries---------------
#include <stdio.h>
//---------Custom Libraries--------------
#include "gpio_config.h"
#include "led_control.h"
#include "stm32f10x.h"
#include "RTL.h"
 
 
OS_TID STARTUP, HB;
 
 
__task void startup     (void);
__task void heart_beat (void);
 
__task void startup (void) {
    STARTUP = os_tsk_self();
    for(;;) {
        os_tsk_create(heart_beat, 1);
        os_tsk_delete_self();
    }
}
__task void heart_beat(void) {
    HB = os_tsk_self();
    for(;;) {
        Status_led_blinker();
    }
}
 
int main(void)
{
    GPIO_config();
    os_sys_init(startup);
   
}
Can someone guide me through please. I wasnt able to find anything near to this case.
Thanks in advance 

Outcomes