Northeastern-Electric-Racing / ProteusMC

Our fully custom, in-house dual HV motor controller
2 stars 0 forks source link

#24 - error handler skeleton #33

Closed RChandler234 closed 8 months ago

RChandler234 commented 8 months ago

Changes

I copied the error handler stuff from cerberus and got it to build. Not sure where we want to add this error handler in main.c, looks like the auto-generated code has a separate error handler it's using rn that's just manually called whenever an error condition is met in various places in the code

To Do

Any remaining things that need to get done

Checklist

It can be helpful to check the Checks and Files changed tabs. Please reach out to your Project Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.

Closes #24 (issue #)

nwdepatie commented 8 months ago

For wiring up in main, check here: https://github.com/Northeastern-Electric-Racing/Cerberus/blob/d85e8d368eacff076d41d5849132ded3119a8ed1/Core/Src/main.c#L219C1-L219C77