add nrf52840 guard for fatfs
This commit is contained in:
1 parent
fda61bb7eb
commit
c848c7c6f0
4 files changed
+12
-2
No files matched your search
@@ -7,6 +7,8 @@
|
||||
/* storage control modules to the FatFs module with a defined API. */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
|
||||
#include "ff.h" /* Obtains integer types */
|
||||
#include "diskio.h" /* Declarations of disk functions */
|
||||
|
||||
@@ -227,3 +229,5 @@ DRESULT disk_ioctl (
|
||||
return RES_PARERR;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/ by use of this software.
|
||||
/
|
||||
/----------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
|
||||
#include "ff.h" /* Declarations of FatFs API */
|
||||
#include "diskio.h" /* Declarations of device I/O functions */
|
||||
@@ -6552,3 +6552,5 @@ FRESULT f_setcp (
|
||||
}
|
||||
#endif /* FF_CODE_PAGE == 0 */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* Sample Code of OS Dependent Functions for FatFs */
|
||||
/* (C)ChaN, 2018 */
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
|
||||
#include "ff.h"
|
||||
|
||||
@@ -168,3 +168,4 @@ void ff_rel_grant (
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -22,6 +22,7 @@
|
||||
/ by use of this software.
|
||||
*/
|
||||
|
||||
#ifdef NRF52840_XXAA
|
||||
|
||||
#include "ff.h"
|
||||
|
||||
@@ -15595,3 +15596,5 @@ DWORD ff_wtoupper ( /* Returns up-converted code point */
|
||||
|
||||
|
||||
#endif /* #if FF_USE_LFN */
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user