nrf5: Trimming down display configurations in mpconfigport.h
This commit is contained in:
parent
f9ffcfdb7d
commit
4c24d39122
|
@ -134,11 +134,8 @@
|
||||||
#ifndef MICROPY_PY_DISPLAY
|
#ifndef MICROPY_PY_DISPLAY
|
||||||
|
|
||||||
#define MICROPY_PY_DISPLAY (0)
|
#define MICROPY_PY_DISPLAY (0)
|
||||||
#define MICROPY_PY_DISPLAY_EPAPER (0)
|
|
||||||
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
|
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
|
||||||
#define MICROPY_PY_DISPLAY_LCD (0)
|
#define MICROPY_PY_DISPLAY_LCD_ILI9341 (0)
|
||||||
#define MICROPY_PY_DISPLAY_LCD_SLD10261P (0)
|
|
||||||
#define MICROPY_PY_DISPLAY_OLED (0)
|
|
||||||
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
|
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
|
||||||
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
|
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
|
||||||
|
|
||||||
|
@ -152,51 +149,22 @@
|
||||||
|
|
||||||
#ifndef MICROPY_PY_DISPLAY_EPAPER_SLD00200P
|
#ifndef MICROPY_PY_DISPLAY_EPAPER_SLD00200P
|
||||||
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
|
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (0)
|
||||||
#else
|
|
||||||
#if MICROPY_PY_DISPLAY_EPAPER_SLD00200P
|
|
||||||
#define MICROPY_PY_DISPLAY_EPAPER (1)
|
|
||||||
#endif
|
#endif
|
||||||
#endif // MICROPY_PY_DISPLAY_EPAPER_SLD0020P
|
|
||||||
|
|
||||||
#ifndef MICROPY_PY_DISPLAY_LCD_SLD10261P
|
#ifndef MICROPY_PY_DISPLAY_LCD_ILI9341
|
||||||
#define MICROPY_PY_DISPLAY_LCD_SLD10261P (0)
|
#define MICROPY_PY_DISPLAY_LCD_ILI9341 (0)
|
||||||
#else
|
|
||||||
#if MICROPY_PY_DISPLAY_LCD_SLD10261P
|
|
||||||
#define MICROPY_PY_DISPLAY_LCD (1)
|
|
||||||
#endif
|
#endif
|
||||||
#endif // MICROPY_PY_DISPLAY_LCD_SLD10261P
|
|
||||||
|
|
||||||
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1305
|
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1305
|
||||||
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
|
#define MICROPY_PY_DISPLAY_OLED_SSD1305 (0)
|
||||||
#else
|
|
||||||
#if MICROPY_PY_DISPLAY_OLED_SSD1305
|
|
||||||
#define MICROPY_PY_DISPLAY_OLED (1)
|
|
||||||
#endif
|
#endif
|
||||||
#endif // MICROPY_PY_DISPLAY_OLED_SSD1305
|
|
||||||
|
|
||||||
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1306
|
#ifndef MICROPY_PY_DISPLAY_OLED_SSD1306
|
||||||
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
|
#define MICROPY_PY_DISPLAY_OLED_SSD1306 (0)
|
||||||
#else
|
|
||||||
#if MICROPY_PY_DISPLAY_OLED_SSD1306
|
|
||||||
#define MICROPY_PY_DISPLAY_OLED (1)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // MICROPY_PY_DISPLAY_OLED_SSD1306
|
|
||||||
|
|
||||||
#endif // MICROPY_PY_DISPLAY
|
#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_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
|
||||||
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (0)
|
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue