From 98e58c60f614a58ec9e8d6df1437efe603034dfa Mon Sep 17 00:00:00 2001 From: nand2mario Date: Fri, 4 Oct 2024 18:20:49 +0800 Subject: [PATCH] update build script --- build.tcl | 2 +- nano20k.tcl | 13 ------------- primer25k.tcl | 17 ----------------- 3 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 nano20k.tcl delete mode 100644 primer25k.tcl diff --git a/build.tcl b/build.tcl index cba6264..4516eac 100644 --- a/build.tcl +++ b/build.tcl @@ -1,5 +1,5 @@ if {$argc == 0} { - puts "Usage: $argv0 []" + puts "Usage: $argv0 " puts " device: nano20k, primer25k" puts " controller: snes, ds2" puts "Note: nano20k supports both controllers simultaneously, so build with just: gw_sh build.tcl nano20k" diff --git a/nano20k.tcl b/nano20k.tcl deleted file mode 100644 index 2bf4b37..0000000 --- a/nano20k.tcl +++ /dev/null @@ -1,13 +0,0 @@ - -set dev "nano20k" - -add_file src/tang_nano_20k/config.sv -add_file src/tang_nano_20k/gowin_pll_hdmi.v -add_file src/tang_nano_20k/gowin_pll_nes.v -# add_file src/tang_nano_20k/gowin_pll_usb.v -add_file -type cst "src/tang_nano_20k/nestang.cst" -add_file -type sdc "src/tang_nano_20k/nestang.sdc" - -set_option -use_sspi_as_gpio 1 - -source build.tcl diff --git a/primer25k.tcl b/primer25k.tcl deleted file mode 100644 index 9658779..0000000 --- a/primer25k.tcl +++ /dev/null @@ -1,17 +0,0 @@ - -set dev "primer25k" -add_file src/tang_primer_25k/config.sv -add_file src/tang_primer_25k/gowin_pll_27.v -add_file src/tang_primer_25k/gowin_pll_hdmi.v -add_file src/tang_primer_25k/gowin_pll_nes.v -# add_file src/tang_primer_25k/gowin_pll_usb.v -add_file -type cst "src/tang_primer_25k/nestang.cst" -add_file -type sdc "src/tang_primer_25k/nestang.sdc" - -set_option -use_ready_as_gpio 1 -set_option -use_done_as_gpio 1 -set_option -use_i2c_as_gpio 1 -set_option -use_cpu_as_gpio 1 -set_option -multi_boot 1 - -source build.tcl \ No newline at end of file