123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- menu "Hardware Drivers Config"
- config SOC_MCXN947
- bool
- select SOC_MCXN947_SERIES
- select RT_USING_COMPONENTS_INIT
- select RT_USING_USER_MAIN
- default y
- menu "On-chip Peripheral Drivers"
- config BSP_USING_DMA
- bool "Enable DMA"
- select RT_USING_DMA
- default n
- config BSP_USING_PIN
- bool "Enable GPIO"
- select RT_USING_PIN
- default y
- menuconfig BSP_USING_UART
- bool "Enable UART"
- default y
- select RT_USING_SERIAL
- if BSP_USING_UART
- config BSP_USING_UART4
- bool "Enable UART4"
- default y
- config BSP_USING_UART5
- bool "Enable UART5"
- default n
- config BSP_USING_UART2
- bool "Enable UART2"
- default n
- endif
- menuconfig BSP_USING_I2C
- config BSP_USING_I2C
- bool "Enable I2C"
- select RT_USING_I2C
- default y
- if BSP_USING_I2C
- config BSP_USING_I2C0
- bool "Enable Flexcomm0 I2C"
- default y
- config BSP_USING_I2C1
- bool "Enable Flexcomm1 I2C"
- default y
- endif
- menuconfig BSP_USING_SPI
- config BSP_USING_SPI
- bool "Enable SPI"
- select RT_USING_SPI
- select BSP_USING_PIN
- default y
- if BSP_USING_SPI
- config BSP_USING_SPI1
- bool "Enable Flexcomm1 as SPI"
- default n
- config BSP_USING_SPI3
- bool "Enable Flexcomm3 as SPI"
- default n
- config BSP_USING_SPI6
- bool "Enable Flexcomm6 as SPI"
- default n
- if BSP_USING_SPI6
- config BSP_USING_SPI6_SAMPLE
- bool "Enable SPI6 BUS Sample"
- default n
- endif
- config BSP_USING_SPI7
- bool "Enable Flexcomm7 as SPI"
- default n
- endif
- menuconfig BSP_USING_ADC
- config BSP_USING_ADC
- bool "Enable ADC Channel"
- select RT_USING_ADC
- default y
- if BSP_USING_ADC
- config BSP_USING_ADC0
- bool
- default n
- config BSP_USING_ADC0_CH0
- bool "Enable ADC0 Channel0"
- select BSP_USING_ADC0
- default y
- config BSP_USING_ADC0_CH1
- bool "Enable ADC0 Channel1"
- select BSP_USING_ADC0
- default n
- config BSP_USING_ADC0_CH8
- bool "Enable ADC0 Channel8"
- select BSP_USING_ADC0
- default n
- config BSP_USING_ADC0_CH13
- bool "Enable ADC0 Channel13"
- select BSP_USING_ADC0
- default n
- config BSP_USING_ADC0_CH26
- bool "Enable ADC0 Channel26"
- select BSP_USING_ADC0
- default n
- endif
- menuconfig BSP_USING_DAC
- config BSP_USING_DAC
- bool "Enable DAC Channel"
- select RT_USING_DAC
- default y
- if BSP_USING_DAC
- config BSP_USING_DAC0
- bool "Enable DAC0 Channel"
- default n
- config BSP_USING_DAC1
- bool "Enable DAC1 Channel"
- default n
- config BSP_USING_DAC2
- bool "Enable DAC2 Channel"
- default n
- endif
- config BSP_USING_SDIO
- bool "Enable SDIO SD Card Interface"
- select RT_USING_SDIO
- select RT_USING_DFS
- select RT_USING_DFS_ELMFAT
- default y
- config BSP_USING_ETH
- bool "Enable Ethernet"
- default n
- select RT_USING_LWIP
- select RT_USING_NETDEV
- select RT_USING_SAL
- config BSP_USING_RTC
- bool "Enable RTC"
- select RT_USING_RTC
- default y
- config BSP_USING_WDT
- bool "Enable WatchDog"
- select RT_USING_WDT
- default n
- menuconfig BSP_USING_HWTIMER
- config BSP_USING_HWTIMER
- bool "Enable Timer"
- select RT_USING_HWTIMER
- default y
- menuconfig BSP_USING_PWM
- config BSP_USING_PWM
- bool "Enable PWM"
- select RT_USING_PWM
- default y
- if BSP_USING_PWM
- config BSP_USING_LEDG_PWM
- bool "Enable on-board green LED as PWM output (pwm0, channel 3)"
- default y
- endif
- menuconfig BSP_USING_USB
- bool "Enable USB"
- default n
- if BSP_USING_USB
- config BSP_USING_USB_DEVICE
- bool "Enable USB Device, default is msc ramdisk"
- default n
- select RT_USING_CHERRYUSB
- select RT_CHERRYUSB_DEVICE
- select RT_CHERRYUSB_DEVICE_SPEED_HS
- select RT_CHERRYUSB_DEVICE_CHIPIDEA_MCX
- select RT_CHERRYUSB_DEVICE_MSC
- select RT_CHERRYUSB_DEVICE_TEMPLATE_MSC
- config BSP_USING_USB_HOST
- bool "Enable USB Host"
- default n
- select RT_USING_CHERRYUSB
- select RT_CHERRYUSB_HOST
- select RT_CHERRYUSB_HOST_EHCI_MCX
- select RT_CHERRYUSB_HOST_CDC_ACM
- select RT_CHERRYUSB_HOST_HID
- select RT_CHERRYUSB_HOST_MSC
- select RT_CHERRYUSB_HOST_CDC_RNDIS
- endif
- endmenu
- menu "Board extended module Drivers"
- menuconfig BSP_USING_RW007
- bool "Enable RW007"
- default n
- select BSP_USING_SPI
- select BSP_USING_SPI1
- select PKG_USING_RW007
- select RT_USING_MEMPOOL
- select RW007_NOT_USE_EXAMPLE_DRIVERS
- if BSP_USING_RW007
- config BOARD_RW007_SPI_BUS_NAME
- string "RW007 BUS NAME"
- default "spi1"
- config BOARD_RW007_CS_PIN
- hex "CS pin index"
- default 27
- config BOARD_RW007_INT_BUSY_PIN
- hex "INT/BUSY pin index"
- default 10
- config BOARD_RW007_RST_PIN
- hex "RESET pin index"
- default 28
- endif
- endmenu
- endmenu
|