periph_conf_common_esp32.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
23 #ifndef PERIPH_CONF_COMMON_ESP32_H
24 #define PERIPH_CONF_COMMON_ESP32_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
34 #ifndef UART0_TXD
35 #define UART0_TXD (GPIO1)
36 #endif
37 
38 #ifndef UART0_RXD
39 #define UART0_RXD (GPIO3)
40 #endif
43 #ifdef __cplusplus
44 } /* end extern "C" */
45 #endif
46 
47 #endif /* PERIPH_CONF_COMMON_ESP32_H */