Add comment and reformat.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 5 Nov 2010 14:00:48 +0000 (14:00 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 5 Nov 2010 14:00:48 +0000 (14:00 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4514 38d2e660-2303-0410-9eaa-f027e97ec537

boards/sam3n-ek/templates/empty/empty.mk
boards/sam3n-ek/templates/empty/main.c

index 55893f522153f95dfe9e5b70eb6af107747faf92..0b669328a1429f0b2af56aa5b463fc7b9f8638a6 100644 (file)
@@ -79,10 +79,10 @@ empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
 
 # CPU specific flags and options, defined in the CPU definition files.
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
+empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
 empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
 empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3N4__
-empty_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 
+empty_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
 empty_PROGRAMMER_CPU = sam3
 empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
 empty_CPU = cortex-m3
index 71520bd180f78c7aab0dd2905897616cf48a3e22..698992fee2962843f29b5cd5cba8ece32ee6a573 100644 (file)
@@ -41,6 +41,8 @@
 #include "hw/hw_led.h"
 #include "hw/hw_lcd.h"
 
+#include <cfg/debug.h>
+
 #include <cpu/irq.h>
 #include <cpu/arm/drv/spi_dma_at91.h>
 
@@ -85,6 +87,7 @@ static void init(void)
 
 int main(void)
 {
+       /* Hardware initialization */
        init();