Kl0ibi / esp32_hackingtool

MIT License
197 stars 25 forks source link

Building failed for mipi_display.c [ESP32-S3-WROOM-1 N16R8] #24

Open BDhackers009 opened 7 months ago

BDhackers009 commented 7 months ago

I cloned the repo then set target device with

idf.py set-target esp32s3

Then ran

idf.py build

But it returns an error

"""

/home/sifat/esp32_hackingtool/components/hagl_hal/src/mipi_display.c:195:40: error: 'CONFIG_MIPI_DISPLAY_SPI_HOST' undeclared (first use in this function); did you mean 'CONFIG_MIPI_DISPLAY_SPI_MODE'? ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_MIPI_DISPLAY_SPI_HOST, &buscfg, CONFIG_MIPI_DISPLAY_SPI_HOST)); ^~~~~~~~ /home/sifat/esp/esp-idf/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK' esp_err_t errrc = (x); \ ^ /home/sifat/esp32_hackingtool/components/hagl_hal/src/mipi_display.c:195:40: note: each undeclared identifier is reported only once for each function it appears in ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_MIPI_DISPLAY_SPI_HOST, &buscfg, CONFIG_MIPI_DISPLAY_SPI_HOST)); ^~~~~~~~ /home/sifat/esp/esp-idf/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK' esp_err_t errrc = (x); \ ^ [1095/1175] Building C object esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl_image.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1

"""

Please see what i am doing wrong. I am eager to use this tool.

M6ct0night commented 4 weeks ago

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?