From 4d89a261f8956d178e787d1b39adcc0d33a848ab Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 23 Sep 2020 09:26:19 -0700 Subject: [PATCH] Make ssop-16 package match ft230 datasheet This required adding optional package width/height fields to ssop.5c and then setting all of the parameters for ssop-16 in the makefile Signed-off-by: Keith Packard --- packages/Makefile | 2 +- packages/ssop.5c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/Makefile b/packages/Makefile index 12f76d8..c1e5745 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -173,7 +173,7 @@ clean: $(CLEANDIRS) for i in $@ $(FOOTPRINTS); do echo $$i; done > $@ ssop-16.fp: ssop.5c - nickle ssop.5c 16 3.85 > $@ + nickle ssop.5c 16 3.9116 1.70 0.35 0.635 4.9022 3.9116 > $@ ssop-28.fp: ssop.5c nickle ssop.5c 28 > $@ diff --git a/packages/ssop.5c b/packages/ssop.5c index 0a4f269..0fd4d07 100644 --- a/packages/ssop.5c +++ b/packages/ssop.5c @@ -30,6 +30,12 @@ real package_width = (num_pad - 1) * pad_spacing + 1.75; real package_height = center_gap - 0.15; +if (dim(argv) > 6) + package_width = string_to_real(argv[6]); + +if (dim(argv) > 7) + package_height = string_to_real(argv[7]); + real pad_y_off = center_gap / 2 + pad_height / 2; element_start(name); -- 2.30.2