Skip to content

Commit

Permalink
[examples] Fix Black Pill F411 USB FatFs docs
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Apr 3, 2021
1 parent 6f68656 commit e579a5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/black_pill_f411/usbfatfs/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
If you want to use the sanity check:
scons bin && \
cp ../../../build/stm32f411ceu_mini_f411/usb_fatfs/release/usbfatfs.bin . && \
cp ../../../build/black_pill_f411/usb_fatfs/scons-release/usbfatfs.bin . && \
echo -n "F411" >> usbfatfs.bin && \
crc32 usbfatfs.bin | xxd -r -p - >> usbfatfs.bin && \
mv usbfatfs.bin /Volumes/MODM_USB
Otherwise just copy the file as is and `#define WITH_SANITY_CHECK 0`
scons bin && \
cp ../../../build/stm32f411ceu_mini_f411/usb_fatfs/release/usbfatfs.bin /Volumes/MODM_USB
cp ../../../build/black_pill_f411/usb_fatfs/scons-release/usbfatfs.bin /Volumes/MODM_USB
*/

Expand Down

0 comments on commit e579a5f

Please sign in to comment.