Hi Mark,
I've been following your video
here on importing and compiling uTasker in McuXpresso (11.1.1_3241).
However I ran into some issues during compilation process (FRDM-K22F):
1. Bunch of errors related to redefinition of arm_math related functions. I suppose the correct way of handling this is just to exclude CMSIS_DSP from build, right?
Description Resource Path Location Type
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" core_cm0plus.h /uTaskerV1.4/Hardware/CMSIS_DSP line 88 C/C++ Problem
expected identifier or '(' before '{' token cmsis_gcc.h /uTaskerV1.4/Hardware/CMSIS_DSP line 1020 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_abs_f32.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_bitreversal.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_cfft_f32.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_cfft_q15.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_cfft_radix4_q15.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_cfft_radix8_f32.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_cmplx_mag_f32.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** [Hardware/CMSIS_DSP/subdir.mk:54: Hardware/CMSIS_DSP/arm_common_tables.o] Error 1 uTaskerV1.4 C/C++ Problem
make: *** Waiting for unfinished jobs.... uTaskerV1.4 C/C++ Problem
redefinition of '__QADD' arm_math.h /uTaskerV1.4/Hardware/CMSIS_DSP line 930 C/C++ Problem
redefinition of '__QADD16' arm_math.h /uTaskerV1.4/Hardware/CMSIS_DSP line 778 C/C++ Problem
2. QUEUE_HANDLE error in uCANopen. It is defined in types.h so I'm not sure why McuXpresso can't see it.
unknown type name 'QUEUE_HANDLE' CO_driver.h /uTaskerV1.4/uTasker/uCANopen line 382 C/C++ Problem
3. Project properties -> C/C++ Build -> MCU Settings show that target is Generic M4 with only RAM definition present. Is this correct?
Thanks,
Anton