Add SIM800L support

Signed-off-by: Martin Kolací <martin.kolaci@lmc.eu>
This commit is contained in:
Martin Kolací
2020-11-30 21:43:55 +01:00
parent 38a7869beb
commit 0e4a8db6a7
3 changed files with 142 additions and 1 deletions

View File

@@ -5,6 +5,8 @@
#define BOARD_TTGO_T4
//#define BOARD_M5STACK_CORE
//#define SIM800L_ENABLED
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
@@ -74,6 +76,17 @@
#endif // BOARD_M5STACK_CORE
////////////////////////////////////////////////////////////
// SIM800L
/////////////////////////////////////////////////////////////
#ifdef SIM800L_ENABLED
#define SIM800L_RX 16
#define SIM800L_TX 17
#define SIM800L_RST 5
#define SIM800L_TIMER 120
#endif //SIM800L_ENABLED
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////