Code: Select all
error: 'DEDIC_GPIO_INIR_NONE' undeclared (first use in this function)
error: 'DEDIC_GPIO_INIR_BOTH_EDGE' undeclared (first use in this function)
这些宏都是在"driver/dedic_gpio.h"能找到的,是路径不对还是哪里没有配置好,有人遇到过吗?
Code: Select all
error: 'DEDIC_GPIO_INIR_NONE' undeclared (first use in this function)
error: 'DEDIC_GPIO_INIR_BOTH_EDGE' undeclared (first use in this function)
用esp32-s2就可以编译通过。有哪些不一样的地方吗?jr-test wrote: ↑Tue Jul 04, 2023 6:49 am用的是esp32-s3的开发板Code: Select all
error: 'DEDIC_GPIO_INIR_NONE' undeclared (first use in this function) error: 'DEDIC_GPIO_INIR_BOTH_EDGE' undeclared (first use in this function)
这些宏都是在"driver/dedic_gpio.h"能找到的,是路径不对还是哪里没有配置好,有人遇到过吗?
感谢您的回复,我也发现了S3不支持SOC_DEDIC_GPIO_HAS_INTERRUPT这个宏,但是我需要用S3实现这个矩阵键盘的功能。ESP_Zombie wrote: ↑Tue Jul 18, 2023 10:31 am这是因为 S3 不支持 SOC_DEDIC_GPIO_HAS_INTERRUPT 这个宏 :https://github.com/espressif/esp-idf/bl ... pio.c#L118
dedicate GPIO 可以参考这个例程 https://github.com/espressif/esp-idf/tr ... /soft_uart
Users browsing this forum: No registered users and 81 guests