I am trying to evaluate the suitability of the MicroJE environment on the ESP32.
I am currently working through the example Readme.md from “/home/user/Downloads/MicroEJ/Firmware/HDAHT/ESP32WROVER-HDAHT-fullPackaging-eval-1.4.5/platformSource/ESP32WROVER-HDAHT-platformSource/ESP32WROVER-HDAHT-1.4.5-configuration/documentation”
This runs fine in the 'Run As" Execute on Simulator, when I attempt to Execute on target to build the code image I get the error below.
=============== [ Initialization Stage ] ===============
=============== [ Launching SOAR ] ===============
=============== [ Launching Link ] ===============
Execute failed: java.io.IOException: Cannot run program “xtensa-esp32-elf-gcc”: error=2, No such file or directory
GNU toolchain not found (prefix xtensa-esp32-elf-)
The following error occurred while executing this line:
/home/user/.microej/repositories/MicroEJ-SDK-19.05/1.6/se001/scripts/checkCompiler.microejTask:16: The following error occurred while executing this line:
/home/user/.microej/repositories/MicroEJ-SDK-19.05/1.6/se001/scripts/checkCompiler.microejTask:44: The following error occurred while executing this line:
/home/user/.microej/repositories/MicroEJ-SDK-19.05/1.6/se001/scripts/checkCompiler.microejTask:57: No message
I have installed the ESP tools to “/home/user/esp/xtensa-esp32-elf/” which is where the Preferences->Core Build Toolchains->User Defined Tool Chains is looking for it following the instructions here - https://gitdemo.readthedocs.io/en/latest/linux-setup.html.
I can’t se any issue with case sensitivity in the path.
Clearly I am missing something so any help would be appreciated.
OK So I have eventually found specific instructions for installing the ESP32 toolchain in Linux Here:-
I’ll see how this goes…