AP_HAL_ESP32: disable define of HAL_ESP32_RCIN on esp32empty

- RMTSigReader issue with rmt(legacy): RMT RX BUFFER FULL

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
Rhys Mainwaring 2024-11-23 22:59:45 +00:00 committed by Thomas Watson
parent fe8e0d0c96
commit 85f8ae8aa3
1 changed files with 4 additions and 5 deletions

View File

@ -78,8 +78,10 @@
//SPI Devices //SPI Devices
#define HAL_ESP32_SPI_DEVICES {} #define HAL_ESP32_SPI_DEVICES {}
//RCIN //RMT pin number
#define HAL_ESP32_RCIN GPIO_NUM_36 #define HAL_ESP32_RMT_RX_PIN_NUMBER 4
//RCIN pin number - NOTE: disabled due to issue with legacy rmt library.
// #define HAL_ESP32_RCIN GPIO_NUM_36
//RCOUT //RCOUT
#define HAL_ESP32_RCOUT {GPIO_NUM_25, GPIO_NUM_27, GPIO_NUM_33, GPIO_NUM_32, GPIO_NUM_22, GPIO_NUM_21} #define HAL_ESP32_RCOUT {GPIO_NUM_25, GPIO_NUM_27, GPIO_NUM_33, GPIO_NUM_32, GPIO_NUM_22, GPIO_NUM_21}
@ -124,9 +126,6 @@
//LED //LED
#define DEFAULT_NTF_LED_TYPES Notify_LED_None #define DEFAULT_NTF_LED_TYPES Notify_LED_None
//RMT pin number
#define HAL_ESP32_RMT_RX_PIN_NUMBER 4
//SD CARD //SD CARD
// Do u want to use mmc or spi mode for the sd card, this is board specific, // Do u want to use mmc or spi mode for the sd card, this is board specific,
// as mmc uses specific pins but is quicker, // as mmc uses specific pins but is quicker,