[sky9x] Massstorage again!

[sky9x] More SD cards allowed
[X9D] Makefile for simu with 192x64 LCD
This commit is contained in:
bsongis
2012-09-18 19:45:24 +00:00
parent b2e29e911f
commit 7c3a4d3863
286 changed files with 7992 additions and 79398 deletions
+8 -11
View File
@@ -68,19 +68,16 @@ inline const pm_char *SDCARD_ERROR(FRESULT result)
return STR_SDCARD_ERROR;
}
// TODO move the ARM function definition here (when cpp)
extern void sdPoll10mS();
#if defined(PCBARM) && !(defined(SIMU))
extern "C" {
extern uint32_t sd_card_ready();
extern uint32_t sd_card_mounted();
}
#if defined(PCBARM)
void sdInit();
void sdLoad();
void usbMassStorage();
bool sdIsHC();
#else
#define sd_card_ready() (true)
#define sd_card_mounted() (true)
void sdPoll10mS();
#define sdIsHC() 0
#define CardIsMounted() (true)
#endif
#endif