From e186a084983825202cc651d28024ac2862dfa8de Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sun, 1 Jul 2018 17:05:16 +0300 Subject: [PATCH] esp-idf-bootloader: when binding for esp, skip posix.c --- src/posix.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/posix.c b/src/posix.c index aedaaf7..cb57cc6 100644 --- a/src/posix.c +++ b/src/posix.c @@ -18,6 +18,9 @@ * along with this program. If not, see . */ +#if !defined(ESP_IDF_APEOS_BUILD) /* enumerating files in esp-idf build + system is harder than this */ + #include #include #include @@ -58,3 +61,5 @@ int main(void) { apeos_boot(); } + +#endif -- 2.11.4.GIT