hi,
I have problem on compiling when imported the examples.
here is my log:
arm-none-eabi-gcc -DCPU_S32K144HFT0VLLT -DS32K -I"E:\workspace\FreeRTOS_Example\Sources" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/examples/demo_apps/FreeRTOS/sources" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/rtos/FreeRTOS/Source/include" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/rtos/FreeRTOS/Source/portable/MemMang" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/rtos/FreeRTOS/Source/portable/GCC/ARM_CM4F" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/platform/devices/S32K144/include" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/platform/devices/S32K144" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/platform/devices" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/platform/hal/inc" -I"d:\Freescale\S32_ARM_v1.2\S32DS\S32_SDK_EAR_0.8.1/platform/drivers/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -specs=nano.specs -specs=nosys.specs --sysroot="D:\Freescale\S32_ARM_v1.2\eclipse\../Cross_Tools/gcc-arm-none-eabi-4_9/arm-none-eabi/newlib" -MMD -MP -MF"Sources/main.d" -MT"Sources/main.o" -c -o "Sources/main.o" "../Sources/main.c"
../Sources/main.c:61:17: fatal error: Cpu.h: No such file or directory
#include "Cpu.h"
Hello,
It seems like generated files from Processor Expert do not exist.
I'd recommend you to generate the processor expert code first since build process does not trigger the code generator.
When the generation is done you should see the new project folder "Generated Code" which includes e.g. "cpu.h" that was missing when you initially compiled main.c.
Now you can build the project and at the end of the process you should see executable elf file being created:
Hope it helps.
Stan
Thanks.
thanks, Stan, that's right, it works now.