Make ssop-16 package match ft230 datasheet
authorKeith Packard <keithp@keithp.com>
Wed, 23 Sep 2020 16:26:19 +0000 (09:26 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 23 Sep 2020 18:33:43 +0000 (11:33 -0700)
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 <keithp@keithp.com>
packages/Makefile
packages/ssop.5c

index 12f76d8d45b6d77161922546c956fd65fa816114..c1e57459bb03ce0c58c7bc71bf8670070aefc205 100644 (file)
@@ -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 > $@
index 0a4f2696999a53da250835014dc8d934084cb3ed..0fd4d074560b3e2c1d1524b8efba287ead43c4d2 100644 (file)
@@ -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);