123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408 |
- menu "Hardware Drivers Config"
- config SOC_SWM341
- bool
- select RT_USING_COMPONENTS_INIT
- select RT_USING_USER_MAIN
- default y
- menu "On-chip Peripheral Drivers"
- menuconfig BSP_USING_UART
- bool "Enable UART"
- default y
- select RT_USING_SERIAL
- if BSP_USING_UART
- config BSP_USING_UART0
- bool "Enable UART0 (M0/RX,M1/TX)"
- default y
- config BSP_USING_UART1
- bool "Enable UART1 (D4/RX,D3/TX)"
- default n
- config BSP_USING_UART2
- bool "Enable UART2 (C1/RX,C0/TX)"
- default n
- config BSP_USING_UART3
- bool "Enable UART3 (C2/RX,C3/TX)"
- default n
- endif
- config BSP_USING_GPIO
- bool "Enable GPIO"
- select RT_USING_PIN
- default y
- menuconfig BSP_USING_ADC
- bool "Enable ADC"
- default n
- select RT_USING_ADC
- if BSP_USING_ADC
- config BSP_USING_ADC0
- bool "Enable ADC0"
- default n
- if BSP_USING_ADC0
- config BSP_USING_ADC0_CHN0
- bool "Enable ADC0_CHN0(C6)"
- default n
- config BSP_USING_ADC0_CHN1
- bool "Enable ADC0_CHN1(C5)"
- default n
- config BSP_USING_ADC0_CHN2
- bool "Enable ADC0_CHN2(C4)"
- default n
- config BSP_USING_ADC0_CHN3
- bool "Enable ADC0_CHN3(C3)"
- default n
- config BSP_USING_ADC0_CHN4
- bool "Enable ADC0_CHN4(C2)"
- default n
- config BSP_USING_ADC0_CHN5
- bool "Enable ADC0_CHN5(C1)"
- default n
- config BSP_USING_ADC0_CHN6
- bool "Enable ADC0_CHN6(C0)"
- default n
- config BSP_USING_ADC0_CHN7
- bool "Enable ADC0_CHN7(A15)"
- default n
- config BSP_USING_ADC0_CHN8
- bool "Enable ADC0_CHN8(A14)"
- default n
- config BSP_USING_ADC0_CHN9
- bool "Enable ADC0_CHN9(A13)"
- default n
- config BSP_USING_ADC0_CHN10
- bool "Enable ADC0_CHN10(A12)"
- default n
- config BSP_USING_ADC0_CHN11
- bool "Enable ADC0_CHN11(A10)"
- default n
- endif
- config BSP_USING_ADC1
- bool "Enable ADC1"
- default n
- if BSP_USING_ADC1
- config BSP_USING_ADC1_CHN0
- bool "Enable ADC1_CHN0(D1)"
- default n
- config BSP_USING_ADC1_CHN1
- bool "Enable ADC1_CHN1(D0)"
- default n
- config BSP_USING_ADC1_CHN2
- bool "Enable ADC1_CHN2(C13)"
- default n
- config BSP_USING_ADC1_CHN3
- bool "Enable ADC1_CHN3(C12)"
- default n
- config BSP_USING_ADC1_CHN4
- bool "Enable ADC1_CHN4(C11)"
- default n
- config BSP_USING_ADC1_CHN5
- bool "Enable ADC1_CHN5(C10)"
- default n
- config BSP_USING_ADC1_CHN6
- bool "Enable ADC1_CHN6(C9)"
- default n
- endif
- endif
- config BSP_USING_DAC
- bool "Enable DAC"
- select RT_USING_DAC
- default n
- menuconfig BSP_USING_CAN
- bool "Enable CAN"
- default n
- select RT_USING_CAN
- if BSP_USING_CAN
- config BSP_USING_CAN0
- bool "Enable CAN0(TX/B4,RX/B5)"
- default n
- config BSP_USING_CAN1
- bool "Enable CAN1(TX/B2,RX/B3)"
- default n
- endif
- menuconfig BSP_USING_TIM
- bool "Enable HWTIMER"
- default n
- select RT_USING_HWTIMER
- if BSP_USING_TIM
- config BSP_USING_TIM0
- bool "Enable TIM0"
- default n
- config BSP_USING_TIM1
- bool "Enable TIM1"
- default n
- config BSP_USING_TIM2
- bool "Enable TIM2"
- default n
- config BSP_USING_TIM3
- bool "Enable TIM3"
- default n
- config BSP_USING_TIM4
- bool "Enable TIM4"
- default n
- config BSP_USING_BTIM0
- bool "Enable BTIM0"
- default n
- config BSP_USING_BTIM1
- bool "Enable BTIM1"
- default n
- config BSP_USING_BTIM2
- bool "Enable BTIM2"
- default n
- config BSP_USING_BTIM3
- bool "Enable BTIM3"
- default n
- config BSP_USING_BTIM4
- bool "Enable BTIM4"
- default n
- config BSP_USING_BTIM5
- bool "Enable BTIM5"
- default n
- config BSP_USING_BTIM6
- bool "Enable BTIM6"
- default n
- config BSP_USING_BTIM7
- bool "Enable BTIM7"
- default n
- config BSP_USING_BTIM8
- bool "Enable BTIM8"
- default n
- config BSP_USING_BTIM9
- bool "Enable BTIM9"
- default n
- config BSP_USING_BTIM10
- bool "Enable BTIM10"
- default n
- config BSP_USING_BTIM11
- bool "Enable BTIM11"
- default n
- endif
- menuconfig BSP_USING_I2C
- bool "Enable I2C BUS (software simulation)"
- default n
- select RT_USING_I2C
- select RT_USING_I2C_BITOPS
- select RT_USING_PIN
- if BSP_USING_I2C
- config BSP_USING_I2C0
- bool "Enable I2C0"
- default n
- if BSP_USING_I2C0
- config BSP_I2C0_SCL_PIN
- int "I2C0 scl pin number"
- range 0 111
- default 1
- config BSP_I2C0_SDA_PIN
- int "I2C0 sda pin number"
- range 0 111
- default 0
- endif
- config BSP_USING_I2C1
- bool "Enable I2C1"
- default n
- if BSP_USING_I2C1
- config BSP_I2C1_SCL_PIN
- int "I2C1 scl pin number"
- range 0 111
- default 37
- config BSP_I2C1_SDA_PIN
- int "I2C1 sda pin number"
- range 0 111
- default 36
- endif
- endif
- menuconfig BSP_USING_PWM
- bool "Enable PWM"
- default n
- select RT_USING_PWM
- if BSP_USING_PWM
- comment "Notice: PWMA,PWMAN,PWMB,PWMBN are all channel0,the performance is the same"
- config BSP_USING_PWM0
- bool "Enable PWM0"
- default n
- if BSP_USING_PWM0
- config BSP_USING_PWM0A
- bool "Enable PWM0A (M1)"
- default n
- config BSP_USING_PWM0AN
- bool "Enable PWM0AN (M4)"
- default n
- config BSP_USING_PWM0B
- bool "Enable PWM0B (M2)"
- default n
- config BSP_USING_PWM0BN
- bool "Enable PWM0BN (M5)"
- default n
- endif
- config BSP_USING_PWM1
- bool "Enable PWM1"
- default n
- if BSP_USING_PWM1
- config BSP_USING_PWM1A
- bool "Enable PWM1A (M3)"
- default n
- config BSP_USING_PWM1AN
- bool "Enable PWM1AN (M6)"
- default n
- config BSP_USING_PWM1B
- bool "Enable PWM1B (D9)"
- default n
- config BSP_USING_PWM1BN
- bool "Enable PWM1BN (D8)"
- default n
- endif
- config BSP_USING_PWM2
- bool "Enable PWM2"
- default n
- if BSP_USING_PWM2
- config BSP_USING_PWM2A
- bool "Enable PWM2A (M12)"
- default n
- config BSP_USING_PWM2AN
- bool "Enable PWM2AN (M9)"
- default n
- config BSP_USING_PWM2B
- bool "Enable PWM2B (M11)"
- default n
- config BSP_USING_PWM2BN
- bool "Enable PWM2BN (M8)"
- default n
- endif
- config BSP_USING_PWM3
- bool "Enable PWM3"
- default n
- if BSP_USING_PWM3
- config BSP_USING_PWM3A
- bool "Enable PWM3A (C2)"
- default n
- config BSP_USING_PWM3AN
- bool "Enable PWM3AN (C3)"
- default n
- config BSP_USING_PWM3B
- bool "Enable PWM3B (B1)"
- default n
- config BSP_USING_PWM3BN
- bool "Enable PWM3BN (B0)"
- default n
- endif
- config BSP_USING_PWM4
- bool "Enable PWM4"
- default n
- if BSP_USING_PWM4
- config BSP_USING_PWM4A
- bool "Enable PWM4A (B15)"
- default n
- config BSP_USING_PWM4AN
- bool "Enable PWM4AN (B14) NOTICE:SWDIO"
- default n
- config BSP_USING_PWM4B
- bool "Enable PWM4B (B13)"
- default n
- config BSP_USING_PWM4BN
- bool "Enable PWM4BN (B12) NOTICE:SWDCK"
- default n
- endif
- endif
- config BSP_USING_RTC
- bool "Enable RTC"
- select RT_USING_RTC
- select RT_USING_LIBC
- default n
- menuconfig BSP_USING_SPI
- bool "Enable SPI BUS"
- default n
- select RT_USING_SPI
- if BSP_USING_SPI
- config BSP_USING_SPI0
- bool "Enable SPI0 BUS(CS/M3,MISO/M4,MOSI/M5,CLK/M2)"
- default n
- config BSP_USING_SPI1
- bool "Enable SPI1 BUS(CS/B5,MISO/B3,MOSI/B4,CLK/B2)"
- default n
- endif
- config BSP_USING_WDT
- bool "Enable Watchdog Timer"
- select RT_USING_WDT
- default n
- config BSP_USING_CRC
- bool "Enable CRC"
- select RT_USING_HWCRYPTO
- select RT_HWCRYPTO_USING_CRC
- default n
- config BSP_USING_RNG
- bool "Enable RNG (Random Number Generator)"
- select RT_USING_HWCRYPTO
- select RT_HWCRYPTO_USING_RNG
- default n
- config BSP_USING_SDIO
- bool "Enable SDCARD (sdio)"
- select RT_USING_SDIO
- select RT_USING_DFS
- select RT_USING_DFS_ELMFAT
- default n
- menuconfig BSP_USING_SDRAM
- bool "Enable SDRAM"
- select RT_USING_MEMHEAP
- select RT_USING_MEMHEAP_AS_HEAP
- select RT_USING_MEMHEAP_AUTO_BINDING
- default n
- if BSP_USING_SDRAM
- config BSP_SDRAM_SIZE
- hex "SDRAM size"
- default 0x800000
- endif
- menuconfig BSP_USING_GT9147
- bool "Enable gt9147(use i2c0)"
- select RT_USING_TOUCH
- select RT_TOUCH_PIN_IRQ
- select BSP_USING_I2C
- select BSP_USING_I2C0
- select PKG_USING_GT9147
- select PKG_USING_GT9147_LATEST_VERSION
- default n
- if BSP_USING_GT9147
- config GT9147_RST_PIN
- int "GT9147 rst pin number"
- range 0 111
- default 39
- config GT9147_IRQ_PIN
- int "GT9147 irq pin number"
- range 0 111
- default 48
- endif
- menuconfig BSP_USING_RGB_LCD
- bool "Enable RGB LCD"
- select BSP_USING_SDRAM
- default n
- if BSP_USING_RGB_LCD
- config BSP_USING_LVGL
- bool "Enable LVGL for LCD"
- select PKG_USING_LVGL
- default n
- endif
- endmenu
- menu "Onboard Peripheral Drivers"
- endmenu
- menu "Offboard Peripheral Drivers"
- endmenu
- endmenu
|