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

Add support for dual (RX/TX) activity LEDs #43

Merged

Conversation

henrikbrixandersen
Copy link
Member

@henrikbrixandersen henrikbrixandersen commented Dec 16, 2024

  • usb: device: class: gs_usb: split activity event into rx/tx activity
  • app: handle LED activity in normal/started instead of a dedicated state
  • app: add support for dual activity LEDs
  • app: allow enabling LED support for boards with no state LED
  • app: boards: add board overlay for the WeAct Studio USB2CANFDV1
  • app: enable integration testing on the WeAct Studio USB2CANFDV1

Fixes: #38

Split the GS_USB_EVENT_CHANNEL_ACTIVITY into
GS_USB_EVENT_CHANNEL_ACTIVITY_RX and GS_USB_EVENT_CHANNEL_ACTIVITY_TX.

Signed-off-by: Henrik Brix Andersen <[email protected]>
Handle the LED activity events and related ticks in the normal/started
state instead of a dedicated state.

Signed-off-by: Henrik Brix Andersen <[email protected]>
Add support for dual (RX/TX) CAN channel activity LEDs.

Signed-off-by: Henrik Brix Andersen <[email protected]>
Allow enabling CONFIG_CANNECTIVITY_LED_GPIO for boards with no state LED,
but only activity LED(s).

Signed-off-by: Henrik Brix Andersen <[email protected]>
Add a board overlay for the WeAct Studio USB2CANFDV1 USB to CAN adapter.

Fixes: CANnectivity#38

Signed-off-by: Henrik Brix Andersen <[email protected]>
Enable integration testing on the WeAct Studio USB2CANFDV1.

Signed-off-by: Henrik Brix Andersen <[email protected]>
@henrikbrixandersen henrikbrixandersen self-assigned this Dec 16, 2024
@henrikbrixandersen henrikbrixandersen marked this pull request as ready for review December 16, 2024 13:43
@henrikbrixandersen henrikbrixandersen merged commit 9b5c6a6 into CANnectivity:main Dec 16, 2024
4 checks passed
@henrikbrixandersen henrikbrixandersen deleted the activity_rx_tx branch December 16, 2024 21:10
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.

Add the overlays files for WeActStudio USB2CANFDV1
1 participant