RTOS refactoring + more AVR removal

This commit is contained in:
Bertrand Songis
2018-08-05 12:06:48 +02:00
parent f60733b561
commit f3bfde242b
80 changed files with 1111 additions and 1054 deletions
+2
View File
@@ -21,6 +21,8 @@
#ifndef _FATFS
#define _FATFS 68020 /* Revision ID */
#include "rtos.h"
#ifdef __cplusplus
extern "C" {
#endif
+3 -1
View File
@@ -2,6 +2,8 @@
/ FatFs - FAT file system module configuration file
/---------------------------------------------------------------------------*/
#include "rtos.h"
#define _FFCONF 68020 /* Revision ID */
#if !defined(SIMU)
@@ -263,7 +265,7 @@ extern "C" {
#if !defined(BOOT)
#define _FS_REENTRANT 1 /* 0:Disable or 1:Enable */
#define _SYNC_t unsigned char /*OS_MutexID*/ /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */
#define _SYNC_t RTOS_MUTEX_HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */
#else
#define _FS_REENTRANT 0 /* 0:Disable or 1:Enable */
#endif