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