aboutsummaryrefslogtreecommitdiff
path: root/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-12-20 22:42:17 +0900
committerjaseg <git@jaseg.net>2018-12-20 22:42:17 +0900
commit132fd4f9c0184be033533953cc2c7ae92da311d9 (patch)
tree634c961de6168237d915e459c53fb6d5f1aed8b3 /fw/Makefile
parent90038f4378b7cdbe98e32ed1e5e3055dbe4776f2 (diff)
download8seg-132fd4f9c0184be033533953cc2c7ae92da311d9.tar.gz
8seg-132fd4f9c0184be033533953cc2c7ae92da311d9.tar.bz2
8seg-132fd4f9c0184be033533953cc2c7ae92da311d9.zip
8b10b encoder and decoder working
Tested on all 24-bit inputs after sync and on ~500M of random input with and without intermediate sync
Diffstat (limited to 'fw/Makefile')
-rw-r--r--fw/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/fw/Makefile b/fw/Makefile
index 1098717..b779789 100644
--- a/fw/Makefile
+++ b/fw/Makefile
@@ -86,7 +86,10 @@ main.elf: main.o startup_stm32f030x6.o system_stm32f0xx.o $(HAL_PATH)/Src/stm32f
program: main.elf openocd.cfg
openocd -f openocd.cfg -c "program $< verify reset exit"
-8b10b_test: 8b10b_test.c 8b10b.c
+8b10b_test_encode: 8b10b_test_encode.c 8b10b.c
+ gcc -o $@ $^
+
+8b10b_test_decode: 8b10b_test_decode.c 8b10b.c
gcc -o $@ $^
clean: