-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathConfig.h
32 lines (27 loc) · 745 Bytes
/
Config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _CONFIG_H
#define _CONFIG_H
// enable either one or none of those:
//#define CONFIG_WROVER_KIT
//#define CONFIG_TTGO // default
//#define CONFIG_BRETT
// Contributed by dl9sec 06.11.2021 (https://github.com/dl9sec)
//#define CONFIG_OGO
#define CONFIG_M5Core2
#if defined CONFIG_WROVER_KIT
#include "configs/Config.WROVER_KIT.h"
#elif defined CONFIG_TTGO
#include "configs/Config.TTGO-T1.h"
#elif defined CONFIG_BRETT
#include "configs/Config.Brett.h"
#elif defined CONFIG_OGO
#include "configs/Config.OGO.h"
#elif defined CONFIG_M5Core2
#include "configs/Config.M5Core2.h"
#else
#include "configs/Config.Default.h"
#endif
#if defined SPEAKER_PIN
#warning USING SPEAKER
#define USE_SPEAKER
#endif
#endif // _CONFIG_H