Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -372,8 +372,8 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) { ...@@ -372,8 +372,8 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) {
return rc; return rc;
} }
#else #elif defined(__thumb2__)
// fatfs file reader // fatfs file reader (assume thumb2 arch uses fatfs...)
#include "lib/fatfs/ff.h" #include "lib/fatfs/ff.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment