Open
Conversation
Made some changes to Rod's driver to make it work with our new generation system, and also added it to the list of drivers in driver.h
Note that receiving messages does not work without this change
I don't expect this to make a difference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds STM32H7xx driver for inverter. Based off the code that @Swissking1 wrote in the
rod-add-h7branch, 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)xxAnd add
-DCANLIB_ARCH="$(CANLIB_ARCH)" -DCANLIB_ARCH_$(CANLIB_ARCH)toCOMMON_DEFS