mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-30 16:30:04 -04:00
fixed a bug in the ATMISP chn generator
This commit is contained in:
parent
75d28d663e
commit
fbd4023f18
@ -6,6 +6,8 @@ import de.neemann.digital.gui.Main;
|
|||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* CreateCHN creates the chn file which can be opened by ATMISP to flash the JEDEC to the ATM1502.
|
||||||
|
* So it is not necessary to setup a ATMISP project manually.
|
||||||
* Created by hneemann on 10.03.17.
|
* Created by hneemann on 10.03.17.
|
||||||
*/
|
*/
|
||||||
public class CreateCHN implements ExpressionToFileExporter.PostProcess {
|
public class CreateCHN implements ExpressionToFileExporter.PostProcess {
|
||||||
@ -20,7 +22,8 @@ public class CreateCHN implements ExpressionToFileExporter.PostProcess {
|
|||||||
+ "ATF1502AS\r\n"
|
+ "ATF1502AS\r\n"
|
||||||
+ "10\r\n"
|
+ "10\r\n"
|
||||||
+ "1\r\n");
|
+ "1\r\n");
|
||||||
chn.write(chnFile.getPath());
|
chn.write(file.getPath());
|
||||||
|
chn.write("\r\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
return chnFile;
|
return chnFile;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user