Fix some Olimex LPC1766STK build issues that have crept in due to changes in Kconfig file
This commit is contained in:
parent
6c895c9516
commit
954bf9c60b
@ -204,8 +204,8 @@ CONFIG_LPC17_SSP1=y
|
||||
#
|
||||
CONFIG_PHY_AUTONEG=y
|
||||
CONFIG_NET_EMACRAM_SIZE=8192
|
||||
CONFIG_NET_NTXDESC=7
|
||||
CONFIG_NET_NRXDESC=7
|
||||
CONFIG_NET_NTXDESC=6
|
||||
CONFIG_NET_NRXDESC=6
|
||||
# CONFIG_NET_WOL is not set
|
||||
# CONFIG_NET_HASH is not set
|
||||
# CONFIG_NET_MULTICAST is not set
|
||||
@ -417,7 +417,7 @@ CONFIG_SPI=y
|
||||
# CONFIG_SPI_OWNBUS is not set
|
||||
# CONFIG_SPI_EXCHANGE is not set
|
||||
# CONFIG_SPI_CMDDATA is not set
|
||||
CONFIG_SPI_CALLBACK=y
|
||||
# CONFIG_SPI_CALLBACK is not set
|
||||
# CONFIG_SPI_BITBANG is not set
|
||||
# CONFIG_I2S is not set
|
||||
|
||||
|
@ -43,6 +43,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/spi/spi.h>
|
||||
#ifdef CONFIG_SPI_CALLBACK
|
||||
#include <nuttx/irq.h>
|
||||
@ -167,6 +168,8 @@ static void ssp_cdirqsetup(int irq, xcpt_t irqhandler)
|
||||
up_disable_irq(irq);
|
||||
(void)irq_detach(irq);
|
||||
}
|
||||
|
||||
irqrestore(flags);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user