Add adc to example.
[bertos.git] / boards / sam3x-ek / examples / display / display.mk
index 4cb1a03ea5f6d6e6fdf3e60da9ef62d89a80a217..d114592670e9a9232cae19a54f7083f20edff7f7 100644 (file)
@@ -26,6 +26,8 @@ display_WIZARD_CSRC = \
        bertos/gfx/text.c \
        bertos/cpu/cortex-m3/drv/timer_cm3.c \
        bertos/drv/timer.c \
+       bertos/drv/adc.c \
+       bertos/cpu/cortex-m3/drv/adc_sam3.c \
        bertos/mware/formatwr.c \
        bertos/mware/sprintf.c \
        bertos/gfx/line.c \
@@ -84,10 +86,10 @@ display_ASRC = $(display_CPU_ASRC) $(display_WIZARD_ASRC) $(display_USER_ASRC)
 
 # CPU specific flags and options, defined in the CPU definition files.
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-display_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
+display_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
 display_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
 display_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
-display_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/clock_sam3.c 
+display_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/clock_sam3.c
 display_PROGRAMMER_CPU = sam3
 display_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
 display_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh