[P141] Include in Display builds, add library

This commit is contained in:
Ton Huisman
2022-08-20 23:19:04 +02:00
parent 8f308e194c
commit 85cfbd6294
3 changed files with 24 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ lib_deps =
VL53L0X @ 1.3.0
RAK12019_LTR390_UV_Light
Adafruit NeoMatrix
Adafruit PCD8544 Nokia 5110 LCD library
extra_scripts = post:tools/pio/post_esp32.py
${extra_scripts_default.extra_scripts}
build_unflags = -Wall
+1
View File
@@ -89,6 +89,7 @@ lib_deps =
VL53L0X @ 1.3.0
RAK12019_LTR390_UV_Light
Adafruit NeoMatrix
Adafruit PCD8544 Nokia 5110 LCD library
lib_ignore = ${esp82xx_defaults.lib_ignore}
IRremoteESP8266
HeatpumpIR
+22 -1
View File
@@ -1393,6 +1393,9 @@ To create/register a plugin, you have to :
#ifndef USES_P116
#define USES_P116 // ST77xx
#endif
#ifndef USES_P141
#define USES_P141 // PCD8544 Nokia 5110
#endif
#endif
// Collection of all NeoPixel plugins
@@ -1685,6 +1688,24 @@ To create/register a plugin, you have to :
#ifndef USES_P135
// #define USES_P135 //
#endif
#ifndef USES_P136
// #define USES_P136 //
#endif
#ifndef USES_P137
// #define USES_P137 //
#endif
#ifndef USES_P138
// #define USES_P138 //
#endif
#ifndef USES_P139
// #define USES_P139 //
#endif
#ifndef USES_P140
// #define USES_P140 //
#endif
#ifndef USES_P141
#define USES_P141 // PCD8544 Nokia 5110
#endif
// Controllers
#ifndef USES_C015
@@ -1743,7 +1764,7 @@ To create/register a plugin, you have to :
#define DISABLE_SOFTWARE_SERIAL
#endif
#if defined(USES_P095) || defined(USES_P096) || defined(USES_P116) || defined(USES_P131) // Add any plugin that uses AdafruitGFX_Helper
#if defined(USES_P095) || defined(USES_P096) || defined(USES_P116) || defined(USES_P131) || defined(USES_P141) // Add any plugin that uses AdafruitGFX_Helper
#ifndef PLUGIN_USES_ADAFRUITGFX
#define PLUGIN_USES_ADAFRUITGFX // Ensure AdafruitGFX_helper is available for graphics displays (only)
#endif