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

MiscDrivers: Update all boards to use PB, LED, and stdio source files in MiscDrivers. #587

Merged
merged 30 commits into from
May 31, 2023

Conversation

Jacob-Scheiffler
Copy link
Contributor

This PR removes all Include and Source directories in the Boards/ and updates all board.mk files to use MiscDrivers. Most notably this affects the LED, PB, and stdio paths/files, but some of the boards used local copies of other drivers supported in MiscDrivers and these were updated as well. As well, some minor tweaks had to be made in the LED, PB , and stdio drivers to make them compatible with all parts.

{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO2));
MXC_ASSERT(pb < num_pbs);
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of asserting, you can also return an error code if incorrect pb parameter, so this function can follow the doxygen comments and not have one return code.

@sihyung-maxim
Copy link
Contributor

@EdwinFairchild @EricB-ADI @yc-adi

Not sure if any of the BLE codes use the PB library, but the BLE team should also review these changes since GPIO interrupt handling was updated.

@EdwinFairchild
Copy link
Contributor

GPIO interrupt checks out

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.

4 participants