Skip to content

Board Interface V2#216

Merged
gabryelreyes merged 8 commits intomainfrom
feature/interface_v2
Jan 3, 2026
Merged

Board Interface V2#216
gabryelreyes merged 8 commits intomainfrom
feature/interface_v2

Conversation

@gabryelreyes
Copy link
Collaborator

No description provided.

@gabryelreyes gabryelreyes requested a review from Copilot January 2, 2026 18:23
@gabryelreyes gabryelreyes self-assigned this Jan 2, 2026
@gabryelreyes gabryelreyes added the enhancement New feature or request label Jan 2, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request introduces Board Interface V2, which expands the IBoard interface to support multiple buttons and LEDs beyond the basic RGB LEDs and reset button. The changes rename the existing button getter for clarity and add support for three additional buttons (A, B, C) and three additional LEDs (A, B, C).

  • Renames getButton() to getButtonReset() to clarify it refers to the reset button
  • Adds three new button drivers (A, B, C) with corresponding getter methods
  • Adds three new LED drivers (A, B, C) with corresponding getter methods

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
lib/HALInterfaces/src/IBoard.h Updates the IBoard interface to add getButtonReset(), getButtonA(), getButtonB(), getButtonC(), getLedA(), getLedB(), and getLedC() methods
lib/HALTargetCommon/src/Board.h Implements the new interface methods, adds includes for the new button/LED classes, and declares member variables for the new drivers
lib/HALTargetCommon/src/Board.cpp Initializes the new button and LED member variables in the constructor
lib/HALSim/src/Board.h Partially updates the simulation board implementation by renaming the m_button member variable to m_buttonReset
lib/APPLineFollower/src/States/StartupState.cpp Updates caller to use the renamed getButtonReset() method
lib/APPLineFollower/src/States/ReleaseTrackState.cpp Updates caller to use the renamed getButtonReset() method
lib/APPLineFollower/src/States/ReadyState.cpp Updates caller to use the renamed getButtonReset() method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gabryelreyes gabryelreyes merged commit 6516b26 into main Jan 3, 2026
27 checks passed
@gabryelreyes gabryelreyes deleted the feature/interface_v2 branch January 3, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants