open-dynamic-robot-initiative / udriver_firmware

Firmware of the ODRI udriver for either SPI or CAN control.
https://open-dynamic-robot-initiative.github.io/udriver_firmware
7 stars 3 forks source link

unable to compile #7

Open ajadpalm opened 2 years ago

ajadpalm commented 2 years ago

I did setup the workspace as mentioned in the documentation and haven't changed anything but it won't compile using W10

"worlspace/mw_dual_motor_torque_ctrl/src/F2806x_Headers_nonBIOS.cmd"

undefined first referenced symbol in file --------- ---------------- _HAL_readAdcResult ./src/dual_motor_torque_ctrl.obj error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "dual_motor_torque_ctrl.out" not built >> Compilation failure makefile:183: recipe for target 'dual_motor_torque_ctrl.out' failed gmake: *** [dual_motor_torque_ctrl.out] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished **** "
ajadpalm commented 2 years ago

the patch won't apply

error: sw/ide/ccs/cmd/f2806x/F28062F_ram_lnk.cmd: already exists in working directory error: sw/ide/ccs/cmd/f2806x/F28069F_ram_lnk.cmd: already exists in working directory error: sw/ide/ccs/cmd/f2806x/F28069M_ram_lnk.cmd: already exists in working directory error: patch failed: sw/modules/enc/src/32b/enc.c:68 error: sw/modules/enc/src/32b/enc.c: patch does not apply error: patch failed: sw/modules/enc/src/32b/enc.h:91 error: sw/modules/enc/src/32b/enc.h: patch does not apply error: patch failed: sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/hal_2mtr.c:926 error: sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/hal_2mtr.c: patch does not apply error: patch failed: sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/hal_2mtr.h:643 error: sw/modules/hal/boards/boostxldrv8305_revA/f28x/f2806x/src/hal_2mtr.h: patch does not apply error: patch failed: sw/solutions/instaspin_foc/boards/boostxldrv8305_revA/f28x/f2806xF/projects/ccs/proj_lab02b/.cproject:2 error: sw/solutions/instaspin_foc/boards/boostxldrv8305_revA/f28x/f2806xF/projects/ccs/proj_lab02b/.cproject: patch does not apply error: patch failed: sw/solutions/instaspin_motion/boards/boostxldrv8305_revA/f28x/f2806xM/projects/ccs/proj_lab12a/.cproject:2 error: sw/solutions/instaspin_motion/boards/boostxldrv8305_revA/f28x/f2806xM/projects/ccs/proj_lab12a/.cproject: patch does not apply