Skip to content

Commit 85f3c32

Browse files
committed
DMA too?
1 parent 6f0cb83 commit 85f3c32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Boards/cyd-jc3248w535c/Source/Configuration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
using namespace tt::hal;
99

10-
#define SPI_TRANSFER_SIZE_LIMIT ((320) * 16 / 2)
10+
#define SPI_TRANSFER_SIZE_LIMIT ((320) * 16 / 8)
1111

1212
static DeviceVector createDevices() {
1313
return {

Drivers/Axs15231b/Source/Axs15231bDisplay.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ lvgl_port_display_cfg_t Axs15231bDisplay::getLvglPortDisplayConfig(esp_lcd_panel
136136
.panel_handle = panelHandle,
137137
.control_handle = nullptr,
138138
.buffer_size = configuration->bufferSize,
139-
.double_buffer = false,
140-
.trans_size = ((configuration->horizontalResolution) * 16 / 2),
139+
.double_buffer = true,
140+
.trans_size = 0,
141141
.hres = configuration->horizontalResolution,
142142
.vres = configuration->verticalResolution,
143143
.monochrome = false,
@@ -148,7 +148,7 @@ lvgl_port_display_cfg_t Axs15231bDisplay::getLvglPortDisplayConfig(esp_lcd_panel
148148
},
149149
.color_format = LV_COLOR_FORMAT_RGB565,
150150
.flags = {
151-
.buff_dma = false,
151+
.buff_dma = true,
152152
.buff_spiram = true,
153153
.sw_rotate = true,
154154
.swap_bytes = true,

0 commit comments

Comments
 (0)