diff options
Diffstat (limited to 'nmigen_boards/tinyfpga_bx.py')
| -rw-r--r-- | nmigen_boards/tinyfpga_bx.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nmigen_boards/tinyfpga_bx.py b/nmigen_boards/tinyfpga_bx.py index 087f6d9..3793a58 100644 --- a/nmigen_boards/tinyfpga_bx.py +++ b/nmigen_boards/tinyfpga_bx.py @@ -61,3 +61,8 @@ class TinyFPGABXPlatform(LatticeICE40Platform): tinyprog = os.environ.get("TINYPROG", "tinyprog") with products.extract("{}.bin".format(name)) as bitstream_filename: subprocess.run([tinyprog, "-p", bitstream_filename], check=True) + + +if __name__ == "__main__": + from ._blinky import build_and_program + build_and_program(TinyFPGABXPlatform) |
