summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-02-15 21:00:01 +1100
committerDamien George <damien@micropython.org>2021-02-15 23:11:26 +1100
commitd191d88cabec9bf328f6f46b11ce6642af70cfc7 (patch)
treee54c557490353a4f24d793168cffd4ad72bed4da /ports/esp32/uart.c
parente017f276f7f95c7412b18939ba91784fdc69b734 (diff)
esp32: Add support to build with ESP-IDF v4.1.1.
ESP-IDF v4.0.2 is still supported. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/uart.c')
-rw-r--r--ports/esp32/uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp32/uart.c b/ports/esp32/uart.c
index 381be7f4f..c837c8dcf 100644
--- a/ports/esp32/uart.c
+++ b/ports/esp32/uart.c
@@ -29,6 +29,7 @@
#include <stdio.h>
#include "driver/uart.h"
+#include "soc/uart_periph.h"
#include "py/runtime.h"
#include "py/mphal.h"