File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2626#include "targets/vmu/config.h"
2727#elif defined(RG_TARGET_CROKPOCKET )
2828#include "targets/crokpocket/config.h"
29- #elif defined(RG_TARGET_ESP32_P4 )
30- #include "targets/esp32-p4/config.h"
29+ #elif defined(RG_TARGET_ESP32_S3_DEVKIT )
30+ #include "targets/esp32-s3-devkit/config.h"
31+ #elif defined(RG_TARGET_ESP32_P4_DEVKIT )
32+ #include "targets/esp32-p4-devkit/config.h"
3133#else
3234#warning "No target defined. Defaulting to ODROID-GO."
3335#include "targets/odroid-go/config.h"
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ static void spi_init(void)
113113 .queue_size = SPI_TRANSACTION_COUNT , // We want to be able to queue 5 transactions at a time
114114 .pre_cb = & spi_pre_transfer_cb , // Specify pre-transfer callback to handle D/C line and SPI lock
115115 .flags = SPI_DEVICE_NO_DUMMY , // SPI_DEVICE_HALFDUPLEX;
116- #ifdef RG_TARGET_ESP32_P4
116+ #ifdef RG_TARGET_ESP32_P4_DEVKIT
117117 .clock_source = SPI_CLK_SRC_SPLL ,
118118 #endif
119119 };
You can’t perform that action at this time.
0 commit comments