Skip to content

Commit d2d6b2f

Browse files
committed
[examples] Deduplicate USB FATFS example
1 parent ca06286 commit d2d6b2f

File tree

9 files changed

+5
-303
lines changed

9 files changed

+5
-303
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
- name: Examples STM32F4 Without Discovery Board
213213
if: always()
214214
run: |
215-
(cd examples && ../tools/scripts/examples_compile.py nucleo_f401re nucleo_f411re nucleo_f429zi nucleo_f446re nucleo_f446ze nucleo_f439zi black_pill_f411 stm32f407vet6_devebox stm32_f4ve)
215+
(cd examples && ../tools/scripts/examples_compile.py nucleo_f401re nucleo_f411re nucleo_f429zi nucleo_f446re nucleo_f446ze nucleo_f439zi stm32f407vet6_devebox stm32_f4ve)
216216
217217
avr-examples:
218218
runs-on: ubuntu-22.04

examples/black_pill_f411/usbfatfs/project.xml renamed to examples/generic/usbfatfs/project.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<library>
22
<extends>modm:black-pill-f411</extends>
3+
<!-- <extends>modm:nucleo-f429zi</extends> -->
34
<options>
45
<option name="modm:build:build.path">../../../build/black_pill_f411/usb_fatfs</option>
56
<option name="modm:tinyusb:config">device.msc, device.cdc</option>
@@ -12,4 +13,7 @@
1213
<module>modm:build:scons</module>
1314
<module>modm:math:utils</module>
1415
</modules>
16+
<collectors>
17+
<collect name="modm:build:cppdefines">CFG_TUSB_DEBUG=2</collect>
18+
</collectors>
1519
</library>

examples/nucleo_f429zi/usbfatfs/ffconf_local.h

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

examples/nucleo_f429zi/usbfatfs/main.cpp

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

examples/nucleo_f429zi/usbfatfs/project.xml

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

examples/nucleo_f429zi/usbfatfs/ramdisk.cpp

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

0 commit comments

Comments
 (0)