From b97edd4465564ef33d4efadd46f4955b4b1d2214 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 17 Apr 2017 17:31:40 -0700 Subject: [PATCH] atmel-samd: Turn on framebuf for Express boards because they have space. --- atmel-samd/mpconfigport.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atmel-samd/mpconfigport.h b/atmel-samd/mpconfigport.h index ff09751f77..a0b92d13bd 100644 --- a/atmel-samd/mpconfigport.h +++ b/atmel-samd/mpconfigport.h @@ -52,7 +52,6 @@ #define MICROPY_PY_ATTRTUPLE (1) #define MICROPY_PY_COLLECTIONS (1) #define MICROPY_PY_DESCRIPTORS (1) -#define MICROPY_PY_FRAMEBUF (0) #define MICROPY_PY_MATH (1) #define MICROPY_PY_CMATH (0) #define MICROPY_PY_IO (0) @@ -142,12 +141,14 @@ extern const struct _mp_obj_module_t usb_hid_module; // Internal flash size dependent settings. #if BOARD_FLASH_SIZE > 192000 #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) + #define MICROPY_PY_FRAMEBUF (1) #define EXTRA_BUILTIN_MODULES \ { MP_OBJ_NEW_QSTR(MP_QSTR_pulseio), (mp_obj_t)&pulseio_module }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_bitbangio), (mp_obj_t)&bitbangio_module } #define EXPRESS_BOARD #else #define MICROPY_PY_MICROPYTHON_MEM_INFO (0) + #define MICROPY_PY_FRAMEBUF (0) #define EXTRA_BUILTIN_MODULES #endif