7847c5e98d
* Microchip SAM MCU BSP update and add ethernet driver 1. Update Microchip SAM MCU BSP, add I2C, GMAC, ADC driver support. 2. Add ethernet driver support of SAM MCU for RT-Thread. * Add GMAC and I2C driver support 1. Update MCU BSP to support I2C/ADC/GMAC peripherals. 2. Add I2C and ethernet driver and LWIP support. 3. Update serial driver. * Add I2C driver and move some files to the common folder 1. Add I2C driver. 2. Move the same drivers and demo code to same folder to reduce duplicated code.
73 lines
1.4 KiB
Plaintext
73 lines
1.4 KiB
Plaintext
menu "Hardware Drivers Config"
|
|
|
|
choice
|
|
prompt "select chip type"
|
|
default SOC_SAME70Q21
|
|
|
|
config SOC_SAME70Q21
|
|
bool "SOC_SAME70Q21"
|
|
help
|
|
Refer to SAME70 DataSheet
|
|
|
|
config SOC_SAME70N21
|
|
bool "SOC_SAME70N21"
|
|
help
|
|
Refer to SAME70 DataSheet
|
|
|
|
config SOC_SAME70J21
|
|
bool "SOC_SAME70J21"
|
|
help
|
|
Refer to SAME70 DataSheet
|
|
|
|
endchoice
|
|
endmenu
|
|
|
|
menu "Onboard Peripheral Drivers"
|
|
config SAME70_CAN0
|
|
bool "Enable CAN0"
|
|
default false
|
|
|
|
config SAME70_ADC0
|
|
bool "Enable ADC0"
|
|
default false
|
|
|
|
config SAME70_I2C0
|
|
bool "Enable I2C0"
|
|
default false
|
|
|
|
config SAME70_GMAC
|
|
bool "Enable GMAC"
|
|
default false
|
|
endmenu
|
|
|
|
menu "Application Demo Config"
|
|
config SAM_CAN_EXAMPLE
|
|
bool "Enable SAM CAN Example"
|
|
depends on SAME70_CAN0
|
|
default true
|
|
help
|
|
Add CAN example task to project
|
|
|
|
config SAM_ADC_EXAMPLE
|
|
bool "Enable SAM ADC Example"
|
|
depends on SAME70_ADC0
|
|
default true
|
|
help
|
|
Add ADC example task to project
|
|
|
|
config SAM_I2C_EXAMPLE
|
|
bool "Enable SAM I2C Example"
|
|
depends on SAME70_I2C0
|
|
default true
|
|
help
|
|
Add I2C example task to project
|
|
|
|
config SAM_LWIP_EXAMPLE
|
|
bool "Enable SAM LWIP Example"
|
|
depends on SAME70_GMAC
|
|
default false
|
|
help
|
|
Add GMAC LWIP example task to project
|
|
|
|
endmenu
|