Close

LuaNode For ESP32

Back to overview

This project is an improved Lua SDK, based on ESP-IDF/ESP8266_RTOS_SDK, for Esp32 (comp The hardware , developed by DOIT Team.

Discussions

wsuccess101 wrote 09/04/2017 at 23:57 point

Hi, 

I am following your steps to build in Mac OS, but got the following errors, any ideas?

Thanks in advance!

Users/michaeljding/esp/LuaNode/LuaNode_Esp32/LuaNode32/components/mylibc/./c_stdio.c:606:33: note: in expansion of macro 'isdigit'

                     for (t = s; isdigit(*s); s++);

                                 ^

/Users/michaeljding/esp/LuaNode/LuaNode_Esp32/LuaNode32/components/mylibc/./c_stdio.c:690:6: error: conflicting types for 'dtoa'

 void dtoa (char *dbuf, rtype arg, int fmtch, int width, int prec);

      ^

In file included from /Users/michaeljding/esp/esp-idf/components/newlib/include/stdlib.h:11:0,

                 from /Users/michaeljding/esp/esp-idf/components/newlib/platform_include/assert.h:21,

                 from /Users/michaeljding/esp/esp-idf/components/esp32/include/esp_assert.h:17,

                 from /Users/michaeljding/esp/esp-idf/components/soc/esp32/include/soc/soc.h:20,

                 from /Users/michaeljding/esp/esp-idf/components/esp32/include/rom/ets_sys.h:21,

                 from /Users/michaeljding/esp/esp-idf/components/esp32/include/rom/uart.h:20,

                 from /Users/michaeljding/esp/LuaNode/LuaNode_Esp32/LuaNode32/components/mylibc/include/c_stdio.h:8,

                 from /Users/michaeljding/esp/LuaNode/LuaNode_Esp32/LuaNode32/components/mylibc/./c_stdio.c:1:

/Users/michaeljding/esp/esp-idf/components/newlib/include/stdlib.h:190:15: note: previous declaration of 'dtoa' was here

 char * _EXFUN(dtoa,(double, int, int, int *, int*, char**));

               ^

/Users/michaeljding/esp/esp-idf/components/newlib/include/_ansi.h:65:30: note: in definition of macro '_EXFUN'

 #define _EXFUN(name, proto)  name proto

                              ^

make[1]: *** [c_stdio.o] Error 1

make: *** [component-mylibc-build] Error 2

J

J

  Are you sure? yes | no

Patrice Freydiere wrote 07/09/2017 at 16:07 point

Docker image for ESP32 WROOM LuaNode building, https://github.com/frett27/docker-nodemcu-esp32-build . It takes me time to make it work, hope this will simplify the first steps

  Are you sure? yes | no