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

Added Bolt 1.1 platform config and motor mapping. #994

Merged
merged 2 commits into from Mar 18, 2022

Conversation

tobbeanton
Copy link
Member

@tobbeanton tobbeanton commented Mar 15, 2022

A finding made during motor output testing was that the expansion tests where not compiled in. Therefor these where added to Kbuild so the outputs could be tested.

Copy link
Member

@knmcguire knmcguire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still saw something a bit weird in the PR. Seems like only Motor M4 was added.

And what are the differences in the motor defines between the bolt and bolt 1.1?

&BOLT_M1_BL,
&BOLT_M2_BL,
&BOLT_M3_BL,
&BOLT11_M4_BL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this one called BOLT11_M4_BL while the other ones are called BOLT_M#_BL?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could decouple it from the platform and call it e.g. PA1_TIM2_CH2_BL and do the same with all of them.

@@ -301,6 +301,31 @@ static const MotorPerifDef BOLT_M4_BL =
.preloadConfig = TIM_OC4PreloadConfig,
};

// Bolt 1.1 M4, PB10, TIM2_CH3, Brushless config
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi is there only here a addition for motor M4?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is the only HW change.

@knmcguire knmcguire merged commit 889ed65 into master Mar 18, 2022
@knmcguire knmcguire added this to the next-release milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants