mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Set MSC DISK DUAL readonly on F070.
This commit is contained in:
parent
532abadb78
commit
8f3c0663ad
@ -31,7 +31,7 @@
|
||||
// Some MCU doesn't have enough 8KB SRAM to store the whole disk
|
||||
// We will use Flash as read-only disk
|
||||
// - LPC1347, LPC11uxx
|
||||
#if (CFG_TUSB_MCU == OPT_MCU_LPC13XX) || (CFG_TUSB_MCU == OPT_MCU_LPC11UXX)
|
||||
#if (CFG_TUSB_MCU == OPT_MCU_LPC13XX) || (CFG_TUSB_MCU == OPT_MCU_LPC11UXX) || defined(STM32F070xB)
|
||||
#define DISK_READONLY
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user