Skip to content

Commit

Permalink
chore: Enable Swan CDCgen by default
Browse files Browse the repository at this point in the history
To make it easier for Swan users, we have decided to enable `CDC (generic 'Serial' supersede U(S)ART)` by default. If customers wish to remove USB support to optimize their binary, they may deselect it from the menu.
  • Loading branch information
zfields authored and fpistm committed Aug 22, 2022
1 parent 2f89ed5 commit ffeebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7130,13 +7130,13 @@ GenWB.menu.xusb.HSFS.build.usb_speed=-DUSE_USB_HS -DUSE_USB_HS_IN_FS
3dprinter.menu.xusb.HSFS=High Speed in Full Speed mode
3dprinter.menu.xusb.HSFS.build.usb_speed=-DUSE_USB_HS -DUSE_USB_HS_IN_FS

BluesW.menu.usb.none=None
BluesW.menu.usb.CDCgen=CDC (generic 'Serial' supersede U(S)ART)
BluesW.menu.usb.CDCgen.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC
BluesW.menu.usb.CDC=CDC (no generic 'Serial')
BluesW.menu.usb.CDC.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB
BluesW.menu.usb.HID=HID (keyboard and mouse)
BluesW.menu.usb.HID.build.enable_usb={build.usb_flags} -DUSBD_USE_HID_COMPOSITE
BluesW.menu.usb.none=None
BluesW.menu.xusb.FS=Low/Full Speed
BluesW.menu.xusb.HS=High Speed
BluesW.menu.xusb.HS.build.usb_speed=-DUSE_USB_HS
Expand Down

0 comments on commit ffeebe7

Please sign in to comment.