-
Notifications
You must be signed in to change notification settings - Fork 94
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
Conversation
…vers/PushButton source files.
{ | ||
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO2)); | ||
MXC_ASSERT(pb < num_pbs); |
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.
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.
@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. |
GPIO interrupt checks out |
…sterCallback functions.
…MSDK/msdk into dev/migrate_led_pb_stdio
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.