632704e04b
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>
10 lines
221 B
Plaintext
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
|