Compiling cocoOS using SDCC

Compiling cocoOS using SDCC

Postby adityaxa » Sat Sep 15, 2018 6:29 am

Hi,

Trying to compile cocoOS using SDCC for STM8S, am having compiler error in os_task.c

/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:77: syntax error: token -> 'tcb' ; column 7
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:80: error 20: Undefined identifier 'task'
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:80: error 47: indirections to different types assignment
from type 'struct tcb near* fixed'
to type 'int fixed'
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:81: error 20: Undefined identifier 'task'
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:81: error 27: Pointer required
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:82: error 20: Undefined identifier 'task'
/Users/adityaxavier/Development/STM/CocoOS/Libraries/cocoOS/src/os_task.c:82: error 27: Pointer required


Please advise. Compiling using IAR works fine, however it doesn't work in SDCC.
adityaxa
 
Posts: 6
Joined: Fri Jun 23, 2017 6:08 pm

Re: Compiling cocoOS using SDCC

Postby EmmittNye » Tue Oct 16, 2018 12:13 pm

Is compiling using SDCC supposed to work?
EmmittNye
 
Posts: 1
Joined: Tue Oct 09, 2018 8:43 am


Return to General topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron