Hello,
With DS-5 on Ubuntu 13.10, I can't compile the MQX psp for vybrid M4 core, on a fresh MQX install.
"../../../../source/psp/cortex_m/core/M4/support.S", line 29: Error: #5: cannot open source input file "asm_mac.h": File name too long
#include <asm_mac.h>
../../../../source/psp/cortex_m/core/M4/support.S: 0 warnings, 1 error
Fatal error: A1905U: Pre-processor step failed for '../../../../source/psp/cortex_m/core/M4/support.S'
I can compile BSP with some warnings, but it compiles.
any ideas?
Solved! Go to Solution.
You also need to replace all the:
#include <....>
with
#include "..."
in your .s files.
Regarding building with Win7, I had the same problem. It seems the include paths for .S files are not properly recognized in the DS-5 setup and as a quick fix, I ended-up copying the files below in the M4 directory (there must be a better way but I don't like DS-5 at all and I created the solution files to use the Crossworks toolchain instead).
asm_mac.h
boot.S
cortex.h
dispatch.S
kinetis.h
kinetis_mpu.h
mqx_cnfg.h
mqx_cpudef.h
mqx_prv.h
nvic.h
psp.h
psptypes.h
psp_abi.h
psp_comp.h
psp_cpu.h
psp_cpudef.h
psp_math.h
psp_prv.h
psp_prv.inc
psp_rev.h
psp_supp.h
psp_time.h
small_ram_config.h
support.S
types.inc
user_config.h
verif_enabled_config.h
vybrid.h