OSDN Git Service

124b2b87305be0e279e71753753f869c6ebd66ce
[fast-forth/master.git] / config / msp430 / Error
1 #!/bin/bash 
2 @GOTO %1
3
4 :DownloadErrorF
5 @call :before0
6 @call :before
7 @echo how to download a generic file.f to your target
8 @echo -----------------------------------------------
9 @echo       1- clic on your file.f,
10 @echo       2- ctrl+clic on your selected target.pat file, for example MSP_EXP430FR5994.pat
11 @echo       3- then drag and drop your file.f onto %2
12 @echo               the generic file.f is sent so to the preprocessor gema.exe which products a specific file.4th
13 @echo               which is itself downloaded onto target
14 @echo.
15 @pause
16 exit
17
18 :DownloadError4th
19 @call :before0
20 @call :before
21 @echo how to download a file.4th to your target
22 @echo -----------------------------------------
23 @echo       drag and drop your file.4th onto %2
24 @echo.
25 @pause
26 exit
27
28 :CopyErrorF
29 @call :before0
30 @call :before
31 @echo how to copy a generic file.f to your SD_CARD target
32 @echo ---------------------------------------------------
33 @echo       and a formatted FAT16/32 SD_CARD is in it's slot... 
34 @echo       1- clic on your file.f,
35 @echo       2- ctrl+clic on your selected target.pat file, for example MSP_EXP430FR5994.pat
36 @echo       3- release ctrl+clic
37 @echo       4- then drag and drop your file.f onto %2
38 @echo               the generic file.f is sent so to the preprocessor gema.exe which products a specific file.4th
39 @echo               which is itself copied onto SD_CARD target
40 @echo.
41 @pause
42 exit
43
44 :CopyError4th
45 @call :before0
46 @call :before
47 @echo how to copy a file.4th to the SD_CARD target
48 @echo --------------------------------------------
49 @echo       and a formatted FAT16/32 SD_CARD is in it's slot... 
50 @echo       drag and drop your file.4th onto %2
51 @echo.
52 @pause
53 exit
54
55 :ConvertError
56 @call :before0
57 @echo how to convert a generic file.f to a target specific file.4th
58 @echo -------------------------------------------------------------
59 @echo       1- clic on a file.f,
60 @echo       2- ctrl+clic on your selected target.pat file, for example MSP_EXP430FR5994.pat
61 @echo       3- release ctrl+clic
62 @echo       4- then drag and drop your file.f onto %2
63 @echo             the generic file.f is sent so to the preprocessor gema.exe which products a specific file.4th
64 @echo.
65 @pause
66 exit
67
68 :DownloadError
69 @call :before0
70 @call :before
71 @echo how to download a generic file.f to your target
72 @echo -----------------------------------------------
73 @echo       1- clic on your file.f,
74 @echo       2- ctrl+clic on your selected target.pat file, for example MSP_EXP430FR5994.pat
75 @echo       3- release ctrl+clic
76 @echo       4- then drag and drop your file.f onto %2
77 @echo               the generic file.f is sent so to the preprocessor gema.exe which products a specific file.4th
78 @echo               which is itself downloaded onto target
79 @echo.
80 @echo how to download a file.4th to your target
81 @echo -----------------------------------------
82 @echo       drag and drop your file.4th onto %2
83 @echo.
84 @pause
85 exit
86
87
88 :COPYError
89 @call :before0
90 @call :before
91 @echo how to copy a generic file.f to your SD_CARD target
92 @echo ---------------------------------------------------
93 @echo       and a formatted FAT16/32 SD_CARD is in it's slot... 
94 @echo       1- clic on your file.f,
95 @echo       2- ctrl+clic on your selected target.pat file, for example MSP_EXP430FR5994.pat
96 @echo       3- release ctrl+clic
97 @echo       4- then drag and drop your file.f onto %2
98 @echo               the generic file.f is sent so to the preprocessor gema.exe which products a specific file.4th
99 @echo               which is itself copied onto SD_CARD target
100 @echo.
101 @echo how to download a file.4th to your target
102 @echo -----------------------------------------
103 @echo       drag and drop your file.4th onto %2
104 @echo.
105 @pause
106 exit
107
108
109 :before0
110 @echo you have downloaded your copy of gitlab fast forth onto a folder shared and connected as virtual drive (A: or B: ...)
111 @echo     so config files.pat for the preprocessor gema.exe are in the folder \config\gema\
112 @echo     and batch file are in the folder \config\scite\msp430_as\
113 @echo you have installed the last version of teraterm,
114 @echo you have installed the last version of gema.exe in the folder \prog\gema\.
115 @echo.
116 @echo edit properties of these three links SendSourceFileToTarget.bat, CopySourceFileToTarget_SD_Card.bat and
117 @echo PreprocessSourceFile.f.bat to change the drive letter B: as yours.
118 @echo.
119 @exit /B
120
121 :before
122 @echo before sending a file
123 @echo ---------------------
124 @echo     teraterm must be well configured, and its config must be saved,
125 @echo     so you must see the FAST FORTH prompt "ok" when you type "return" on the teraterm terminal.
126 @echo.
127 @exit /B