From 3d0b58bb4e49bfddcc58e7f8b49dc43af3ddd78f Mon Sep 17 00:00:00 2001 From: sakumisu <1203593632@qq.com> Date: Mon, 12 Sep 2022 21:45:48 +0800 Subject: move fatfs variables into no cache ram --- demo/usb_host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/usb_host.c b/demo/usb_host.c index 129752e6..97c6adf1 100644 --- a/demo/usb_host.c +++ b/demo/usb_host.c @@ -77,8 +77,8 @@ int cdc_acm_test(void) USB_NOCACHE_RAM_SECTION USB_MEM_ALIGNX uint8_t read_write_buffer[25 * 100]; -FATFS fs; -FIL fnew; +USB_NOCACHE_RAM_SECTION FATFS fs; +USB_NOCACHE_RAM_SECTION FIL fnew; UINT fnum; FRESULT res_sd = 0; -- cgit v1.3.1