From 89851b744614ada77fa2caa976db682428b7ff6d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 18 Oct 2016 13:13:11 -0600 Subject: [PATCH] ESP32: Add .gitignore; minor compile fixes --- configs/esp32-core/scripts/.gitignore | 2 ++ configs/esp32-core/src/esp32_appinit.c | 5 +---- configs/esp32-core/src/esp32_bringup.c | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 configs/esp32-core/scripts/.gitignore diff --git a/configs/esp32-core/scripts/.gitignore b/configs/esp32-core/scripts/.gitignore new file mode 100644 index 0000000000..1d86910067 --- /dev/null +++ b/configs/esp32-core/scripts/.gitignore @@ -0,0 +1,2 @@ +esp32_out.ld + diff --git a/configs/esp32-core/src/esp32_appinit.c b/configs/esp32-core/src/esp32_appinit.c index 2b94c9d9f6..b352aa2fd2 100644 --- a/configs/esp32-core/src/esp32_appinit.c +++ b/configs/esp32-core/src/esp32_appinit.c @@ -39,6 +39,7 @@ #include +#include #include #include "esp32_core.h" @@ -49,10 +50,6 @@ * Pre-processor Definitions ****************************************************************************/ -#ifndef OK -# define OK 0 -#endif - /**************************************************************************** * Public Functions ****************************************************************************/ diff --git a/configs/esp32-core/src/esp32_bringup.c b/configs/esp32-core/src/esp32_bringup.c index 13688c7fd1..0267217785 100644 --- a/configs/esp32-core/src/esp32_bringup.c +++ b/configs/esp32-core/src/esp32_bringup.c @@ -38,7 +38,7 @@ ****************************************************************************/ #include - +#include #include "esp32-core.h" /****************************************************************************