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.
First commit just fixes an accidental breakage that was inflicted upon the CAN mirroring code, no target in autotest has this enabled so it went unnoticed.
Second commit adds the boom board hwdef we are using, generates PWM's and talks to APD ESC's (also useful, because I never committed an example of what you needed in the hwdef to enable the APD support), uses relays to control battery charging and heating (controlled from the main vehicle over CAN), a battery monitor.
The aircraft has 2 booms in it, a left and a right. I've managed this in the past with 2 different build targets, but it ends up being a support nightmare where the wrong params/firmware are loaded. The clever work around this uses is the boom boards are identical except there is a pull up/down resistor populated based upon which board it is, a script is used to read this value and populate the appropriate defaults for which side of the aircraft it is installed upon.