diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-10 19:37:35 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-10 19:37:35 -0600 |
commit | 6ed9d8e8b37324daa7b32667af750cc27c5558ee (patch) | |
tree | 67ff4d96d0fcfb20ade7482c85db6ab4e6262ef8 | |
parent | fee8b0cf208ee8973f062b8b258918d18a15a378 (diff) | |
download | nuttx-6ed9d8e8b37324daa7b32667af750cc27c5558ee.tar.gz nuttx-6ed9d8e8b37324daa7b32667af750cc27c5558ee.tar.bz2 nuttx-6ed9d8e8b37324daa7b32667af750cc27c5558ee.zip |
Add CAN configuration to STM32 config menu
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index fc16be6c3..b1da40c25 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -2587,6 +2587,21 @@ config SDIO_WIDTH_D1_ONLY endmenu +menu "CAN Configuration" + depends on STM32_CAN + +config CAN1_BAUD + int "Baud rate for CAN1" + default 250000 + depends on STM32_CAN1 + +config CAN2_BAUD + int "Baud rate for CAN2" + default 250000 + depends on STM32_CAN2 + +endmenu + if STM32_ETHMAC menu "Ethernet MAC configuration" @@ -2868,4 +2883,3 @@ config STM32_USB_ITRMP either retain the legacy F1 behavior or to map the USB interupts to there own dedicated vectors. The option is available only for the F3 family and selects the use of the dedicated USB interrupts. - |