Skip to content

Commit b4e3536

Browse files
committed
Merge branch 'feat/spi_no_workaround' into 'feature/esp_as_mcu_host'
feat/spi_no_workaround Disable caching workaround for P4 See merge request app-frameworks/esp_hosted!491
2 parents 33953f5 + 3ec69c4 commit b4e3536

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

host/port/spi_hd_wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434

3535
#ifdef CONFIG_IDF_TARGET_ESP32P4
3636
#include "esp_cache.h"
37-
/* Workaround for caching issues currently found for SPI */
38-
#define SPI_WORKAROUND (1)
37+
/* Enable workaround if got SPI Read Errors on ESP32-P4 due to caching */
38+
#define SPI_WORKAROUND (0)
3939
#else
4040
#define SPI_WORKAROUND (0)
4141
#endif

host/port/spi_wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include "driver/gpio.h"
2525

2626
#ifdef CONFIG_IDF_TARGET_ESP32P4
27-
/* Workaround for caching issues currently found for SPI on ESP32-P4 */
28-
#define SPI_WORKAROUND (1)
27+
/* Enable workaround if got SPI Read Errors on ESP32-P4 due to caching */
28+
#define SPI_WORKAROUND (0)
2929
#else
3030
#define SPI_WORKAROUND (0)
3131
#endif

0 commit comments

Comments
 (0)