6 :: called by PreprocessSourceFile.bat, SendSourceFileToTarget.bat and CopySourceFileToTarget_SD_Card.bat
7 :: just before calling Preprocess.bat, SendSource.bat and CopyToTarget_SD_Card.bat
9 ::%1 = "SelectTemplate"
12 @echo select your target:
13 @echo 1 MSP_EXP430FR5739
14 @echo 2 MSP_EXP430FR5969
15 @echo 3 MSP_EXP430FR5994
16 @echo 4 MSP_EXP430FR6989
17 @echo 5 MSP_EXP430FR4133
18 @echo 6 MSP_EXP430FR2433
19 @echo 7 CHIPSTICK_FR2433
20 @echo 8 MSP_EXP430FR2355
21 @echo 9 LP_MSP430FR2476
22 @set /p choice=your choice:
24 @if %choice% == 1 set target=MSP_EXP430FR5739
25 @if %choice% == 2 set target=MSP_EXP430FR5969
26 @if %choice% == 3 set target=MSP_EXP430FR5994
27 @if %choice% == 4 set target=MSP_EXP430FR6989
28 @if %choice% == 5 set target=MSP_EXP430FR4133
29 @if %choice% == 6 set target=MSP_EXP430FR2433
30 @if %choice% == 7 set target=CHIPSTICK_FR2433
31 @if %choice% == 8 set target=MSP_EXP430FR2355
32 @if %choice% == 9 set target=LP_MSP430FR2476
37 :: fonction called by FET_prog.bat and preprocess.bat with variable %target%
38 @if /I %target:~0,16% == MSP_EXP430FR5739 set device=MSP430FR5739
39 @if /I %target:~0,16% == MSP_EXP430FR5969 set device=MSP430FR5969
40 @if /I %target:~0,16% == MSP_EXP430FR5994 set device=MSP430FR5994
41 @if /I %target:~0,16% == MSP_EXP430FR6989 set device=MSP430FR6989
42 @if /I %target:~0,16% == MSP_EXP430FR4133 set device=MSP430FR4133
43 @if /I %target:~0,16% == MSP_EXP430FR2433 set device=MSP430FR2433
44 @if /I %target:~0,16% == CHIPSTICK_FR2433 set device=MSP430FR2433
45 @if /I %target:~0,16% == MSP_EXP430FR2355 set device=MSP430FR2355
46 @if /I %target:~0,15% == LP_MSP430FR2476 set device=MSP430FR2476
52 :: fonction called by SendSource.bat
56 @if /I %target:~0,16% == MSP_EXP430FR5739 set deviceid=$8103
57 @if /I %target:~0,16% == MSP_EXP430FR5969 set deviceid=$8169
58 @if /I %target:~0,16% == MSP_EXP430FR5994 set deviceid=$82A1
59 @if /I %target:~0,16% == MSP_EXP430FR6989 set deviceid=$81A8
60 @if /I %target:~0,16% == MSP_EXP430FR4133 set deviceid=$81F0
61 @if /I %target:~0,16% == MSP_EXP430FR2433 set deviceid=$8240
62 @if /I %target:~0,16% == CHIPSTICK_FR2433 set deviceid=$8240
63 @if /I %target:~0,16% == MSP_EXP430FR2355 set deviceid=$830C
64 @if /I %target:~0,15% == LP_MSP430FR2476 set deviceid=$832A
74 :: fonction called by BSL_prog.bat
75 @set /p number=select your Port: COM
76 @set PortCOM=COM%number%
82 @echo select your bridge:
85 @set /p choice=your choice:
87 @if %choice% == 1 set bridge="C/ ECHO"
88 @if %choice% == 2 set bridge="FastForth:3000 HALF"