Skip to content

Add STM32H7xx driver#26

Open
equationcrunchor wants to merge 13 commits intomasterfrom
mingfei-add-h7
Open

Add STM32H7xx driver#26
equationcrunchor wants to merge 13 commits intomasterfrom
mingfei-add-h7

Conversation

@equationcrunchor
Copy link
Contributor

@equationcrunchor equationcrunchor commented Feb 27, 2022

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

I don't expect this to make a difference
@evelyn-fu evelyn-fu self-requested a review April 1, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants