Merged in kyChuGit/nuttx/driver_update (pull request #1073)
Driver update * drivers/mtd/Make.defs: Add MTD driver for QuadSPI-based Winbond NOR FLASH * stm32l4/stm32l4_qspi.c: the "QSPI_DMA_PRIO" has been defined above Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
261a6ff758
commit
03a47a5fbd
|
@ -292,12 +292,6 @@ static int qspi0_interrupt(int irq, void *context, FAR void *arg);
|
|||
|
||||
#ifdef CONFIG_STM32L4_QSPI_DMA
|
||||
|
||||
# if defined(CONFIG_QSPI_DMAPRIO)
|
||||
# define QSPI_DMA_PRIO CONFIG_QSPI_DMAPRIO
|
||||
# else
|
||||
# define QSPI_DMA_PRIO DMA_CCR_PRIMED
|
||||
# endif
|
||||
|
||||
# ifdef CONFIG_STM32L4_QSPI_DMADEBUG
|
||||
# define qspi_dma_sample(s,i) stm32l4_dmasample((s)->dmach, &(s)->dmaregs[i])
|
||||
static void qspi_dma_sampleinit(struct stm32l4_qspidev_s *priv);
|
||||
|
|
|
@ -140,6 +140,10 @@ ifeq ($(CONFIG_MTD_N25QXXX),y)
|
|||
CSRCS += n25qxxx.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MTD_W25QXXXJV),y)
|
||||
CSRCS += w25qxxxjv.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MTD_MX25RXX),y)
|
||||
CSRCS += mx25rxx.c
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue