89 lines
2.0 KiB
C
89 lines
2.0 KiB
C
#ifndef DRIVER_H
|
|
#define DRIVER_H
|
|
|
|
#ifdef NO_WATCHFACES
|
|
|
|
|
|
#elif ESPS3_1_69
|
|
// 240x280 watchfaces
|
|
|
|
#define ENABLE_FACE_174 // (174)
|
|
// #define ENABLE_FACE_228 // (228)
|
|
#define ENABLE_FACE_1041 // (1041)
|
|
// #define ENABLE_FACE_1167 // (1167)
|
|
// #define ENABLE_FACE_1169 // (1169)
|
|
// #define ENABLE_FACE_2051 // (2051)
|
|
#define ENABLE_FACE_2151 // (2151)
|
|
// #define ENABLE_FACE_3589 // (3589)
|
|
|
|
|
|
#elif defined(VIEWE_SMARTRING) || defined(VIEWE_KNOB_15) || defined(ESPS3_1_75) || defined(ESPS3_2_06)
|
|
|
|
#define ENABLE_FACE_756_2_466 // (Red)
|
|
#define ENABLE_FACE_RADAR_466 // (Radar)
|
|
#define ENABLE_FACE_75_2 // (Analog)
|
|
#define ENABLE_FACE_34_2 // (Shadow)
|
|
|
|
#else
|
|
// 240x240 watchfaces
|
|
|
|
// #define ENABLE_FACE_ELECROW // elecrow analog
|
|
// #define ENABLE_FACE_34_2 // (Shadow)
|
|
// #define ENABLE_FACE_75_2 // (Analog)
|
|
// #define ENABLE_FACE_79_2 // (Blue)
|
|
// #define ENABLE_FACE_116_2 // (Outline)
|
|
// #define ENABLE_FACE_756_2 // (Red)
|
|
// #define ENABLE_FACE_B_W_RESIZED // (B & W)
|
|
// #define ENABLE_FACE_KENYA // (Kenya)
|
|
// #define ENABLE_FACE_PIXEL_RESIZED // (Pixel)
|
|
// #define ENABLE_FACE_RADAR // (Radar)
|
|
// #define ENABLE_FACE_SMART_RESIZED // (Smart)
|
|
// #define ENABLE_FACE_TIX_RESIZED // (Tix)
|
|
// #define ENABLE_FACE_WFB_RESIZED // (WFB)
|
|
|
|
#endif
|
|
|
|
#if defined(ESPS3_1_69) || defined(ESPS3_1_28) || defined(VIEWE_SMARTRING) || defined(ESPS3_1_75) || defined(ESPS3_2_06)
|
|
#define ENABLE_APP_QMI8658C
|
|
#define ENABLE_APP_ATTITUDE
|
|
#endif
|
|
|
|
#if defined(ELECROW_C3)
|
|
#define ENABLE_RTC
|
|
#endif
|
|
|
|
#if defined(M5_STACK_DIAL) || defined(VIEWE_KNOB_15)
|
|
#define ENABLE_APP_RANGE
|
|
#endif
|
|
|
|
// #define ENABLE_APP_CALENDAR
|
|
// #define ENABLE_APP_SAMPLE
|
|
// #define ENABLE_GAME_TASK
|
|
// #define ENABLE_GAME_RACING
|
|
|
|
// #define ENABLE_GAME_SIMON
|
|
|
|
// #define ENABLE_APP_NAVIGATION
|
|
// #define ENABLE_APP_CONTACTS
|
|
#define ENABLE_APP_TIMER
|
|
#define ENABLE_APP_NOTES
|
|
#define ENABLE_WIFI_SERVER
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
void hal_setup(void);
|
|
void hal_loop(void);
|
|
|
|
|
|
void vibratePin(bool state);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /*DRIVER_H*/
|