You are reading a single comment by @MaBe and its replies.
Click here to read the full conversation.
-
A fresh installation of Espruino complains about
BOARD=ESP32_IDF4 RELEASE=1 make clean BOARD=ESP32_IDF4 RELEASE=1 make CMake Error at /home/markbecker/Espruino/esp-idf/tools/cmake/component.cmake:478 (add_library): Cannot find source file: /home/markbecker/ESPRUINO/gen/jswrapper.c
gen folder contains
markbecker@vmux091:~/ESPRUINO$ ls -lrt gen total 20 -rw-rw-r-- 1 markbecker markbecker 45 May 3 21:33 README -rw-rw-r-- 1 markbecker markbecker 459 May 3 21:42 CURRENT_BOARD.make -rw-rw-r-- 1 markbecker markbecker 3485 May 3 21:42 platform_config.h -rw-rw-r-- 1 markbecker markbecker 1024 May 3 21:42 jspininfo.h -rw-rw-r-- 1 markbecker markbecker 2974 May 3 21:42 jspininfo.c
There is now the start of an IDF4 build documented at https://github.com/espruino/Espruino/blob/master/targets/esp32/IDF4/README.md
Currently gets to:
So I think it's a compiler flag about putting consts and stuff in RAM that's probably enabled by default. But at least it gets that far...