Merge branch 'fix/spi_dma_config_in_iram_v3.1' into 'release/v3.1'
spi: fix the issue that spi cannot be used when flash is disabled (backport v3.1) See merge request idf/esp-idf!3075
This commit is contained in:
commit
7cd75f30f2
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ void spicommon_cs_free_io(int cs_gpio_num)
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set up a list of dma descriptors. dmadesc is an array of descriptors. Data is the buffer to point to.
|
//Set up a list of dma descriptors. dmadesc is an array of descriptors. Data is the buffer to point to.
|
||||||
void spicommon_setup_dma_desc_links(lldesc_t *dmadesc, int len, const uint8_t *data, bool isrx)
|
void IRAM_ATTR spicommon_setup_dma_desc_links(lldesc_t *dmadesc, int len, const uint8_t *data, bool isrx)
|
||||||
{
|
{
|
||||||
int n = 0;
|
int n = 0;
|
||||||
while (len) {
|
while (len) {
|
||||||
|
|
Loading…
Reference in a new issue