SAMA5 CAN: Add board-specific initialization logic
This commit is contained in:
parent
8bf37a6188
commit
a3e49b5f06
@ -705,7 +705,7 @@ CAN Usage
|
|||||||
|
|
||||||
Only messages that have IDs that match the CONFIG_SAMA5_CANn_ADDRn when both
|
Only messages that have IDs that match the CONFIG_SAMA5_CANn_ADDRn when both
|
||||||
the received and the configured address are masked by CONFIG_SAMA5_CANn_MASKn
|
the received and the configured address are masked by CONFIG_SAMA5_CANn_MASKn
|
||||||
will be accepted. For eacmple, if the mask is all ones, then only messasges
|
will be accepted. For example, if the mask is all ones, then only messasges
|
||||||
with exact address matches will be accepted; if the mask is all zeroes than
|
with exact address matches will be accepted; if the mask is all zeroes than
|
||||||
any address will be accepted.
|
any address will be accepted.
|
||||||
|
|
||||||
|
@ -110,6 +110,10 @@ ifeq ($(CONFIG_ADC),y)
|
|||||||
CSRCS += sam_adc.c
|
CSRCS += sam_adc.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_CAN),y)
|
||||||
|
CSRCS += sam_can.c
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_USBMSC),y)
|
ifeq ($(CONFIG_USBMSC),y)
|
||||||
CSRCS += sam_usbmsc.c
|
CSRCS += sam_usbmsc.c
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user