nrf5: Trimming down display configurations in mpconfigport.h

This commit is contained in:
Glenn Ruben Bakke 2017-01-05 19:56:09 +01:00
parent f9ffcfdb7d
commit 4c24d39122
1 changed files with 3 additions and 35 deletions

View File

@ -134,11 +134,8 @@
#ifndef MICROPY_PY_DISPLAY
#define MICROPY_PY_DISPLAY (0)
#define MICROPY_PY_DISPLAY_EPAPER (0)
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
#define MICROPY_PY_DISPLAY_LCD (0)
#define MICROPY_PY_DISPLAY_LCD_SLD10261P (0)
#define MICROPY_PY_DISPLAY_OLED (0)
#define MICROPY_PY_DISPLAY_LCD_ILI9341 (0)
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
@ -152,51 +149,22 @@
#ifndef MICROPY_PY_DISPLAY_EPAPER_SLD00200P
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
#else
#if MICROPY_PY_DISPLAY_EPAPER_SLD00200P
#define MICROPY_PY_DISPLAY_EPAPER (1)
#endif
#endif // MICROPY_PY_DISPLAY_EPAPER_SLD0020P
#ifndef MICROPY_PY_DISPLAY_LCD_SLD10261P
#define MICROPY_PY_DISPLAY_LCD_SLD10261P (0)
#else
#if MICROPY_PY_DISPLAY_LCD_SLD10261P
#define MICROPY_PY_DISPLAY_LCD (1)
#ifndef MICROPY_PY_DISPLAY_LCD_ILI9341
#define MICROPY_PY_DISPLAY_LCD_ILI9341 (0)
#endif
#endif // MICROPY_PY_DISPLAY_LCD_SLD10261P
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1305
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
#else
#if MICROPY_PY_DISPLAY_OLED_SSD1305
#define MICROPY_PY_DISPLAY_OLED (1)
#endif
#endif // MICROPY_PY_DISPLAY_OLED_SSD1305
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1306
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
#else
#if MICROPY_PY_DISPLAY_OLED_SSD1306
#define MICROPY_PY_DISPLAY_OLED (1)
#endif
#endif // MICROPY_PY_DISPLAY_OLED_SSD1306
#endif // MICROPY_PY_DISPLAY
#ifndef MICROPY_PY_DISPLAY_EPAPER
#define MICROPY_PY_DISPLAY_EPAPER (0)
#endif
#ifndef MICROPY_PY_DISPLAY_LCD
#define MICROPY_PY_DISPLAY_LCD (0)
#endif
#ifndef MICROPY_PY_DISPLAY_OLED
#define MICROPY_PY_DISPLAY_OLED (0)
#endif
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (0)