Skip to content

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

Open
@BDhackers009

Description

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 err_rc_ = (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 err_rc_ = (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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions