diff --git a/nrf5/mpconfigport.h b/nrf5/mpconfigport.h index 17522acaf7..f1166cd7f1 100644 --- a/nrf5/mpconfigport.h +++ b/nrf5/mpconfigport.h @@ -168,6 +168,11 @@ #define MICROPY_PY_DISPLAY_OLED_SSD1305 (0) #endif +#if MICROPY_PY_DISPLAY_OLED_SSD1305 +#define MICROPY_PY_DISPLAY_FRAMEBUFFER (1) +#define MICROPY_PY_DISPLAY_GRAPHICS (1) +#endif + #ifndef MICROPY_PY_DISPLAY_OLED_SSD1306 #define MICROPY_PY_DISPLAY_OLED_SSD1306 (0) #endif