I see other topics that the matrix_keyboard example only works for devices with dedicated GPIO. But it seems to only have been tested with the S2, not the S3 which also has dedicated GPIO. Although the S3 does seem to lack this definition: SOC_DEDIC_GPIO_HAS_INTERRUPT
Could this work on on an S3 with alterations?
Simpler question: Shouldn't any example that does not support the selected target just tell you so? Why am I having to search forums for such an issue?
\examples\peripherals\gpio\matrix_keyboard Example not working on S3
-
- Posts: 14
- Joined: Sat Sep 07, 2019 8:09 am
Re: \examples\peripherals\gpio\matrix_keyboard Example not working on S3
What is the very first line in readme?
https://github.com/espressif/esp-idf/bl ... /README.md
https://github.com/espressif/esp-idf/bl ... /README.md
-
- Posts: 14
- Joined: Sat Sep 07, 2019 8:09 am
Re: \examples\peripherals\gpio\matrix_keyboard Example not working on S3
True but documentation should replace the role if code.
These are supposed to be examples for most platforms used by newcomers.
This would be much better.
From what I can tell the S3's dedicated GPIO does not support interrupts like the S2. But that would kind of make you wonder why it has it at all. Is that true?
These are supposed to be examples for most platforms used by newcomers.
This would be much better.
Code: Select all
#ifndef CONFIG_IDF_TARGET_ESP32S2
#error This example only supported on ESP32S2
#endif
Who is online
Users browsing this forum: Bing [Bot] and 114 guests