[ESP32WROVER KIT] [SOLVED] Build Project fail using ESP32 linux toolchain

Hi support team ,

I follow TLT-0832-DGI-PlatformReferenceImplementation-ESP32WROVER , everything’s OK using MEJ SDK + WINDOWS OS

Now, using LINUX(Ubuntu) , I had to fix to succeed, everything’s OK up to helllo world on board .

here are the fix (and error log for information) , thanks for confirmation :

1 : MAKEFLAGS="" CC=cc LD=ld
make -C $project_path/Drivers/esp-idf/tools/kconfig
make[1]: Entering directory ‘$project_path/Drivers/esp-idf/tools/kconfig’
make[1]: execvp:$project_path/Drivers/esp-idf/tools/kconfig/lxdialog/check-lxdialog.sh: Permission denied
LEADING to many compilation errors
In file included from $project_path/Drivers/esp-idf/tools/kconfig/mconf.c:23:0:
$project_path/Drivers/esp-idf/tools/kconfig/lxdialog/dialog.h:38:10: error: #include expects “FILENAME” or
#include CURSES_LOC

FIX => chmod +x /home/gbourgeois/.microej/workspaces/MicroEJ-SDK-19.05/ESP32WROVER-pocfma-GNUv52_xtensa-esp32-psram-bsp/Drivers/esp-idf/tools/kconfig/lxdialog/check-lxdialog.sh

2 : some C source file include other file but linux is CASE SENSITIVE, so must replace with proper name, eg “SYSVIEW” => sysview and “IMPL”=>impl

$project_path//Drivers/esp-idf/components/app_trace/sys_view/Sample/Config/SEGGER_SYSVIEW_Config_FreeRTOS.c:72:36: fatal error: LLMJVM_MONITOR_SYSVIEW.h: No such file or directory

$project_path/Drivers/esp-idf/components/app_trace/sys_view/Sample/Config/SEGGER_SYSVIEW_Config_FreeRTOS.c:75:43: fatal error: LLTRACE_SYSVIEW_configuration.h: No such file or directory

$project_path/Projects/microej/ui/src/LLDISPLAY_COPY.c:13:28: fatal error: LLDISPLAY_IMPL.h: No such file or directory


\workspaces\MicroEJ-SDK-19.05\ESP32WROVER-MyPlatform-GNUv52_xtensa-esp32-psram-configuration\README.md could be updated with linux tips

Hi @Gilles,

Great work, thank you for your feedback. We will take them into account asap.