zephyr/drivers/can/Kconfig.sam0
Kamil Serwus 632704e04b sam: can: CAN driver for SAM0 socs
Driver was based on can_sam. SAMC21 has only 1 interrupt for one
can "output", so can interrupt has to executes two lines of
interrupts.
CAN is configured to use OSC48M clock via GLCK7. GLCK7 is set
by divider configured from dts.

Signed-off-by: Kamil Serwus <kserwus@gmail.com>
2023-05-22 08:03:58 +00:00

10 lines
221 B
Plaintext

# SAM CAN configuration options
# Copyright (c) 2022 Kamil Serwus
# SPDX-License-Identifier: Apache-2.0
config CAN_SAM0
bool "Atmel SAM0 CAN driver"
default y
depends on DT_HAS_ATMEL_SAM0_CAN_ENABLED
select CAN_MCAN