forked from Archive/PX4-Autopilot
parent
b7ea31ceed
commit
efbb2cf2e3
|
@ -46,7 +46,7 @@ CONFIG_I2CTOOL_MAXADDR=0x7f
|
|||
CONFIG_I2CTOOL_MAXBUS=0
|
||||
CONFIG_I2CTOOL_MINADDR=0x00
|
||||
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||
CONFIG_INIT_STACKSIZE=2276
|
||||
CONFIG_INIT_STACKSIZE=3500
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_LIBC_STRERROR=y
|
||||
CONFIG_LPI2C0_DMA=y
|
||||
|
@ -100,12 +100,20 @@ CONFIG_S32K1XX_EDMA_NTCD=64
|
|||
CONFIG_S32K1XX_EEEPROM=y
|
||||
CONFIG_S32K1XX_FLEXCAN0=y
|
||||
CONFIG_S32K1XX_FLEXCAN1=y
|
||||
CONFIG_S32K1XX_GPIOIRQ=y
|
||||
CONFIG_S32K1XX_LPI2C0=y
|
||||
CONFIG_S32K1XX_LPI2C_DMA=y
|
||||
CONFIG_S32K1XX_LPI2C_DYNTIMEO=y
|
||||
CONFIG_S32K1XX_LPSPI0=y
|
||||
CONFIG_S32K1XX_LPSPI0_DMA=y
|
||||
CONFIG_S32K1XX_LPSPI_DMA=y
|
||||
CONFIG_S32K1XX_LPUART0=y
|
||||
CONFIG_S32K1XX_LPUART1=y
|
||||
CONFIG_S32K1XX_PORTAINTS=y
|
||||
CONFIG_S32K1XX_PORTBINTS=y
|
||||
CONFIG_S32K1XX_PORTCINTS=y
|
||||
CONFIG_S32K1XX_PORTDINTS=y
|
||||
CONFIG_S32K1XX_PORTEINTS=y
|
||||
CONFIG_S32K1XX_RTC=y
|
||||
CONFIG_SCHED_HPWORK=y
|
||||
CONFIG_SCHED_HPWORKPRIORITY=249
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
constexpr px4_spi_bus_t px4_spi_buses[SPI_BUS_MAX_BUS_ITEMS] = {
|
||||
initSPIBusExternal(SPI::Bus::SPI0, {
|
||||
// Going to assume PTB5 means PortB, Pin5
|
||||
initSPIConfigExternal(SPI::CS{GPIO::PortB, GPIO::Pin5})
|
||||
initSPIConfigExternal(SPI::CS{GPIO::PortB, GPIO::Pin5}, SPI::DRDY{GPIO::PortE, GPIO::Pin0}),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue