mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
arch: cxd56xx: Disable SubCore to use DMA
Disable SubCore to use SPI transfer with DMA because it may be used by MainCore.
This commit is contained in:
@@ -731,7 +731,9 @@ void weak_function arm_dma_initialize(void)
|
||||
for (i = 0; i < NCHANNELS; i++)
|
||||
{
|
||||
g_dmach[i].chan = i;
|
||||
#ifndef CONFIG_CXD56_SUBCORE
|
||||
up_enable_irq(irq_map[i]);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user