You are reading a single comment by @MaBe and its replies.
Click here to read the full conversation.
-
Yes it does - thanks
now this pop's up
In file included from /home/markbecker/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/sys/reent.h:503, from /home/markbecker/Espruino/esp-idf/components/newlib/platform_include/sys/reent.h:17, from /home/markbecker/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/sys-include/string.h:11, from /home/markbecker/Espruino/src/jsutils.h:22, from /home/markbecker/Espruino/src/jslex.h:17, from /home/markbecker/Espruino/src/jslex.c:14: /home/markbecker/Espruino/src/jslex.c: In function 'jslNewStringFromLexer': /home/markbecker/Espruino/src/jslex.c:1364:11: error: 'totalStringLength' undeclared (first use in this function); did you mean 'jsvGetStringLength'? assert((totalStringLength == jsvGetStringLength(var)) || (jsErrorFlags&JSERR_MEMORY) || !jsvStringIteratorHasChar(&it)); ^~~~~~~~~~~~~~~~~ /home/markbecker/Espruino/src/jslex.c:1364:11: note: each undeclared identifier is reported only once for each function it appears in
You can just do
BOARD=ESP32_IDF4 RELEASE=1 make gen/jswrapper.c
and I think it'll be ok.But I just pushed a change which should fix it if you pull now