

Libs\FreeRTOS\include\portable.h”) (from translation “C:\Users\ckurz.ITK\Desktop\RL78_Demo\RL78_Demo\user_src *, TaskFunction_t, void *)” (declared at line 363 of “_near_func unsigned short *pxPortInitialiseStack(unsigned short “./user_src/Application/Tasks/TestTask.c” “C:\Users\ckurz.ITK\Desktop\RL78_Demo\RL78_Demo\user_src\libs\FreeRTOS\include\portable.h”,363 Error:ĭeclaration of function “pxPortInitialiseStack” had a different Here’s just one of them (there are a lot more): This works fine for this error, but a lot of other errors came up. I also tried to put the whole deklaration of structtskTaskControlBlock and pxCurrentTCB into the task.h file, to be able to use it in port.c. Yes I tried this out, but it didn’t work. Mingw32-make: *** Error 2Ĭhris-itk wrote on Thursday, October 09, 2014: Makefile:60: recipe for target ‘Debug/Obj/croutine.r87’ failed (from translation unit “./user_src/FreeRTOS/tasks.c”) (declared at line 188 of “./user_src/FreeRTOS/tasks.c”) “struct tskTaskControlBlock *volatile _near pxCurrentTCB” “./user_src/FreeRTOS/portable/IAR/RL78/port.c”) Of “./user_src/FreeRTOS/portable/IAR/RL78/port.c”) (from “void volatile *volatile _near pxCurrentTCB” (declared at line 90 “C:\Users\ckurz.ITK\Desktop\RL78_Demo\RL78_Demo\user_src\FreeRTOS\portable\IAR\RL78\port.c”,90 Error:ĭeclaration of variable “pxCurrentTCB” is incompatible with a
DECLARATION IS INCOMPATIBLE WITH IAR ARM LICENSE
user_src/includes/Įvaluation license - IAR Embedded Workbench for Renesas RL78, Evaluation version 1.40Įxtern volatile TCB_t * volatile pxCurrentTCB user_src/FreeRTOS/portable/IAR/RL78/ -I. Debug/Obj/ -dlib_config dlrl78nn2n.h -I. user_src/FreeRTOS/tasks.c -core rl78_2 -code_model near -data_model near -near_const_location rom0 -e -Ol -no_cse -no_unroll -no_inline -no_code_motion -no_tbaa -no_crosscall -no_scheduling -no_clustering -debug -mfc -no_system_include -o. user_src/FreeRTOS/portable/IAR/RL78/port.c. user_src/FreeRTOS/portable/MemMang/heap_1.c. I would be very glad if you could tell me what the problem is. Without this flag, compiling every single c-file for itself, my project builds without any error. I get a compiler error when I use the -mfc compiler flag (multi-file compilation) of the IAR compiler. Chris-itk wrote on Tuesday, October 07, 2014:
