zephyr/drivers/can/Kconfig.stm32
Ulf Magnusson 27b9c05d4d drivers: can: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

23 lines
495 B
Plaintext

# Kconfig.stm32 - STM32 CAN configuration options
#
# Copyright (c) 2018 Alexander Wachter
#
# SPDX-License-Identifier: Apache-2.0
#
config CAN_STM32
bool "STM32 CAN Driver"
select USE_STM32_HAL_CAN
help
Enable STM32 CAN Driver (tested on stm32F0 series)
config CAN_MAX_FILTER
int "Maximum number of concurrent active filters"
depends on CAN_STM32
default 5
range 1 56
help
Defines the array size of the callback/msgq pointers.
Must be at least the size of concurrent reads.