Skip to content

How to install to esp-idf #777

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

Open
airCoder2 opened this issue Apr 11, 2025 · 2 comments
Open

How to install to esp-idf #777

airCoder2 opened this issue Apr 11, 2025 · 2 comments

Comments

@airCoder2
Copy link

Hello, How would I use this library with esp-idf? Thanks!

@abrender
Copy link
Contributor

Hi @airCoder2 - there are currently 2 examples for using esp-idf - one with the Adafruit GFX library, and one without the Adafruit GFX library.

I hope this helps :)

@airCoder2
Copy link
Author

airCoder2 commented Apr 18, 2025

Hi @airCoder2 - there are currently 2 examples for using esp-idf - one with the Adafruit GFX library, and one without the Adafruit GFX library.

I hope this helps :)

/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:21:19: note: '#pragma message: Compiling for ESP32-S3'
21 | #pragma message "Compiling for ESP32-S3"
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp: In member function 'bool Bus_Parallel16::init()':
/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:195:9: error: 'gpio_hal_iomux_func_sel' was not declared in this scope; did you mean 'gpio_hal_func_sel'?
195 | gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[pins[i]], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~~~~~~~~
| gpio_hal_func_sel
/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:202:7: error: 'gpio_hal_iomux_func_sel' was not declared in this scope; did you mean 'gpio_hal_func_sel'?
202 | gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[_cfg.pin_wr], PIN_FUNC_GPIO);
| ^~~~~~~~~~~~~~~~~~~~~~~
| gpio_hal_func_sel
/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:214:21: warning: 'esp_err_t gdma_new_channel(const gdma_channel_alloc_config_t*, gdma_channel_t**)' is deprecated: please use gdma_new_ahb_channel or gdma_new_axi_channel respectively [-Wdeprecated-declarations]
214 | gdma_new_channel(&dma_chan_config, &dma_chan);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.hpp:61,
from /home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:27:
/home/muslim/esp/esp-idf/components/esp_hw_support/dma/include/esp_private/gdma.h:480:11: note: declared here
480 | esp_err_t gdma_new_channel(const gdma_channel_alloc_config_t *config, gdma_channel_handle_t *ret_chan)
| ^~~~~~~~~~~~~~~~
/home/muslim/esp/projects/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA/src/platforms/esp32s3/gdma_lcd_parallel16.cpp:219:5: warning: missing initializer for member 'gdma_strategy_config_t::eof_till_data_popped' [-Wmissing-field-initializers]
219 | };

I am not sure if the example works. When I tried to build, it output some issues with some of the used functions. When I asked AI, it suggested downgrading my ESP-IDF, which I did. But then Python also had to be downgraded. I don't know if I want to do that. Is there another way of doing it?
Thank you!

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

2 participants