Hey everyone,
i'm trying to Port FreeRTOS to a 8051 Softcore Controller
(https://github.com/jaruiz/light52) but when i compile the File
tasks.c
(https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/tasks.c#l1011)
i receive the following error
$ sdcc --debug -o obj/ -D__LIGHT52__=1 -DSDCC_LIGHT52 -Isrc/FreeRTOS/include
-Isrc/config -I../include -Isrc/FreeRTOS/portable/SDCC/light52 -c
src/FreeRTOS/tasks.c
src/FreeRTOS/tasks.c:1011: error 47: indirections to different types assignment
from type 'struct TaskControlBlock_t generic* fixed'
to type 'struct TaskControlBlock_t generic* int fixed'
src/FreeRTOS/tasks.c:1954: error 78: incompatible types
from type 'struct TaskControlBlock_t generic* near* fixed'
to type 'struct TaskControlBlock_t generic* int generic* const fixed'
How do I have to cast these types ?
best regards
Michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user