Skip to content

Commit 6e10908

Browse files
authored
make all gdma functions isr safe by placing in iram
1 parent 74a8c66 commit 6e10908

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

configs/defconfig.opi_ram

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@ CONFIG_SPIRAM_MODE_OCT=y
22
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
33
# CONFIG_SPIRAM_MEMTEST is not set
44
CONFIG_LCD_RGB_ISR_IRAM_SAFE=y
5-
CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y
65
# bounce buffer mode relies on GDMA EOF interrupt to be service-able
76
# I2S_ISR_IRAM_SAFE has to be set!! Done in common config
7+
CONFIG_GDMA_CTRL_FUNC_IN_IRAM=y
88
CONFIG_GDMA_ISR_IRAM_SAFE=y
9+
CONFIG_DW_GDMA_CTRL_FUNC_IN_IRAM=y
10+
CONFIG_DW_GDMA_OBJ_DRAM_SAFE=y
11+
CONFIG_DW_GDMA_SETTER_FUNC_IN_IRAM=y
12+
CONFIG_DW_GDMA_GETTER_FUNC_IN_IRAM=y
13+
CONFIG_DW_GDMA_ISR_IRAM_SAFE=y
14+
CONFIG_DW_GDMA_OBJ_DRAM_SAFE=y
15+
CONFIG_DMA2D_OPERATION_FUNC_IN_IRAMA=y
16+
CONFIG_DMA2D_ISR_IRAM_SAFE=y
917
# Enable the XIP-PSRAM feature, so the ext-mem cache won't be disabled when SPI1 is operating the main flash
1018
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
1119
CONFIG_SPIRAM_RODATA=y

0 commit comments

Comments
 (0)