Commit f148727b authored by Damien George's avatar Damien George
Browse files

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.
parent d4dba882
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment