diff --git a/configs/sama5d3x-ek/README.txt b/configs/sama5d3x-ek/README.txt index c62673ea3b..de72046fdf 100644 --- a/configs/sama5d3x-ek/README.txt +++ b/configs/sama5d3x-ek/README.txt @@ -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. diff --git a/configs/sama5d3x-ek/src/Makefile b/configs/sama5d3x-ek/src/Makefile index 53d37be295..6d492cb1eb 100644 --- a/configs/sama5d3x-ek/src/Makefile +++ b/configs/sama5d3x-ek/src/Makefile @@ -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