-
Notifications
You must be signed in to change notification settings - Fork 0
Cleans up BMSB GPIO config #200
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
base: master
Are you sure you want to change the base?
Conversation
Cleans up BMSB GPIO config PR to make it easier to review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didnt go over the pinout doc, but all these changes look super good and clean. theres only the small cleanliness aspect of HW_GPIO_COUNT
but lgtm. Upto you if you want to merge or make that fixup
HW_GPIO_COUNT, | ||
#endif | ||
#if BMSB_CONFIG_ID == 1U | ||
HW_GPIO_UART_TX_3V, | ||
HW_GPIO_UART_RX_3V, | ||
HW_GPIO_ADC_TEMP, | ||
HW_GPIO_VPACK_ADC_P, | ||
HW_GPIO_VPACK_ADC_N, | ||
HW_GPIO_VPACK_DIAG, | ||
HW_GPIO_CAN2_RX, | ||
HW_GPIO_CAN2_TX, | ||
HW_GPIO_COUNT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: HW_GPIO_COUNT
Could have been left outside the second #if
. Minor thing but can also be done down the line I dont find it necessary to repush just for this but can be done for cleanliness. Then youd only need it there once
Adds HW_GPIO_COUNT to end of enum for less redundancy
0d6da0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixup last commit so your pr is only 1 commit and repush. Ill approve right away
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving if you just want to merge
Describe changes
Impact
Test Plan