summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2016-09-26 15:43:52 -0700
committerScott Shawcroft <scott@chickadee.tech>2016-09-26 15:43:52 -0700
commited34c355095d32571116f3fff0b1bbc22ca819df (patch)
tree8c7568e04984596979ca23e0096b0ac3546cdd49 /py
parentb1be9f50abfafc3139b307cd8e23e1505b9c84b5 (diff)
atmel-samd21: Support loading mpy files.
Diffstat (limited to 'py')
-rw-r--r--py/emitglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitglue.c b/py/emitglue.c
index f4b59df3e..2bfc4ad82 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -425,7 +425,7 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) {
return rc;
}
-#elif defined(__thumb2__)
+#elif defined(__thumb2__) || defined(__thumb__)
// fatfs file reader (assume thumb2 arch uses fatfs...)
#include "lib/fatfs/ff.h"