py/emitglue: Only compile raw-code fatfs loader when on thumb2 platform.
Here we are assuming that a thumb2 port will have fatfs, which is only roughly true. We need a better way of enabling specific raw-code file readers.
This commit is contained in:
parent
d4dba88236
commit
f148727b78
|
@ -372,8 +372,8 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) {
|
|||
return rc;
|
||||
}
|
||||
|
||||
#else
|
||||
// fatfs file reader
|
||||
#elif defined(__thumb2__)
|
||||
// fatfs file reader (assume thumb2 arch uses fatfs...)
|
||||
|
||||
#include "lib/fatfs/ff.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue