Typos.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 Jan 2012 10:34:22 +0000 (10:34 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 Jan 2012 10:34:22 +0000 (10:34 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5200 38d2e660-2303-0410-9eaa-f027e97ec537

boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel.mk [new file with mode: 0644]
boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel_user.mk [new file with mode: 0644]
boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel.mk [deleted file]
boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel_user.mk [deleted file]

diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel.mk b/boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel.mk
new file mode 100644 (file)
index 0000000..a14ab4b
--- /dev/null
@@ -0,0 +1,93 @@
+#
+# Wizard autogenerated makefile.
+# DO NOT EDIT, use the kernel_user.mk file instead.
+#
+
+# Constants automatically defined by the selected modules
+kernel_DEBUG = 1
+
+# Our target application
+TRG += kernel
+
+kernel_PREFIX = "arm-none-eabi-"
+
+kernel_SUFFIX = ""
+
+kernel_SRC_PATH = boards/stm32-p103/templates/kernel
+
+kernel_HW_PATH = boards/stm32-p103
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CSRC INSTEAD!
+kernel_WIZARD_CSRC = \
+       bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
+       bertos/mware/event.c \
+       bertos/kern/sem.c \
+       bertos/cpu/cortex-m3/drv/timer_cm3.c \
+       bertos/struct/heap.c \
+       bertos/kern/monitor.c \
+       bertos/drv/timer.c \
+       bertos/io/kfile.c \
+       bertos/kern/proc.c \
+       bertos/mware/formatwr.c \
+       bertos/mware/hex.c \
+       bertos/kern/signal.c \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_PCSRC INSTEAD!
+kernel_WIZARD_PCSRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CPPASRC INSTEAD!
+kernel_WIZARD_CPPASRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CXXSRC INSTEAD!
+kernel_WIZARD_CXXSRC = \
+        \
+       #
+
+# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_ASRC INSTEAD!
+kernel_WIZARD_ASRC = \
+        \
+       #
+
+kernel_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(kernel_HW_PATH) -I$(kernel_SRC_PATH) $(kernel_CPU_CPPFLAGS) $(kernel_USER_CPPFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_LDFLAGS = $(kernel_CPU_LDFLAGS) $(kernel_WIZARD_LDFLAGS) $(kernel_USER_LDFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_CPPAFLAGS = $(kernel_CPU_CPPAFLAGS) $(kernel_WIZARD_CPPAFLAGS) $(kernel_USER_CPPAFLAGS)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_CSRC = $(kernel_CPU_CSRC) $(kernel_WIZARD_CSRC) $(kernel_USER_CSRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_PCSRC = $(kernel_CPU_PCSRC) $(kernel_WIZARD_PCSRC) $(kernel_USER_PCSRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_CPPASRC = $(kernel_CPU_CPPASRC) $(kernel_WIZARD_CPPASRC) $(kernel_USER_CPPASRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_CXXSRC = $(kernel_CPU_CXXSRC) $(kernel_WIZARD_CXXSRC) $(kernel_USER_CXXSRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_ASRC = $(kernel_CPU_ASRC) $(kernel_WIZARD_ASRC) $(kernel_USER_ASRC)
+
+# CPU specific flags and options, defined in the CPU definition files.
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+kernel_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
+kernel_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
+kernel_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32P103__
+kernel_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/gpio_stm32.c bertos/cpu/cortex-m3/drv/clock_stm32.c 
+kernel_PROGRAMMER_CPU = stm32
+kernel_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld
+kernel_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+kernel_CPU = cortex-m3
+kernel_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
+kernel_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
+kernel_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh
+
+include $(kernel_SRC_PATH)/kernel_user.mk
diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel_user.mk b/boards/stm32-p103/templates/stm32-p103_kernel/stm32-p103_kernel_user.mk
new file mode 100644 (file)
index 0000000..6dfb4d8
--- /dev/null
@@ -0,0 +1,43 @@
+#
+# User makefile.
+# Edit this file to change compiler options and related stuff.
+#
+
+# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
+kernel_PROGRAMMER_TYPE = none
+kernel_PROGRAMMER_PORT = none
+
+# Files included by the user.
+kernel_USER_CSRC = \
+       $(kernel_SRC_PATH)/main.c \
+       #
+
+# Files included by the user.
+kernel_USER_PCSRC = \
+       #
+
+# Files included by the user.
+kernel_USER_CPPASRC = \
+       #
+
+# Files included by the user.
+kernel_USER_CXXSRC = \
+       #
+
+# Files included by the user.
+kernel_USER_ASRC = \
+       #
+
+# Flags included by the user.
+kernel_USER_LDFLAGS = \
+       #
+
+# Flags included by the user.
+kernel_USER_CPPAFLAGS = \
+       #
+
+# Flags included by the user.
+kernel_USER_CPPFLAGS = \
+       -fno-strict-aliasing \
+       -fwrapv \
+       #
diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel.mk b/boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel.mk
deleted file mode 100644 (file)
index a14ab4b..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Wizard autogenerated makefile.
-# DO NOT EDIT, use the kernel_user.mk file instead.
-#
-
-# Constants automatically defined by the selected modules
-kernel_DEBUG = 1
-
-# Our target application
-TRG += kernel
-
-kernel_PREFIX = "arm-none-eabi-"
-
-kernel_SUFFIX = ""
-
-kernel_SRC_PATH = boards/stm32-p103/templates/kernel
-
-kernel_HW_PATH = boards/stm32-p103
-
-# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CSRC INSTEAD!
-kernel_WIZARD_CSRC = \
-       bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
-       bertos/mware/event.c \
-       bertos/kern/sem.c \
-       bertos/cpu/cortex-m3/drv/timer_cm3.c \
-       bertos/struct/heap.c \
-       bertos/kern/monitor.c \
-       bertos/drv/timer.c \
-       bertos/io/kfile.c \
-       bertos/kern/proc.c \
-       bertos/mware/formatwr.c \
-       bertos/mware/hex.c \
-       bertos/kern/signal.c \
-       #
-
-# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_PCSRC INSTEAD!
-kernel_WIZARD_PCSRC = \
-        \
-       #
-
-# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CPPASRC INSTEAD!
-kernel_WIZARD_CPPASRC = \
-        \
-       #
-
-# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_CXXSRC INSTEAD!
-kernel_WIZARD_CXXSRC = \
-        \
-       #
-
-# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_USER_ASRC INSTEAD!
-kernel_WIZARD_ASRC = \
-        \
-       #
-
-kernel_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(kernel_HW_PATH) -I$(kernel_SRC_PATH) $(kernel_CPU_CPPFLAGS) $(kernel_USER_CPPFLAGS)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_LDFLAGS = $(kernel_CPU_LDFLAGS) $(kernel_WIZARD_LDFLAGS) $(kernel_USER_LDFLAGS)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_CPPAFLAGS = $(kernel_CPU_CPPAFLAGS) $(kernel_WIZARD_CPPAFLAGS) $(kernel_USER_CPPAFLAGS)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_CSRC = $(kernel_CPU_CSRC) $(kernel_WIZARD_CSRC) $(kernel_USER_CSRC)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_PCSRC = $(kernel_CPU_PCSRC) $(kernel_WIZARD_PCSRC) $(kernel_USER_PCSRC)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_CPPASRC = $(kernel_CPU_CPPASRC) $(kernel_WIZARD_CPPASRC) $(kernel_USER_CPPASRC)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_CXXSRC = $(kernel_CPU_CXXSRC) $(kernel_WIZARD_CXXSRC) $(kernel_USER_CXXSRC)
-
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_ASRC = $(kernel_CPU_ASRC) $(kernel_WIZARD_ASRC) $(kernel_USER_ASRC)
-
-# CPU specific flags and options, defined in the CPU definition files.
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-kernel_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
-kernel_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
-kernel_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32P103__
-kernel_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/gpio_stm32.c bertos/cpu/cortex-m3/drv/clock_stm32.c 
-kernel_PROGRAMMER_CPU = stm32
-kernel_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld
-kernel_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
-kernel_CPU = cortex-m3
-kernel_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
-kernel_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
-kernel_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh
-
-include $(kernel_SRC_PATH)/kernel_user.mk
diff --git a/boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel_user.mk b/boards/stm32-p103/templates/stm32-p103_kernel/stm32_p103_kernel_user.mk
deleted file mode 100644 (file)
index 6dfb4d8..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# User makefile.
-# Edit this file to change compiler options and related stuff.
-#
-
-# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
-kernel_PROGRAMMER_TYPE = none
-kernel_PROGRAMMER_PORT = none
-
-# Files included by the user.
-kernel_USER_CSRC = \
-       $(kernel_SRC_PATH)/main.c \
-       #
-
-# Files included by the user.
-kernel_USER_PCSRC = \
-       #
-
-# Files included by the user.
-kernel_USER_CPPASRC = \
-       #
-
-# Files included by the user.
-kernel_USER_CXXSRC = \
-       #
-
-# Files included by the user.
-kernel_USER_ASRC = \
-       #
-
-# Flags included by the user.
-kernel_USER_LDFLAGS = \
-       #
-
-# Flags included by the user.
-kernel_USER_CPPAFLAGS = \
-       #
-
-# Flags included by the user.
-kernel_USER_CPPFLAGS = \
-       -fno-strict-aliasing \
-       -fwrapv \
-       #