Open KE8044 opened 10 months ago
I don't see a driver folder, most likely driver/gpio.h will be a problem too
FAILED: esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -MF esp-idf\hagl_hal\CMakeFiles\__idf_hagl_hal.dir\src\mipi_display.c.obj.d -o esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c:46:10: fatal error: driver/spi_master.h: No such file or directory 46 | #include <driver/spi_master.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. [1206/1299] ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DHAGL_INCLUDE_SDKCONFIG_H -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -MF esp-idf\hagl\CMakeFiles\__idf_hagl.dir\src\hagl.c.obj.d -o esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl/src/hagl.c ninja: build stopped: subcommand failed.
We want to extract the files from the compilation, change its language, and add some new features. How can we open this compilation file, and which programs can we use to edit this file?
I don't see a driver folder, most likely driver/gpio.h will be a problem too
FAILED: esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -MF esp-idf\hagl_hal\CMakeFiles\__idf_hagl_hal.dir\src\mipi_display.c.obj.d -o esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c:46:10: fatal error: driver/spi_master.h: No such file or directory 46 | #include <driver/spi_master.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. [1206/1299] ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DHAGL_INCLUDE_SDKCONFIG_H -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -MF esp-idf\hagl\CMakeFiles\__idf_hagl.dir\src\hagl.c.obj.d -o esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl/src/hagl.c ninja: build stopped: subcommand failed.