Hi Marco,
I've performed some tests on my side.
I'm using CW for MCU V10.6.4 + patch V10.6.5 and MQX V4.2.
I've create a MQX project using the Project Wizard for:
File + New + MQX v4.2 Project
Give a project name + TWRK20D72M + Example application + MFS Examples + MFS_USB.
Now the example project was created but I can not build it as MQX libs were required.
MQX libs - import the wsd files for:
bsp_twrk20d72m.wsd under \Freescale_MQX_4_2\mqx\build\cw10gcc\bsp_twrk20d72m
psp_twrk20d72m.wsd under \Freescale_MQX_4_2\mqx\build\cw10gcc\psp_twrk20d72m
mfs_twrk20d72m.wsd under \Freescale_MQX_4_2\mfs\build\cw10gcc\mfs_twrk20d72m
usbh_twrk20d72m.wsd under \Freescale_MQX_4_2\usb\host\build\cw10gcc\usbh_twrk20d72m
shell_twrk20d72m.wsd under \Freescale_MQX_4_2\shell\build\cw10gcc\shell_twrk20d72m
After to have build the MQX libs I can build the MQX example project without problem.
Now I selected Create Flash Image in Additionnal Tools and define the Output to srec.
When I build the project it's working fine.
Below extract of my console:
...
' '
'Building target: test_mqx_20D72M.elf'
'Executing target #7 test_mqx_20D72M.elf'
'Invoking: ARM Ltd Windows GCC C Linker'
"E:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" @"test_mqx_20D72M.args" -o"test_mqx_20D72M.elf"
'Finished building target: test_mqx_20D72M.elf'
' '
'Executing target #8 test_mqx_20D72M.hex'
'Invoking: ARM Ltd Windows GNU Create Flash Image'
"E:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy" -O srec test_mqx_20D72M.elf "test_mqx_20D72M.hex"
'Finished building: test_mqx_20D72M.hex'
' '
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------