Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BDhackers009 opened this issue Jan 18, 2024 · 0 comments
Open

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

BDhackers009 opened this issue Jan 18, 2024 · 0 comments

Comments

@BDhackers009
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant