refactor: convert simufatfs to C++17 (#6454)

This commit is contained in:
Raphael Coeffic
2025-07-27 10:41:52 +10:00
committed by GitHub
parent 94597ea255
commit 23e3730289
6 changed files with 468 additions and 494 deletions
+5 -8
View File
@@ -30,6 +30,8 @@
#include <stddef.h>
#include <errno.h>
#include <string>
#define __disable_irq()
#define __enable_irq()
@@ -52,15 +54,10 @@ void stopEepromThread();
void simuMain();
#if !defined(SKIP_FATFS_DECLARATION) && !defined(SIMU_DISKIO)
#define SIMU_USE_SDCARD
#endif
void simuFatfsSetPaths(const char * sdPath, const char * settingsPath);
#if defined(SIMU_USE_SDCARD)
void simuFatfsSetPaths(const char * sdPath, const char * settingsPath);
#else
#define simuFatfsSetPaths(...)
#endif
std::string simuFatfsGetCurrentPath();
std::string simuFatfsGetRealPath(const std::string &p);
#if defined(TRACE_SIMPGMSPACE)
#undef TRACE_SIMPGMSPACE
File diff suppressed because it is too large Load Diff