Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbabbd84

Browse files
authored
Merge pull requestlvgl-micropython#264 from 0ut4t1m3/main
Update to correctly handle SPI for C6
2 parents36c0759 +f5219a2 commitbabbd84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎micropy_updates/esp32/machine_hw_spi.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ void mp_machine_hw_spi_bus_initilize(mp_machine_hw_spi_bus_obj_t *bus)
563563

564564
esp_err_tret;
565565

566-
#ifCONFIG_IDF_TARGET_ESP32S2||CONFIG_IDF_TARGET_ESP32S3||CONFIG_IDF_TARGET_ESP32C3
566+
#ifCONFIG_IDF_TARGET_ESP32S2||CONFIG_IDF_TARGET_ESP32S3||CONFIG_IDF_TARGET_ESP32C3||CONFIG_IDF_TARGET_ESP32C6
567567
ret=spi_bus_initialize((spi_host_device_t)bus->host,&buscfg,SPI_DMA_CH_AUTO);
568568
#else
569569
if (bus->host==SPI2_HOST) {
@@ -730,4 +730,4 @@ MP_DEFINE_CONST_OBJ_TYPE(
730730
MP_QSTR_SPI,
731731
MP_TYPE_FLAG_NONE,
732732
locals_dict,&machine_spi_locals_dict
733-
);
733+
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp