| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184 |
- config SOC_SERIES_MA35D1
- bool
- select SOC_FAMILY_NUMICRO
- select RT_USING_COMPONENTS_INIT
- select RT_USING_USER_MAIN
- default y
- config BSP_USING_SSPCC
- bool
- depends on SOC_SERIES_MA35D1 && !USE_MA35D1_SUBM
- default y
- config BSP_USING_SSMCC
- bool
- depends on SOC_SERIES_MA35D1 && !USE_MA35D1_SUBM
- default y
- config BSP_USING_UMCTL2
- bool
- depends on SOC_SERIES_MA35D1 && !USE_MA35D1_SUBM
- default y
- config BSP_USING_RTP
- bool
- depends on SOC_SERIES_MA35D1 && !USE_MA35D1_SUBM
- default y
- if BSP_USING_RTP
- config RTP_USING_AT_STARTUP
- bool "Enable RTP Executation at startup"
- default y
- endif
- config USE_MA35D1_AARCH32
- bool
- select ARCH_ARM_CORTEX_A
- select RT_USING_GIC_V2
- select RT_USING_FPU
- select ARCH_ARMV8
- select RT_SMP_AUTO_BOOT
- config USE_MA35D1_AARCH64
- bool
- select ARCH_ARMV8
- if USE_MA35D1_AARCH64
- config BSP_USING_GIC
- bool
- default y
- config BSP_USING_GICV2
- bool
- default y
- endif
- config USE_MA35D1_SUBM
- bool
- select ARCH_ARM_CORTEX_M4
- config RT_USING_FPU
- bool
- config BSP_USE_STDDRIVER_SOURCE
- bool "Build StdDriver source"
- default n
- menuconfig BSP_USING_PDMA
- bool "Enable Peripheral Direct Memory Access Controller(PDMA)"
- default y
- if BSP_USING_PDMA
- config BSP_USING_PDMA0
- bool "Enable PDMA0"
- depends on !USE_MA35D1_SUBM
- config BSP_USING_PDMA1
- bool "Enable PDMA1"
- depends on !USE_MA35D1_SUBM
- config BSP_USING_PDMA2
- bool "Enable PDMA2"
- config BSP_USING_PDMA3
- bool "Enable PDMA3"
- config NU_PDMA_MEMFUN_ACTOR_MAX
- int "Specify maximum mem actor for memfun"
- range 1 4
- default 2
- endif
- config BSP_USING_GPIO
- bool "Enable General Purpose I/O(GPIO)"
- select RT_USING_PIN
- default y
- menuconfig BSP_USING_GMAC
- bool "Enable Ethernet Gigabit MAC Controller(GMAC)"
- select RT_USING_LWIP
- select RT_USING_NETDEV
- depends on !USE_MA35D1_SUBM
- if BSP_USING_GMAC
- config BSP_USING_GMAC0
- bool "Enable GMAC0"
- config BSP_USING_GMAC1
- bool "Enable GMAC1"
- endif
- menuconfig BSP_USING_RTC
- bool "Enable Real Time Clock(RTC)"
- select RT_USING_RTC
- config NU_RTC_SUPPORT_IO_RW
- bool "Support device RW entry"
- depends on BSP_USING_RTC && RT_USING_RTC
- config NU_RTC_SUPPORT_MSH_CMD
- bool "Support module shell command"
- depends on BSP_USING_RTC && RT_USING_RTC
- menuconfig BSP_USING_ADC
- bool "Enable Analog-to-Digital Converter(ADC)"
- select RT_USING_ADC
- depends on !USE_MA35D1_SUBM
- if BSP_USING_ADC
- config BSP_USING_ADC_TOUCH
- bool "Enable ADC Touching function"
- select RT_USING_TOUCH
- default y
- endif
- menuconfig BSP_USING_CCAP
- bool "Enable Camera Capture Interface Controller(CCAP)"
- select RT_USING_PIN
- depends on !USE_MA35D1_SUBM
- if BSP_USING_CCAP
- config BSP_USING_CCAP0
- bool "Enable CCAP0"
- config BSP_USING_CCAP1
- bool "Enable CCAP1"
- endif
- menuconfig BSP_USING_EADC
- bool "Enable Enhanced Analog-to-Digital Converter(EADC)"
- select RT_USING_ADC
- if BSP_USING_EADC
- config BSP_USING_EADC0
- bool "Enable EADC0"
- endif
- menuconfig BSP_USING_TMR
- bool "Enable Timer Controller(TIMER)"
- if BSP_USING_TMR
- config BSP_USING_TIMER
- bool
- config BSP_USING_TPWM
- bool
- config BSP_USING_TMR0
- bool "Enable TIMER0"
- depends on BSP_USING_TMR && !USE_MA35D1_SUBM
- if BSP_USING_TMR0
- choice
- prompt "Select TIMER0 function mode"
- config BSP_USING_TIMER0
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM0
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR1
- bool "Enable TIMER1"
- depends on BSP_USING_TMR && !USE_MA35D1_SUBM
- if BSP_USING_TMR1
- choice
- prompt "Select TIMER1 function mode"
- config BSP_USING_TIMER1
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM1
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR2
- bool "Enable TIMER2"
- depends on BSP_USING_TMR
- if BSP_USING_TMR2
- choice
- prompt "Select TIMER2 function mode"
- config BSP_USING_TIMER2
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM2
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR3
- bool "Enable TIMER3"
- depends on BSP_USING_TMR
- if BSP_USING_TMR3
- choice
- prompt "Select TIMER3 function mode"
- config BSP_USING_TIMER3
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM3
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR4
- bool "Enable TIMER4"
- depends on BSP_USING_TMR
- if BSP_USING_TMR4
- choice
- prompt "Select TIMER4 function mode"
- config BSP_USING_TIMER4
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM4
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR5
- bool "Enable TIMER5"
- depends on BSP_USING_TMR
- if BSP_USING_TMR5
- choice
- prompt "Select TIMER5 function mode"
- config BSP_USING_TIMER5
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM5
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR6
- bool "Enable TIMER6"
- depends on BSP_USING_TMR
- if BSP_USING_TMR6
- choice
- prompt "Select TIMER6 function mode"
- config BSP_USING_TIMER6
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM6
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR7
- bool "Enable TIMER7"
- depends on BSP_USING_TMR
- if BSP_USING_TMR7
- choice
- prompt "Select TIMER7 function mode"
- config BSP_USING_TIMER7
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM7
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR8
- bool "Enable TIMER8"
- depends on BSP_USING_TMR
- if BSP_USING_TMR8
- choice
- prompt "Select TIMER8 function mode"
- config BSP_USING_TIMER8
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM8
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR9
- bool "Enable TIMER9"
- depends on BSP_USING_TMR
- if BSP_USING_TMR9
- choice
- prompt "Select TIMER9 function mode"
- config BSP_USING_TIMER9
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM9
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR10
- bool "Enable TIMER10"
- depends on BSP_USING_TMR
- if BSP_USING_TMR10
- choice
- prompt "Select TIMER10 function mode"
- config BSP_USING_TIMER10
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM10
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- config BSP_USING_TMR11
- bool "Enable TIMER11"
- depends on BSP_USING_TMR
- if BSP_USING_TMR11
- choice
- prompt "Select TIMER11 function mode"
- config BSP_USING_TIMER11
- select BSP_USING_TIMER
- select RT_USING_HWTIMER
- bool "Timer"
- help
- Choose this option if you need TIMER function mode.
- config BSP_USING_TPWM11
- select BSP_USING_TPWM
- select RT_USING_PWM
- bool "Timer PWM"
- help
- Choose this option if you need Timer PWM function mode.
- endchoice
- endif
- endif
- menuconfig BSP_USING_UART
- bool "Enable Universal Asynchronous Receiver/Transmitters(UART)"
- select RT_USING_SERIAL
- if BSP_USING_UART
- config BSP_USING_UART0
- bool "Enable UART0"
- depends on !USE_MA35D1_SUBM
- config BSP_USING_UART0_TX_DMA
- bool "Enable UART0 TX DMA"
- depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA
- config BSP_USING_UART0_RX_DMA
- bool "Enable UART0 RX DMA"
- depends on BSP_USING_UART0 && RT_SERIAL_USING_DMA
- config BSP_USING_UART1
- bool "Enable UART1"
- config BSP_USING_UART1_TX_DMA
- bool "Enable UART1 TX DMA"
- depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
- config BSP_USING_UART1_RX_DMA
- bool "Enable UART1 RX DMA"
- depends on BSP_USING_UART1 && RT_SERIAL_USING_DMA
- config BSP_USING_UART2
- bool "Enable UART2"
- config BSP_USING_UART2_TX_DMA
- bool "Enable UART2 TX DMA"
- depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
- config BSP_USING_UART2_RX_DMA
- bool "Enable UART2 RX DMA"
- depends on BSP_USING_UART2 && RT_SERIAL_USING_DMA
- config BSP_USING_UART3
- bool "Enable UART3"
- config BSP_USING_UART3_TX_DMA
- bool "Enable UART3 TX DMA"
- depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
- config BSP_USING_UART3_RX_DMA
- bool "Enable UART3 RX DMA"
- depends on BSP_USING_UART3 && RT_SERIAL_USING_DMA
- config BSP_USING_UART4
- bool "Enable UART4"
- config BSP_USING_UART4_TX_DMA
- bool "Enable UART4 TX DMA"
- depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA
- config BSP_USING_UART4_RX_DMA
- bool "Enable UART4 RX DMA"
- depends on BSP_USING_UART4 && RT_SERIAL_USING_DMA
- config BSP_USING_UART5
- bool "Enable UART5"
- config BSP_USING_UART5_TX_DMA
- bool "Enable UART5 TX DMA"
- depends on BSP_USING_UART5 && RT_SERIAL_USING_DMA
- config BSP_USING_UART5_RX_DMA
- bool "Enable UART5 RX DMA"
- depends on BSP_USING_UART5 && RT_SERIAL_USING_DMA
- config BSP_USING_UART6
- bool "Enable UART6"
- config BSP_USING_UART6_TX_DMA
- bool "Enable UART6 TX DMA"
- depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
- config BSP_USING_UART6_RX_DMA
- bool "Enable UART6 RX DMA"
- depends on BSP_USING_UART6 && RT_SERIAL_USING_DMA
- config BSP_USING_UART7
- bool "Enable UART7"
- config BSP_USING_UART7_TX_DMA
- bool "Enable UART7 TX DMA"
- depends on BSP_USING_UART7 && RT_SERIAL_USING_DMA
- config BSP_USING_UART7_RX_DMA
- bool "Enable UART7 RX DMA"
- depends on BSP_USING_UART7 && RT_SERIAL_USING_DMA
- config BSP_USING_UART8
- bool "Enable UART8"
- config BSP_USING_UART8_TX_DMA
- bool "Enable UART8 TX DMA"
- depends on BSP_USING_UART8 && RT_SERIAL_USING_DMA
- config BSP_USING_UART8_RX_DMA
- bool "Enable UART8 RX DMA"
- depends on BSP_USING_UART8 && RT_SERIAL_USING_DMA
- config BSP_USING_UART9
- bool "Enable UART9"
- config BSP_USING_UART9_TX_DMA
- bool "Enable UART9 TX DMA"
- depends on BSP_USING_UART9 && RT_SERIAL_USING_DMA
- config BSP_USING_UART9_RX_DMA
- bool "Enable UART9 RX DMA"
- depends on BSP_USING_UART9 && RT_SERIAL_USING_DMA
- config BSP_USING_UART10
- bool "Enable UART10"
- config BSP_USING_UART10_TX_DMA
- bool "Enable UART10 TX DMA"
- depends on BSP_USING_UART10 && RT_SERIAL_USING_DMA
- config BSP_USING_UART10_RX_DMA
- bool "Enable UART10 RX DMA"
- depends on BSP_USING_UART10 && RT_SERIAL_USING_DMA
- config BSP_USING_UART11
- bool "Enable UART11"
- config BSP_USING_UART11_TX_DMA
- bool "Enable UART11 TX DMA"
- depends on BSP_USING_UART11 && RT_SERIAL_USING_DMA
- config BSP_USING_UART11_RX_DMA
- bool "Enable UART11 RX DMA"
- depends on BSP_USING_UART11 && RT_SERIAL_USING_DMA
- config BSP_USING_UART12
- bool "Enable UART12"
- config BSP_USING_UART12_TX_DMA
- bool "Enable UART12 TX DMA"
- depends on BSP_USING_UART12 && RT_SERIAL_USING_DMA
- config BSP_USING_UART12_RX_DMA
- bool "Enable UART12 RX DMA"
- depends on BSP_USING_UART12 && RT_SERIAL_USING_DMA
- config BSP_USING_UART13
- bool "Enable UART13"
- config BSP_USING_UART13_TX_DMA
- bool "Enable UART13 TX DMA"
- depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA
- config BSP_USING_UART13_RX_DMA
- bool "Enable UART13 RX DMA"
- depends on BSP_USING_UART13 && RT_SERIAL_USING_DMA
- config BSP_USING_UART14
- bool "Enable UART14"
- config BSP_USING_UART14_TX_DMA
- bool "Enable UART14 TX DMA"
- depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA
- config BSP_USING_UART14_RX_DMA
- bool "Enable UART14 RX DMA"
- depends on BSP_USING_UART14 && RT_SERIAL_USING_DMA
- config BSP_USING_UART15
- bool "Enable UART15"
- config BSP_USING_UART15_TX_DMA
- bool "Enable UART15 TX DMA"
- depends on BSP_USING_UART15 && RT_SERIAL_USING_DMA
- config BSP_USING_UART15_RX_DMA
- bool "Enable UART15 RX DMA"
- depends on BSP_USING_UART15 && RT_SERIAL_USING_DMA
- config BSP_USING_UART16
- bool "Enable UART16"
- config BSP_USING_UART16_TX_DMA
- bool "Enable UART16 TX DMA"
- depends on BSP_USING_UART16 && RT_SERIAL_USING_DMA
- config BSP_USING_UART16_RX_DMA
- bool "Enable UART16 RX DMA"
- depends on BSP_USING_UART16 && RT_SERIAL_USING_DMA
- endif
- menuconfig BSP_USING_I2C
- bool "Enable I2C Serial Interface Controller(I2C)"
- select RT_USING_I2C
- if BSP_USING_I2C
- config BSP_USING_I2C0
- bool "Enable I2C0"
- config BSP_USING_I2C1
- bool "Enable I2C1"
- config BSP_USING_I2C2
- bool "Enable I2C2"
- config BSP_USING_I2C3
- bool "Enable I2C3"
- config BSP_USING_I2C4
- bool "Enable I2C4"
- config BSP_USING_I2C5
- bool "Enable I2C5"
- endif
- menuconfig BSP_USING_SDH
- bool "Enable Secure Digital Host Controller(SDH)"
- select RT_USING_DFS
- select RT_USING_SDIO
- depends on !USE_MA35D1_SUBM
- if BSP_USING_SDH
- config BSP_USING_SDH0
- bool "Enable SDH0"
- config BSP_USING_SDH1
- bool "Enable SDH1"
- endif
- menuconfig BSP_USING_CANFD
- bool "Enable CAN with Flexible Data-rate(CAN FD)"
- select RT_USING_CAN
- if BSP_USING_CANFD
- config BSP_USING_CANFD0
- bool "Enable CANFD0"
- config BSP_USING_CANFD1
- bool "Enable CANFD1"
- config BSP_USING_CANFD2
- bool "Enable CANFD2"
- config BSP_USING_CANFD3
- bool "Enable CANFD3"
- endif
- menuconfig BSP_USING_EPWM
- bool "Enable EPWM Generator and Capture Timer(EPWM)"
- if BSP_USING_EPWM
- config BSP_USING_EPWM0
- bool "Enable EPWM0"
- depends on BSP_USING_EPWM && !USE_MA35D1_SUBM
- config BSP_USING_EPWM_CAPTURE
- bool
- if BSP_USING_EPWM0
- choice
- prompt "Select EPWM0 function mode"
- config BSP_USING_EPWM0_PWM
- select RT_USING_PWM
- bool "EPWM0 PWM"
- help
- Choose this option if you need PWM function mode.
- config BSP_USING_EPWM0_CAPTURE
- select RT_USING_INPUT_CAPTURE
- select BSP_USING_EPWM_CAPTURE
- bool "EPWM0 CAPTURE"
- help
- Choose this option if you need PWM capture function mode.
- endchoice
- endif
- config BSP_USING_EPWM1
- bool "Enable EPWM1"
- depends on BSP_USING_EPWM && !USE_MA35D1_SUBM
- if BSP_USING_EPWM1
- choice
- prompt "Select EPWM1 function mode"
- config BSP_USING_EPWM1_PWM
- select RT_USING_PWM
- bool "EPWM1 PWM"
- help
- Choose this option if you need PWM function mode.
- config BSP_USING_EPWM1_CAPTURE
- select RT_USING_INPUT_CAPTURE
- select BSP_USING_EPWM_CAPTURE
- bool "EPWM1 CAPTURE"
- help
- Choose this option if you need PWM capture function mode.
- endchoice
- endif
- config BSP_USING_EPWM2
- bool "Enable EPWM2"
- depends on BSP_USING_EPWM && !USE_MA35D1_SUBM
- if BSP_USING_EPWM2
- choice
- prompt "Select EPWM2 function mode"
- config BSP_USING_EPWM2_PWM
- select RT_USING_PWM
- bool "EPWM2 PWM"
- help
- Choose this option if you need PWM function mode.
- config BSP_USING_EPWM2_CAPTURE
- select RT_USING_INPUT_CAPTURE
- select BSP_USING_EPWM_CAPTURE
- bool "EPWM2 CAPTURE"
- help
- Choose this option if you need PWM capture function mode.
- endchoice
- endif
- endif
- menuconfig BSP_USING_SPI
- bool "Enable Serial Peripheral Interface(SPI)"
- select RT_USING_SPI
- if BSP_USING_SPI
- config BSP_USING_SPI_PDMA
- bool
- default n
- config BSP_USING_SPII2S
- bool
- choice
- prompt "Select SPI0 function mode"
- config BSP_USING_SPI0_NONE
- bool "NONE"
- help
- Choose this option if you need not SPI0.
- config BSP_USING_SPI0
- bool "Enable SPI0"
- help
- Choose this option if you need SPI function mode.
- config BSP_USING_SPII2S0
- select RT_USING_AUDIO
- select BSP_USING_SPII2S
- bool "Enable SPII2S0"
- help
- Choose this option if you need SPII2S function mode.
- endchoice
- if BSP_USING_SPI0
- config BSP_USING_SPI0_PDMA
- bool "Enable PDMA for SPI0"
- select BSP_USING_SPI_PDMA
- depends on BSP_USING_SPI0
- endif
- choice
- prompt "Select SPI1 function mode"
- config BSP_USING_SPI1_NONE
- bool "NONE"
- help
- Choose this option if you need not SPI1.
- config BSP_USING_SPI1
- bool "Enable SPI1"
- help
- Choose this option if you need SPI function mode.
- config BSP_USING_SPII2S1
- select RT_USING_AUDIO
- select BSP_USING_SPII2S
- bool "Enable SPII2S1"
- help
- Choose this option if you need SPII2S function mode.
- endchoice
- if BSP_USING_SPI1
- config BSP_USING_SPI1_PDMA
- bool "Enable PDMA for SPI1"
- select BSP_USING_SPI_PDMA
- depends on BSP_USING_SPI1
- endif
- choice
- prompt "Select SPI2 function mode"
- config BSP_USING_SPI2_NONE
- bool "NONE"
- help
- Choose this option if you need not SPI2.
- config BSP_USING_SPI2
- bool "Enable SPI2"
- help
- Choose this option if you need SPI function mode.
- config BSP_USING_SPII2S2
- select RT_USING_AUDIO
- select BSP_USING_SPII2S
- bool "Enable SPII2S2"
- help
- Choose this option if you need SPII2S function mode.
- endchoice
- if BSP_USING_SPI2
- config BSP_USING_SPI1_PDMA
- bool "Enable PDMA for SPI2"
- select BSP_USING_SPI_PDMA
- depends on BSP_USING_SPI2
- endif
- choice
- prompt "Select SPI3 function mode"
- config BSP_USING_SPI3_NONE
- bool "NONE"
- help
- Choose this option if you need not SPI3.
- config BSP_USING_SPI3
- bool "Enable SPI3"
- help
- Choose this option if you need SPI function mode.
- config BSP_USING_SPII2S3
- select RT_USING_AUDIO
- select BSP_USING_SPII2S
- bool "Enable SPII2S3"
- help
- Choose this option if you need SPII2S function mode.
- endchoice
- if BSP_USING_SPI3
- config BSP_USING_SPI3_PDMA
- bool "Enable PDMA for SPI3"
- select BSP_USING_SPI_PDMA
- depends on BSP_USING_SPI3
- endif
- endif
- menuconfig BSP_USING_I2S
- bool "Enable I2S Controller(I2S)"
- select RT_USING_AUDIO
- if BSP_USING_I2S
- config BSP_USING_I2S0
- bool "Enable I2S0"
- config BSP_USING_I2S1
- bool "Enable I2S1"
- config NU_I2S_DMA_FIFO_SIZE
- int "DMA Buffer size of capture and playback"
- range 2048 4096
- default 2048
- endif
- menuconfig BSP_USING_QSPI
- bool "Enable Quad Serial Peripheral Interface(QSPI)"
- select RT_USING_SPI
- select RT_USING_QSPI
- select BSP_USING_SPI
- if BSP_USING_QSPI
- config BSP_USING_QSPI_PDMA
- bool
- select BSP_USING_SPI_PDMA
- default n
- config BSP_USING_QSPI0
- bool "Enable QSPI0"
- config BSP_USING_QSPI0_PDMA
- bool "Enable PDMA for QSPI0"
- select BSP_USING_QSPI_PDMA
- depends on BSP_USING_QSPI0
- config BSP_USING_QSPI1
- bool "Enable QSPI1"
- config BSP_USING_QSPI1_PDMA
- bool "Enable PDMA for QSPI1"
- select BSP_USING_QSPI_PDMA
- depends on BSP_USING_QSPI1
- endif
- menuconfig BSP_USING_SCUART
- bool "Enable Smart Card Host Interface - UART(SCUART)"
- if BSP_USING_SCUART
- config BSP_USING_SCUART0
- bool "Enable SCUART0"
- config BSP_USING_SCUART1
- bool "Enable SCUART1"
- endif
- menuconfig BSP_USING_ECAP
- bool "Enable Enhanced Input Capture Timer(ECAP)"
- select RT_USING_INPUT_CAPTURE
- if BSP_USING_ECAP
- config BSP_USING_ECAP0
- select RT_USING_INPUT_CAPTURE
- bool "Enable ECAP0"
- help
- Choose this option if you need ECAP0.
- config BSP_USING_ECAP1
- select RT_USING_INPUT_CAPTURE
- bool "Enable ECAP1"
- help
- Choose this option if you need ECAP1.
- config BSP_USING_ECAP2
- select RT_USING_INPUT_CAPTURE
- bool "Enable ECAP2"
- help
- Choose this option if you need ECAP2.
- endif
- menuconfig BSP_USING_QEI
- bool "Enable Quadrature Encoder Interface(QEI)"
- if BSP_USING_QEI
- config BSP_USING_QEI0
- bool "Enable QEI0"
- select RT_USING_PULSE_ENCODER
- config BSP_USING_QEI1
- bool "Enable QEI1"
- select RT_USING_PULSE_ENCODER
- config BSP_USING_QEI2
- bool "Enable QEI2"
- select RT_USING_PULSE_ENCODER
- endif
- menuconfig BSP_USING_SOFT_I2C
- bool "Enable SOFT I2C"
- if BSP_USING_SOFT_I2C
- config BSP_USING_SOFT_I2C0
- bool "Enable SOFT I2C0"
- select RT_USING_I2C
- select RT_USING_I2C_BITOPS
- default n
- if BSP_USING_SOFT_I2C0
- config BSP_SOFT_I2C0_SCL_PIN
- hex "Specify the pin index of SCL of SOFT I2C0"
- range 0 0xDF
- default 0x19
- config BSP_SOFT_I2C0_SDA_PIN
- hex "Specify the pin index of SDA of SOFT I2C0"
- range 0 0xDF
- default 0x18
- endif
- config BSP_USING_SOFT_I2C1
- bool "Enable SOFT I2C1"
- select RT_USING_I2C
- select RT_USING_I2C_BITOPS
- default n
- if BSP_USING_SOFT_I2C1
- config BSP_SOFT_I2C1_SCL_PIN
- hex "Specify the pin index of SCL of SOFT I2C1"
- range 0 0xDF
- default 0x0B
- config BSP_SOFT_I2C1_SDA_PIN
- hex "Specify the pin index of SDA of SOFT I2C1"
- range 0 0xDF
- default 0x0A
- endif
- endif
- config BSP_USING_DISP
- bool "Enable Display"
- depends on !USE_MA35D1_SUBM
- default y
- if BSP_USING_DISP
- choice
- prompt "Select Supported LCM panel"
- default LCM_USING_FW070TFT_WSVGA
- config LCM_USING_FW070TFT_WSVGA
- bool "eDispLcd_1024x600(1024x600-RGB888)"
- config LCM_USING_FW070TFT_WVGA
- bool "eDispLcd_800x480(800x480-RGB888)"
- config LCM_USING_FHD
- bool "eDispLcd_1920x1080(1920x1080-RGB888)"
- endchoice
- config DISP_USING_LCD_IDX
- int
- default 0 if LCM_USING_FW070TFT_WSVGA
- default 1 if LCM_USING_FW070TFT_WVGA
- default 2 if LCM_USING_FHD
- config BSP_LCD_BPP
- int
- default 32 if LCM_USING_FW070TFT_WSVGA
- default 32 if LCM_USING_FW070TFT_WVGA
- default 32 if LCM_USING_FHD
- config BSP_LCD_WIDTH
- int
- default 1024 if LCM_USING_FW070TFT_WSVGA
- default 800 if LCM_USING_FW070TFT_WVGA
- default 1920 if LCM_USING_FHD
- config BSP_LCD_HEIGHT
- int
- default 600 if LCM_USING_FW070TFT_WSVGA
- default 480 if LCM_USING_FW070TFT_WVGA
- default 1080 if LCM_USING_FHD
- config DISP_USING_OVERLAY
- bool "Enable Overlay layer"
- default n
- endif
- config BSP_USING_WDT
- bool "Enable Watchdog Timer(WDT)"
- select RT_USING_WDT
- default y
- if BSP_USING_WDT
- config BSP_USING_WDT0
- bool "Enable WDT0"
- select RT_USING_WATCHDOG
- depends on !USE_MA35D1_SUBM
- default n
- config BSP_USING_WDT1
- bool "Enable WDT1"
- select RT_USING_WATCHDOG
- depends on !USE_MA35D1_SUBM
- default n
- config BSP_USING_WDT2
- bool "Enable WDT2"
- select RT_USING_WATCHDOG
- default n
- endif
- config BSP_USING_HWSEM
- bool "Enable Hardware semaphore(HWSEM)"
- default y
- if BSP_USING_HWSEM
- config BSP_USING_HWSEM0
- bool "Enable HWSEM0"
- default y
- endif
- config BSP_USING_WHC
- bool "Enable Wormhole(WHC)"
- default y
- if BSP_USING_WHC
- config BSP_USING_WHC0
- bool "Enable WHC0"
- default y
- config BSP_USING_WHC1
- bool "Enable WHC1"
- depends on !USE_MA35D1_SUBM
- default n
- endif
- config BSP_USING_NFI
- bool "Enable Raw NAND flash Interface(NFI)"
- depends on !USE_MA35D1_SUBM
- default y
- config BSP_USING_EBI
- bool "Enable External Bus Interface(EBI)"
- default n
- config BSP_USING_USBH
- bool "Enable USB Host Controller(USBH)"
- select RT_USING_USB_HOST
- select RT_USBH_MSTORAGE
- depends on !USE_MA35D1_SUBM
- if BSP_USING_USBH
- config BSP_USING_HSUSBH0
- bool "Enable HSUSBH0"
- default y
- config BSP_USING_HSUSBH1
- bool "Enable HSUSBH1"
- default y
- endif
|