SAMA5 CAN: Add board-specific initialization logic

This commit is contained in:
Gregory Nutt 2013-11-03 10:03:52 -06:00
parent bfdee0f0c7
commit 93aae8c2c5
3 changed files with 8 additions and 1 deletions

View File

@ -5954,3 +5954,6 @@
completion after and address with data write and on any data
write so that the device is complete before WRDI is sent. From
David Sidrane (2013-11-2).
* configs/sama5/src/sam_can.c: Add CAN initialization logic
(2013-11-3).

View File

@ -705,7 +705,7 @@ CAN Usage
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
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
any address will be accepted.

View File

@ -110,6 +110,10 @@ ifeq ($(CONFIG_ADC),y)
CSRCS += sam_adc.c
endif
ifeq ($(CONFIG_CAN),y)
CSRCS += sam_can.c
endif
ifeq ($(CONFIG_USBMSC),y)
CSRCS += sam_usbmsc.c
endif