Skip to content

Commit 87bca70

Browse files
committed
[examples] Deduplicate USB serial example
1 parent 6e181c3 commit 87bca70

File tree

15 files changed

+14
-285
lines changed

15 files changed

+14
-285
lines changed
File renamed without changes.
File renamed without changes.

examples/generic/usb/project.xml renamed to examples/ext/usb/project.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@
1111
<!-- <extends>modm:disco-f746ng</extends> -->
1212
<!-- <extends>modm:disco-l476vg</extends> -->
1313
<!-- <extends>modm:feather-m0</extends> -->
14+
<!-- <extends>modm:feather-m4</extends> -->
1415
<!-- <extends>modm:nucleo-f429zi</extends> -->
1516
<!-- <extends>modm:nucleo-h723zg</extends> -->
1617
<!-- <extends>modm:nucleo-h743zi</extends> -->
1718
<!-- <extends>modm:rp-pico</extends> -->
1819
<!-- <extends>modm:samd21-mini</extends> -->
20+
<!-- <extends>modm:samd21-xplained-pro</extends> -->
21+
<!-- <extends>modm:same54-xplained-pro</extends> -->
22+
<!-- <extends>modm:samg55-xplained-pro</extends> -->
23+
<!-- <extends>modm:nucleo-f446ze</extends> -->
1924
<options>
20-
<option name="modm:build:openocd.cfg">openocd.cfg</option>
25+
<!-- Required for modm:blue-pill-f103, modm:black-pill-f401, modm:black-pill-f411 -->
26+
<!-- <option name="modm:build:openocd.cfg">interface/stlink.cfg</option> -->
2127
<option name="modm:tinyusb:config">device.cdc,device.msc</option>
2228
<!-- <option name="modm:tinyusb:config">device.cdc,device.midi</option> -->
2329

@@ -34,6 +40,7 @@
3440
<module>modm:io</module>
3541
</modules>
3642
<collectors>
43+
<!-- Optional for modm:disco-f746ng -->
3744
<!-- <collect name="modm:build:cppdefines">CFG_TUSB_DEBUG=3</collect> -->
3845
</collectors>
3946
</library>

examples/feather_m4/usbserial/main.cpp

Lines changed: 0 additions & 51 deletions
This file was deleted.

examples/feather_m4/usbserial/project.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/generic/usb/openocd.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/nucleo_f446ze/usbserial/main.cpp

Lines changed: 0 additions & 56 deletions
This file was deleted.

examples/nucleo_f446ze/usbserial/project.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/samd21_xplained_pro/usbserial/main.cpp

Lines changed: 0 additions & 44 deletions
This file was deleted.

examples/samd21_xplained_pro/usbserial/project.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)