|
@ -1,5 +1,7 @@ |
|
|
dep_bool_menu "CAN bus support" CAN_SUPPORT y |
|
|
dep_bool_menu "CAN bus support" CAN_SUPPORT y |
|
|
|
|
|
|
|
|
|
|
|
bool 'Use MCU builtin SPI support' SPI_HARDWARE |
|
|
|
|
|
|
|
|
choice 'SPI Port' \ |
|
|
choice 'SPI Port' \ |
|
|
"PORTA 0 \ |
|
|
"PORTA 0 \ |
|
|
PORTB 1 \ |
|
|
PORTB 1 \ |
|
@ -51,7 +53,7 @@ choice 'Bit SS' \ |
|
|
Bit7 7" \ |
|
|
Bit7 7" \ |
|
|
'Bit4' SPI_PIN_SS |
|
|
'Bit4' SPI_PIN_SS |
|
|
|
|
|
|
|
|
bool "Use interrupt" CAN_INTERRUPT |
|
|
dep_bool_menu "Use interrupt" CAN_INTERRUPT y |
|
|
|
|
|
|
|
|
choice 'Interrupt Port' \ |
|
|
choice 'Interrupt Port' \ |
|
|
"PINA PINA \ |
|
|
"PINA PINA \ |
|
@ -72,3 +74,5 @@ choice 'Interrupt Bit' \ |
|
|
'Bit2' SPI_PIN_MCP_INT |
|
|
'Bit2' SPI_PIN_MCP_INT |
|
|
|
|
|
|
|
|
endmenu |
|
|
endmenu |
|
|
|
|
|
|
|
|
|
|
|
endmenu |
|
|