M5StickC support added

This commit is contained in:
Toto99303 2023-12-16 21:38:32 +02:00
parent 9b33dd15cc
commit 1a22645964
3 changed files with 11 additions and 0 deletions

View File

@ -23,6 +23,12 @@
#include "esp32CAM.h" #include "esp32CAM.h"
#elif defined(M5_STAMP_S3) #elif defined(M5_STAMP_S3)
#include "m5StampS3.h" #include "m5StampS3.h"
#elif defined(DEVKITV1RGB)
#include "esp32DevKitRGB.h"
#elif defined(S3MINIWEMOS)
#include "esp32S3MiniWemos.h"
#elif defined(S3MINIWEACT)
#include "esp32S3MiniWeact.h"
#else #else
#error "No device defined" #error "No device defined"

View File

@ -1,5 +1,9 @@
#include "display.h" #include "display.h"
#ifdef LED_DISPLAY
DisplayDriver *currentDisplayDriver = &ledDisplayDriver;
#endif
#ifdef NO_DISPLAY #ifdef NO_DISPLAY
DisplayDriver *currentDisplayDriver = &noDisplayDriver; DisplayDriver *currentDisplayDriver = &noDisplayDriver;
#endif #endif

View File

@ -29,6 +29,7 @@ typedef struct
extern DisplayDriver *currentDisplayDriver; extern DisplayDriver *currentDisplayDriver;
extern DisplayDriver noDisplayDriver; extern DisplayDriver noDisplayDriver;
extern DisplayDriver ledDisplayDriver;
extern DisplayDriver tDisplayDriver; extern DisplayDriver tDisplayDriver;
extern DisplayDriver amoledDisplayDriver; extern DisplayDriver amoledDisplayDriver;
extern DisplayDriver dongleDisplayDriver; extern DisplayDriver dongleDisplayDriver;