Skip to content

Commit

Permalink
Merge branch 'feat/spi_no_workaround' into 'feature/esp_as_mcu_host'
Browse files Browse the repository at this point in the history
feat/spi_no_workaround Disable caching workaround for P4

See merge request app-frameworks/esp_hosted!491
  • Loading branch information
mantriyogesh committed Aug 29, 2024
2 parents 33953f5 + 3ec69c4 commit b4e3536
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions host/port/spi_hd_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

#ifdef CONFIG_IDF_TARGET_ESP32P4
#include "esp_cache.h"
/* Workaround for caching issues currently found for SPI */
#define SPI_WORKAROUND (1)
/* Enable workaround if got SPI Read Errors on ESP32-P4 due to caching */
#define SPI_WORKAROUND (0)
#else
#define SPI_WORKAROUND (0)
#endif
Expand Down
4 changes: 2 additions & 2 deletions host/port/spi_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "driver/gpio.h"

#ifdef CONFIG_IDF_TARGET_ESP32P4
/* Workaround for caching issues currently found for SPI on ESP32-P4 */
#define SPI_WORKAROUND (1)
/* Enable workaround if got SPI Read Errors on ESP32-P4 due to caching */
#define SPI_WORKAROUND (0)
#else
#define SPI_WORKAROUND (0)
#endif
Expand Down

0 comments on commit b4e3536

Please sign in to comment.