esp32: build error on windows with sed expression
ESP32 Build error!
Windows : String in ESP-IDF Cmd windows
C:\micropython\ports\esp32>make USER_C_MODULES=../../../examples/usercmodule/micropython.cmake
[1152/1386] Generating ../../genhdr/qstrdefs.preprocessed.h
FAILED: genhdr/qstrdefs.preprocessed.h C:/micropython/ports/esp32/build-generic/genhdr/qstrdefs.preprocessed.h
esp-idf\main\CMakeFiles\qstrdefs.preprocessed.h-0fb6a53.bat 5964d331c9989f35
sed: -e expression #1, char 10: unterminated `s' command
'"/"' is not recognized as an internal or external command,
operable program or batch file.
[1154/1386] Generating ../../genhdr/root_pointers.h
Win10 ESP32 build : fatal error: db.h: No such file or directory
On Win 10 (use ESP-IDF Tools Installer for Windows to install all the required tools), For esp32 (ports/esp32) when I do idf.py -D MICROPY_BOARD=GENERIC build, I got this error:
[3/221] Generating ../../genhdr/qstr.i.last
FAILED: genhdr/qstr.i.last
esp-idf\main\CMakeFiles\qstr.i.last-417609e.bat 951d66de95feced5
D:/Developpement/Python/micropython/extmod/modbtree.c:37:10: fatal error: db.h: No such file or directory
#include <db.h>
^~~~~~
compilation terminated.
Traceback (most recent call last):
Hope to get your reply!