mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-10 03:44:22 +00: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
|
// Some MCU doesn't have enough 8KB SRAM to store the whole disk
|
||||||
// We will use Flash as read-only disk
|
// We will use Flash as read-only disk
|
||||||
// - LPC1347, LPC11uxx
|
// - 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
|
#define DISK_READONLY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user