Adds STM32H7xx driver for inverter. Based off the code that @Swissking1 wrote in the rod-add-h7 branch, but fixed receiving messages, message sizes, and made to work with current CANlib code generation.
I'd like Vedantha to test this code on the inverter before merging. I'll add him to the organization and @ him here once I learn his public GitHub handle.
Vedantha, switch your CANlib submodule to this branch and test the inverter. You'll need to make some changes to board.mk:
Add CANLIB_ARCH := $(shell echo $(MCU) | cut -c1-7)xx
And add -DCANLIB_ARCH="$(CANLIB_ARCH)" -DCANLIB_ARCH_$(CANLIB_ARCH) to COMMON_DEFS
Adds STM32H7xx driver for inverter. Based off the code that @Swissking1 wrote in the
rod-add-h7
branch, but fixed receiving messages, message sizes, and made to work with current CANlib code generation.I'd like Vedantha to test this code on the inverter before merging. I'll add him to the organization and @ him here once I learn his public GitHub handle.
Vedantha, switch your CANlib submodule to this branch and test the inverter. You'll need to make some changes to
board.mk
: AddCANLIB_ARCH := $(shell echo $(MCU) | cut -c1-7)xx
And add-DCANLIB_ARCH="$(CANLIB_ARCH)" -DCANLIB_ARCH_$(CANLIB_ARCH)
toCOMMON_DEFS