From 6fd7735f77b9a5d7171b3517293af745c6f04801 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 4 Aug 2019 09:35:14 +0000 Subject: Remove useless _blinky.build_and_program() function. --- nmigen_boards/tinyfpga_bx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nmigen_boards/tinyfpga_bx.py') diff --git a/nmigen_boards/tinyfpga_bx.py b/nmigen_boards/tinyfpga_bx.py index 5e272cb..aefddb7 100644 --- a/nmigen_boards/tinyfpga_bx.py +++ b/nmigen_boards/tinyfpga_bx.py @@ -50,5 +50,5 @@ class TinyFPGABXPlatform(LatticeICE40Platform): if __name__ == "__main__": - from ._blinky import build_and_program - build_and_program(TinyFPGABXPlatform) + from ._blinky import Blinky + TinyFPGABXPlatform().build(Blinky(), do_program=True) -- cgit v1.2.3