Add flashing interface variables.
author(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Aug 2009 12:59:21 +0000 (12:59 +0000)
committer(no author) <(no author)@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Aug 2009 12:59:21 +0000 (12:59 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2795 38d2e660-2303-0410-9eaa-f027e97ec537

examples/at91sam7/at91sam7s.mk
examples/at91sam7/at91sam7x.mk
examples/triface/triface.mk
wizard/mktemplates/template.mk

index 3dc9b6b6bbff894386a4061e559a0b53639e19e0..406eece896f5dca0d464049791e776e607f16483 100644 (file)
@@ -47,4 +47,5 @@ at91sam7s_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld
 at91sam7s_CPU = arm7tdmi
 
 at91sam7s_PROGRAMMER_CPU = at91sam7
+at91sam7s_PROGRAMMER_TYPE = jtag-tiny
 at91sam7s_FLASH_SCRIPT = bertos/cpu/arm/scripts/flash.sh
index 63081d04846b13a34e74038400dc4671c9fabd09..2017977e6299eb98abc9340591e8235299b5744f 100644 (file)
@@ -47,4 +47,5 @@ at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld
 at91sam7x_CPU = arm7tdmi
 
 at91sam7x_PROGRAMMER_CPU = at91sam7
+at91sam7x_PROGRAMMER_TYPE = jtag-tiny
 at91sam7x_FLASH_SCRIPT = bertos/cpu/arm/scripts/flash.sh
index 6061be8ce1d2460b3d0a1a27b9761b1e4b1095b1..1ab3968183fa1ea4413574c9dc721e9e140e89f9 100644 (file)
@@ -59,6 +59,8 @@ triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)'  -D'WIZ_A
 triface_LDFLAGS = -Wl
 
 triface_PROGRAMMER_CPU = atmega1281
+triface_PROGRAMMER_TYPE = stk500v2
+triface_PROGRAMMER_PORT = /dev/ttyS1
 triface_FLASH_SCRIPT = bertos/cpu/avr/scripts/flash.sh
 
 # Set to 1 for debug builds
@@ -89,4 +91,6 @@ boot_LDFLAGS = -Wl,--relax -Wl,--section-start=.text=$(BOOT_ADDR_START)
 
 
 boot_PROGRAMMER_CPU = atmega1281
+boot_PROGRAMMER_TYPE = stk500v2
+boot_PROGRAMMER_PORT = /dev/ttyS1
 boot_FLASH_SCRIPT = bertos/cpu/avr/scripts/flash.sh
index fc81e51cab88b90f681281751a0372e58709706a..155b8f95b4d3acd14b515d2592440d8b113fb90f 100644 (file)
@@ -16,34 +16,40 @@ $pname_USER_CSRC = \
        $main \
        #
 
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-$pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
-
 # Files included by the user.
 $pname_USER_PCSRC = \
        #
 
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-$pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
-
 # Files included by the user.
 $pname_USER_CPPASRC = \
        #
 
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-$pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
-
 # Files included by the user.
 $pname_USER_CXXSRC = \
        #
 
-# Automatically generated by the wizard. PLEASE DO NOT EDIT!
-$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC)
-
 # Files included by the user.
 $pname_USER_ASRC = \
        #
 
+# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
+$pname_PROGRAMMER_TYPE = none
+$pname_PROGRAMMER_PORT = none
+
+####### End of configurable section, do not edit the lines below! #######
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CSRC = $($pname_WIZARD_CSRC) $($pname_USER_CSRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_PCSRC = $($pname_WIZARD_PCSRC) $($pname_USER_PCSRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CPPASRC = $($pname_WIZARD_CPPASRC) $($pname_USER_CPPASRC)
+
+# Automatically generated by the wizard. PLEASE DO NOT EDIT!
+$pname_CXXSRC = $($pname_WIZARD_CXXSRC) $($pname_USER_CXXSRC)
+
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
 $pname_ASRC = $($pname_WIZARD_ASRC) $($pname_USER_ASRC)