Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STM32H7xx driver #26

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add STM32H7xx driver #26

wants to merge 13 commits into from

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