You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • There is now the start of an IDF4 build documented at https://github.com/espruino/Espruino/blob/master/targets/esp32/IDF4/README.md

    BOARD=ESP32_IDF4 RELEASE=1 make
    

    Currently gets to:

    [100%] Linking CXX executable espruino.elf
    xtensa-esp32-elf/bin/ld: espruino.elf section `.iram0.text' will not fit in region `iram0_0_seg'
    xtensa-esp32-elf/bin/ld: IRAM0 segment data does not fit.
    xtensa-esp32-elf/bin/ld: region `iram0_0_seg' overflowed by 9780 bytes
    

    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...

  • 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
    
About

Avatar for Gordon @Gordon started