I installed and CW_MCU_v10.4_SE FSLMQXOS_4_0_1 on my machine. I tried to run some of the examples for my TWRMCF52259 board but did not work. When I compile the 13 errors:
Description Resource Path Location Type
'{' Expected main.c / test / Sources line 20 C / C Problem
expression syntax error main.c / test / Sources line 23 C / C Problem
expression syntax error main.c / test / Sources line 35 C / C Problem
expression syntax error main.c / test / Sources line 37 C / C Problem
identifier expected main.h / test / Sources line 14 C / C Problem
mingw32-make: *** [Sources / main_c.obj] Error 1 test C / C Problem
mingw32-make: *** No rule to make target `C :/ Freescale/Freescale_MQX_4_0/lib/twrmcf52259.cw10/debug/bsp/extmram.lcf ', needed by` teste.elf'. Test C / C Problem
preprocessor directive # error main.c / test / Sources line 10 C / C Problem
preprocessor directive # error main.c / test / Sources line 15 C / C Problem
the file 'bsp.h' can not be opened main.h / test / Sources line 4 C / C Problem
the file 'mqx.h' can not be opened main.h / test / Sources line 3 C / C Problem
undefined identifier 'TASK_TEMPLATE_STRUCT' main.c / test / Sources line 19 C / C Problem
unexpected end of file test C / C Problem
function has no prototype main.h / test / Sources line 14 C / C Problem
illegal empty declaration main.h / test / Sources line 14 C / C Problem
Invalid project path: Include path not found (C: \ Freescale \ Freescale_MQX_4_0 \ lib \ twrmcf52259.cw10 \ debug \ bsp). test pathentry Path Entry Problem
has a different procedure?
Hello marcio lafourcade,
based on your shared output, have you first built BSP and PSP for your board. Afterwards, build you application.
Regards,
0xc0170