Dear All,
I downloaded MQX 4.2 for Halo Rev 6 package and wanted to run examples in S32DS. Unfortunately, there is few description about how to build BSP/PSP library in S32DS only below information.
Firstly, I import project '\MQX_4_2_Halo_0_6\mqx\build\s32ds\bsp_mac57d5mb\bsp_mac57d5mb_A5' to S32DS, but failed to build, error shown below.
Could anyone help me build BSP and PSP in S32DS, thank you very much!
Best Regards
Tony Zhang
Hi Tony,
You're welcome! We are still trying to troubleshoot this error but we have not succeeded yet, please let me know if you get any result since this is really important for us and our project development. We have not able to execute any project involving DCU in deliverable MQX_4_2_Halo_0_6.rar with S32DS v1.3.
Could anybody at NXP provide some feedback or guide on how to do it?
Thank you very much for you kind collaboration.
Best regards,
alvaro
Hi Alvaro,
Many thanks for your sharing. I can run "Hello" now!
BTW, do you figure out problems of "Tiger" project? I followed your guide, active BSPCFG_ENABLE_DCU, but it cannot display.
Best Regards
Tony
Hi Tony,
the reason why ovg examples can't be build is missing post-build step in bsp/psp project. Here is step by step guide for fixing the build issue for Logo/tiger and other examples:
arg 1. MQX_ROOT_DIR (in my case C:\Freescale\MQX_4_2_Halo_0_6)
arg 2. OUTPUT_PATH (in my case C:\Freescale\MQX_4_2_Halo_0_6\lib\mac57d5mb_a5.s32ds\debug\bsp
arg 3. s32ds (tool name)
I used for all 4 .bat files output path with bsp at the end - even when the bat file is related to psp. You have to only change core in the output path related to .bat file (a5 or m4).
Here are exact command lines how I used them on my machine:
bsp_mac57d5mb_m4.bat C:\Freescale\MQX_4_2_Halo_0_6 C:\Freescale\MQX_4_2_Halo_0_6\lib\mac57d5mb_m4.s32ds\debug\bsp s32ds
psp_mac57d5mb_m4.bat C:\Freescale\MQX_4_2_Halo_0_6 C:\Freescale\MQX_4_2_Halo_0_6\lib\mac57d5mb_m4.s32ds\debug\bsp s32ds
bsp_mac57d5mb_a5.bat C:\Freescale\MQX_4_2_Halo_0_6 C:\Freescale\MQX_4_2_Halo_0_6\lib\mac57d5mb_a5.s32ds\debug\bsp s32ds
psp_mac57d5mb_a5.bat C:\Freescale\MQX_4_2_Halo_0_6 C:\Freescale\MQX_4_2_Halo_0_6\lib\mac57d5mb_a5.s32ds\debug\bsp s32ds
Hope it helps.
Jiri
Hi Jiri,
Many thanks for your reply!
Would you please share .bat file you mentioned? I will try on my side. Thanks a lot.
Best Regards
Tony
Hi Tony,
.bat files are part of MQX installation. They are located at [YOUR_MQX_HALO_INSTALL_PATH]/mqx/build/bat as mentioned in point 4. You only need to pass correct arguments.
Jiri
Hi Tony,
We also found the same problem and solved it by modifying paths. We were able to build hello example but have found many issues when trying to build tiger example (activating DCU).
Find attached an explanatory document that we have forwarded to NXP waiting for feedback.
BR