diff --git a/kicad-templates/atmega32u4_au_v1.svg b/kicad-templates/atmega32u4_au_v1.svg index 71294c2..31e0988 100644 --- a/kicad-templates/atmega32u4_au_v1.svg +++ b/kicad-templates/atmega32u4_au_v1.svg @@ -7,7 +7,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="61.1632cm" height="19.7612cm" viewBox="0.0000 0.0000 61.1632 19.7612"> -SVG Image created as atmega32u4_au_v1.svg date 2024/07/25 20:07:35 +SVG Image created as atmega32u4_au_v1.svg date 2024/07/25 20:23:31 Image generated by PCBNEW + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - @@ -2216,349 +2231,154 @@ L39.1997 17.3933 - -C5 -C5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -R1 -R1 - - - - - - - - - - - - - - - - - -R3 - -R3 - - - - - - - - - - - - - - - -C2 +C2 + - - - - - - - - - -U1 - -U1 - - - - - - - - - - - - - - -C1 -C1 - - - +Y1 + +Y1 + - - - - - - - -J1 +J1 + - - - - - - - - - -RST -RST -C5 +C5 + - + + + + + + + + + + + + - - - - - - - - - - - - - - - - -C1 +C1 + - - - - - - - - - - - - - - -C4 - -C4 - - - - - - -R1 +R1 + - - - - - - - - - - - - -Y1 - -Y1 - - - - - +U1 + +U1 + - - - -C2 -C2 - - - - - - - - - - - +R3 + +R3 + - - - - - - - - - - - - - - -C3 -C3 - - - - - - - - - -U2 +U2 + - - - - - - - - - - - - - - - - - - -U2 -U2 - - - +C4 + +C4 + - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + +RST +RST + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +C3 +C3 + + + + + + + + + + + + + + - - - - - - - - - - - - - - -J1 -J1 - + - - - - - - - - - - - - - + + + - - @@ -3443,17 +3491,52 @@ Z" /> - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/kle2netlist/circuits/atmega32u4.py b/src/kle2netlist/circuits/atmega32u4.py index 336d95d..534d23a 100644 --- a/src/kle2netlist/circuits/atmega32u4.py +++ b/src/kle2netlist/circuits/atmega32u4.py @@ -62,91 +62,96 @@ { "ref": "Y1", "x": -7.9525, "y": 0.5, "rotation": -90.0, "side": "Back", "ref_x": 0.0, "ref_y": -2.5 }, ] V1_TRACKS = [ + { "x1": 1.0, "y1": 3.3375, "x2": 1.0, "y2": 4.3237, "width": 0.2, "layer": 31 }, + { "x1": 1.7563, "y1": 5.08, "x2": 15.28, "y2": 5.08, "width": 0.2, "layer": 31 }, + { "x1": 15.28, "y1": 5.08, "x2": 16.06335, "y2": 5.86335, "width": 0.2, "layer": 31 }, + { "x1": 1.0, "y1": 4.3237, "x2": 1.7563, "y2": 5.08, "width": 0.2, "layer": 31 }, + { "x1": 16.06335, "y1": 5.86335, "x2": 16.8105, "y2": 5.86335, "width": 0.2, "layer": 31 }, + { "x1": -7.9025, "y1": 0.5, "x2": -8.8025, "y2": 1.4, "width": 0.2, "layer": 31 }, + { "x1": -3.3375, "y1": 0.5, "x2": -7.9025, "y2": 0.5, "width": 0.2, "layer": 31 }, + { "x1": -10.8605, "y1": 1.6, "x2": -8.8025, "y2": 1.6, "width": 0.2, "layer": 31 }, + { "x1": -3.3375, "y1": 2.0, "x2": -3.889386, "y2": 2.0, "width": 0.2, "layer": 31 }, { "x1": -17.37725, "y1": 1.9, "x2": -13.34, "y2": 1.9, "width": 0.2, "layer": 31 }, - { "x1": -23.67725, "y1": 1.9, "x2": -17.37725, "y2": 1.9, "width": 0.2, "layer": 31 }, - { "x1": -13.34, "y1": 1.9, "x2": -9.383, "y2": 5.857, "width": 0.2, "layer": 31 }, { "x1": -4.3955, "y1": 2.506114, "x2": -4.3955, "y2": 6.344648, "width": 0.2, "layer": 31 }, - { "x1": -3.889386, "y1": 2.0, "x2": -4.3955, "y2": 2.506114, "width": 0.2, "layer": 31 }, - { "x1": -3.3375, "y1": 2.0, "x2": -3.889386, "y2": 2.0, "width": 0.2, "layer": 31 }, - { "x1": -4.750852, "y1": 6.7, "x2": -5.9025, "y2": 6.7, "width": 0.2, "layer": 31 }, - { "x1": -4.3955, "y1": 6.344648, "x2": -4.750852, "y2": 6.7, "width": 0.2, "layer": 31 }, { "x1": -9.383, "y1": 5.857, "x2": -6.7455, "y2": 5.857, "width": 0.2, "layer": 31 }, { "x1": -5.9025, "y1": 6.7, "x2": -6.7455, "y2": 5.857, "width": 0.2, "layer": 31 }, - { "x1": -5.6, "y1": -0.6, "x2": -5.0, "y2": 0.0, "width": 0.2, "layer": 31 }, - { "x1": -10.8605, "y1": -0.6, "x2": -9.8605, "y2": -1.6, "width": 0.2, "layer": 31 }, - { "x1": -7.1025, "y1": -0.6, "x2": -5.6, "y2": -0.6, "width": 0.2, "layer": 31 }, - { "x1": -8.002499, "y1": -1.6, "x2": -7.1025, "y2": -0.7, "width": 0.2, "layer": 31 }, - { "x1": -9.8605, "y1": -1.6, "x2": -8.002499, "y2": -1.6, "width": 0.2, "layer": 31 }, - { "x1": -3.3375, "y1": 0.0, "x2": -5.0, "y2": 0.0, "width": 0.2, "layer": 31 }, - { "x1": 0.0, "y1": 4.35, "x2": 1.51335, "y2": 5.86335, "width": 0.2, "layer": 31 }, - { "x1": 1.51335, "y1": 5.86335, "x2": 3.9852, "y2": 5.86335, "width": 0.2, "layer": 31 }, - { "x1": 0.0, "y1": 3.3375, "x2": 0.0, "y2": 4.35, "width": 0.2, "layer": 31 }, - { "x1": 24.2365, "y1": -2.19335, "x2": 24.2365, "y2": -1.36835, "width": 0.2, "layer": 31 }, - { "x1": 25.06815, "y1": -1.2, "x2": 25.2365, "y2": -1.36835, "width": 0.2, "layer": 31 }, - { "x1": 25.624, "y1": -0.476, "x2": 25.624, "y2": 0.335, "width": 0.2, "layer": 31 }, - { "x1": 24.40485, "y1": -1.2, "x2": 25.06815, "y2": -1.2, "width": 0.2, "layer": 31 }, - { "x1": 24.2365, "y1": -1.36835, "x2": 24.40485, "y2": -1.2, "width": 0.2, "layer": 31 }, - { "x1": 25.2365, "y1": -1.36835, "x2": 25.2365, "y2": -2.19335, "width": 0.2, "layer": 31 }, - { "x1": 25.2365, "y1": -2.19335, "x2": 25.2365, "y2": -0.8635, "width": 0.2, "layer": 31 }, - { "x1": 25.2365, "y1": -0.8635, "x2": 25.624, "y2": -0.476, "width": 0.2, "layer": 31 }, - { "x1": -5.1455, "y1": 3.952, "x2": -5.1455, "y2": 5.807, "width": 0.2, "layer": 31 }, - { "x1": 3.3375, "y1": -2.5, "x2": 3.884, "y2": -2.5, "width": 0.2, "layer": 31 }, + { "x1": -3.889386, "y1": 2.0, "x2": -4.3955, "y2": 2.506114, "width": 0.2, "layer": 31 }, + { "x1": -13.34, "y1": 1.9, "x2": -9.383, "y2": 5.857, "width": 0.2, "layer": 31 }, + { "x1": -4.3955, "y1": 6.344648, "x2": -4.750852, "y2": 6.7, "width": 0.2, "layer": 31 }, + { "x1": -23.67725, "y1": 1.9, "x2": -17.37725, "y2": 1.9, "width": 0.2, "layer": 31 }, + { "x1": -4.750852, "y1": 6.7, "x2": -5.9025, "y2": 6.7, "width": 0.2, "layer": 31 }, + { "x1": 24.7365, "y1": -2.19335, "x2": 24.7365, "y2": -3.01835, "width": 0.2, "layer": 31 }, + { "x1": 23.349, "y1": -0.449, "x2": 23.349, "y2": 0.335, "width": 0.2, "layer": 31 }, + { "x1": 23.7365, "y1": -3.01835, "x2": 23.7365, "y2": -2.19335, "width": 0.2, "layer": 31 }, + { "x1": 23.7365, "y1": -0.8365, "x2": 23.349, "y2": -0.449, "width": 0.2, "layer": 31 }, + { "x1": 23.7365, "y1": -2.19335, "x2": 23.7365, "y2": -0.8365, "width": 0.2, "layer": 31 }, + { "x1": 24.50485, "y1": -3.25, "x2": 23.96815, "y2": -3.25, "width": 0.2, "layer": 31 }, + { "x1": 24.7365, "y1": -3.01835, "x2": 24.50485, "y2": -3.25, "width": 0.2, "layer": 31 }, + { "x1": 23.96815, "y1": -3.25, "x2": 23.7365, "y2": -3.01835, "width": 0.2, "layer": 31 }, + { "x1": -0.5, "y1": 5.2955, "x2": 0.0615, "y2": 5.857, "width": 0.2, "layer": 31 }, { "x1": 4.4595, "y1": 2.5, "x2": 5.5095, "y2": 3.55, "width": 0.2, "layer": 31 }, - { "x1": -5.1455, "y1": 2.1455, "x2": -4.5, "y2": 1.5, "width": 0.2, "layer": 31 }, { "x1": -4.5, "y1": 1.5, "x2": -3.3375, "y2": 1.5, "width": 0.2, "layer": 31 }, - { "x1": 3.3375, "y1": 2.5, "x2": 4.4595, "y2": 2.5, "width": 0.2, "layer": 31 }, { "x1": -2.0, "y1": -5.446, "x2": -2.0, "y2": -3.3375, "width": 0.2, "layer": 31 }, - { "x1": -5.1455, "y1": 3.952, "x2": -5.1455, "y2": 2.1455, "width": 0.2, "layer": 31 }, - { "x1": -0.5, "y1": 5.2955, "x2": 0.0615, "y2": 5.857, "width": 0.2, "layer": 31 }, - { "x1": 3.884, "y1": -2.5, "x2": 5.5095, "y2": -4.125498, "width": 0.2, "layer": 31 }, { "x1": -0.5, "y1": 3.3375, "x2": -0.5, "y2": 5.2955, "width": 0.2, "layer": 31 }, - { "x1": -2.5, "y1": -4.396, "x2": -3.55, "y2": -5.446, "width": 0.2, "layer": 31 }, - { "x1": 3.3375, "y1": -2.0, "x2": 4.934, "y2": -2.0, "width": 0.2, "layer": 31 }, - { "x1": -12.4105, "y1": 1.6, "x2": -11.4105, "y2": 2.6, "width": 0.2, "layer": 31 }, - { "x1": 5.5095, "y1": 2.0, "x2": 3.3375, "y2": 2.0, "width": 0.2, "layer": 31 }, - { "x1": -11.3105, "y1": 0.5, "x2": -12.4105, "y2": 1.6, "width": 0.2, "layer": 31 }, - { "x1": -13.7105, "y1": -1.9, "x2": -12.4105, "y2": -0.6, "width": 0.2, "layer": 31 }, + { "x1": 3.884, "y1": -2.5, "x2": 5.5095, "y2": -4.125498, "width": 0.2, "layer": 31 }, + { "x1": -5.1455, "y1": 3.952, "x2": -5.1455, "y2": 5.807, "width": 0.2, "layer": 31 }, + { "x1": -5.1455, "y1": 3.952, "x2": -5.1455, "y2": 2.1455, "width": 0.2, "layer": 31 }, + { "x1": 3.3375, "y1": 2.5, "x2": 4.4595, "y2": 2.5, "width": 0.2, "layer": 31 }, + { "x1": 3.3375, "y1": -2.5, "x2": 3.884, "y2": -2.5, "width": 0.2, "layer": 31 }, + { "x1": -5.1455, "y1": 2.1455, "x2": -4.5, "y2": 1.5, "width": 0.2, "layer": 31 }, + { "x1": 25.06815, "y1": -1.2, "x2": 25.2365, "y2": -1.36835, "width": 0.2, "layer": 31 }, + { "x1": 25.2365, "y1": -0.8635, "x2": 25.624, "y2": -0.476, "width": 0.2, "layer": 31 }, + { "x1": 25.2365, "y1": -2.19335, "x2": 25.2365, "y2": -0.8635, "width": 0.2, "layer": 31 }, + { "x1": 24.2365, "y1": -1.36835, "x2": 24.40485, "y2": -1.2, "width": 0.2, "layer": 31 }, + { "x1": 24.40485, "y1": -1.2, "x2": 25.06815, "y2": -1.2, "width": 0.2, "layer": 31 }, + { "x1": 25.2365, "y1": -1.36835, "x2": 25.2365, "y2": -2.19335, "width": 0.2, "layer": 31 }, + { "x1": 24.2365, "y1": -2.19335, "x2": 24.2365, "y2": -1.36835, "width": 0.2, "layer": 31 }, + { "x1": 25.624, "y1": -0.476, "x2": 25.624, "y2": 0.335, "width": 0.2, "layer": 31 }, + { "x1": -3.3375, "y1": 0.0, "x2": -5.0, "y2": 0.0, "width": 0.2, "layer": 31 }, + { "x1": -7.1025, "y1": -0.6, "x2": -5.6, "y2": -0.6, "width": 0.2, "layer": 31 }, + { "x1": -9.8605, "y1": -1.6, "x2": -8.002499, "y2": -1.6, "width": 0.2, "layer": 31 }, + { "x1": -8.002499, "y1": -1.6, "x2": -7.1025, "y2": -0.7, "width": 0.2, "layer": 31 }, + { "x1": -10.8605, "y1": -0.6, "x2": -9.8605, "y2": -1.6, "width": 0.2, "layer": 31 }, + { "x1": -5.6, "y1": -0.6, "x2": -5.0, "y2": 0.0, "width": 0.2, "layer": 31 }, + { "x1": -11.3105, "y1": 0.5, "x2": -12.4105, "y2": -0.6, "width": 0.2, "layer": 31 }, { "x1": -11.4105, "y1": 2.6, "x2": -8.002499, "y2": 2.6, "width": 0.2, "layer": 31 }, - { "x1": -23.67725, "y1": -1.9, "x2": -17.37725, "y2": -1.9, "width": 0.2, "layer": 31 }, - { "x1": -7.1025, "y1": 1.6, "x2": -5.6, "y2": 1.6, "width": 0.2, "layer": 31 }, + { "x1": -8.002499, "y1": 2.6, "x2": -7.1025, "y2": 1.7, "width": 0.2, "layer": 31 }, + { "x1": 5.5095, "y1": 2.0, "x2": 3.3375, "y2": 2.0, "width": 0.2, "layer": 31 }, + { "x1": -3.3375, "y1": 1.0, "x2": -5.0, "y2": 1.0, "width": 0.2, "layer": 31 }, { "x1": -17.37725, "y1": -1.9, "x2": -13.7105, "y2": -1.9, "width": 0.2, "layer": 31 }, + { "x1": 3.3375, "y1": -2.0, "x2": 2.0, "y2": -2.0, "width": 0.2, "layer": 31 }, + { "x1": -2.5, "y1": -3.3375, "x2": -2.5, "y2": -2.5, "width": 0.2, "layer": 31 }, + { "x1": -12.4105, "y1": 1.6, "x2": -11.4105, "y2": 2.6, "width": 0.2, "layer": 31 }, + { "x1": 3.3375, "y1": 2.0, "x2": 2.0, "y2": 2.0, "width": 0.2, "layer": 31 }, + { "x1": -6.6955, "y1": 3.1445, "x2": -6.6955, "y2": 3.952, "width": 0.2, "layer": 31 }, + { "x1": -5.6, "y1": 1.6, "x2": -5.0, "y2": 1.0, "width": 0.2, "layer": 31 }, + { "x1": 0.5, "y1": 3.3375, "x2": 0.5, "y2": 0.5, "width": 0.2, "layer": 31 }, { "x1": 5.5095, "y1": -2.5755, "x2": 7.3645, "y2": -2.5755, "width": 0.2, "layer": 31 }, - { "x1": 4.934, "y1": -2.0, "x2": 5.5095, "y2": -2.5755, "width": 0.2, "layer": 31 }, - { "x1": -7.1025, "y1": 2.7375, "x2": -6.6955, "y2": 3.1445, "width": 0.2, "layer": 31 }, - { "x1": -8.002499, "y1": 2.6, "x2": -7.1025, "y2": 1.7, "width": 0.2, "layer": 31 }, + { "x1": -23.67725, "y1": -1.9, "x2": -17.37725, "y2": -1.9, "width": 0.2, "layer": 31 }, + { "x1": -8.8025, "y1": -0.6, "x2": -9.9025, "y2": 0.5, "width": 0.2, "layer": 31 }, { "x1": -9.9025, "y1": 0.5, "x2": -11.3105, "y2": 0.5, "width": 0.2, "layer": 31 }, { "x1": -7.1025, "y1": 1.6, "x2": -7.1025, "y2": 2.7375, "width": 0.2, "layer": 31 }, + { "x1": 3.3375, "y1": -2.0, "x2": 4.934, "y2": -2.0, "width": 0.2, "layer": 31 }, + { "x1": -11.3105, "y1": 0.5, "x2": -12.4105, "y2": 1.6, "width": 0.2, "layer": 31 }, + { "x1": -13.7105, "y1": -1.9, "x2": -12.4105, "y2": -0.6, "width": 0.2, "layer": 31 }, + { "x1": 4.934, "y1": -2.0, "x2": 5.5095, "y2": -2.5755, "width": 0.2, "layer": 31 }, + { "x1": -2.5, "y1": -4.396, "x2": -3.55, "y2": -5.446, "width": 0.2, "layer": 31 }, + { "x1": -3.3375, "y1": 1.0, "x2": -1.0, "y2": 1.0, "width": 0.2, "layer": 31 }, + { "x1": -7.1025, "y1": 1.6, "x2": -5.6, "y2": 1.6, "width": 0.2, "layer": 31 }, + { "x1": -7.1025, "y1": 2.7375, "x2": -6.6955, "y2": 3.1445, "width": 0.2, "layer": 31 }, { "x1": -2.5, "y1": -3.3375, "x2": -2.5, "y2": -4.396, "width": 0.2, "layer": 31 }, - { "x1": -3.3375, "y1": 1.0, "x2": -5.0, "y2": 1.0, "width": 0.2, "layer": 31 }, - { "x1": -8.8025, "y1": -0.6, "x2": -9.9025, "y2": 0.5, "width": 0.2, "layer": 31 }, - { "x1": -6.6955, "y1": 3.1445, "x2": -6.6955, "y2": 3.952, "width": 0.2, "layer": 31 }, - { "x1": -11.3105, "y1": 0.5, "x2": -12.4105, "y2": -0.6, "width": 0.2, "layer": 31 }, - { "x1": -5.6, "y1": 1.6, "x2": -5.0, "y2": 1.0, "width": 0.2, "layer": 31 }, - { "x1": -7.9025, "y1": 0.5, "x2": -8.8025, "y2": 1.4, "width": 0.2, "layer": 31 }, - { "x1": -3.3375, "y1": 0.5, "x2": -7.9025, "y2": 0.5, "width": 0.2, "layer": 31 }, - { "x1": -10.8605, "y1": 1.6, "x2": -8.8025, "y2": 1.6, "width": 0.2, "layer": 31 }, - { "x1": 2.5, "y1": -3.3375, "x2": 2.5, "y2": -4.188748, "width": 0.2, "layer": 31 }, - { "x1": 2.5, "y1": -4.188748, "x2": 3.18675, "y2": -4.8755, "width": 0.2, "layer": 31 }, - { "x1": 3.18675, "y1": -4.8755, "x2": 6.7145, "y2": -4.8755, "width": 0.2, "layer": 31 }, - { "x1": 6.7145, "y1": -4.8755, "x2": 7.4145, "y2": -4.1755, "width": 0.2, "layer": 31 }, - { "x1": 16.047999, "y1": 3.952, "x2": 16.8105, "y2": 3.952, "width": 0.2, "layer": 31 }, - { "x1": 1.921986, "y1": 4.68, "x2": 15.32, "y2": 4.68, "width": 0.2, "layer": 31 }, + { "x1": 1.51335, "y1": 5.86335, "x2": 3.9852, "y2": 5.86335, "width": 0.2, "layer": 31 }, + { "x1": 0.0, "y1": 4.35, "x2": 1.51335, "y2": 5.86335, "width": 0.2, "layer": 31 }, + { "x1": 0.0, "y1": 3.3375, "x2": 0.0, "y2": 4.35, "width": 0.2, "layer": 31 }, { "x1": 15.32, "y1": 4.68, "x2": 16.047999, "y2": 3.952, "width": 0.2, "layer": 31 }, + { "x1": 16.047999, "y1": 3.952, "x2": 16.8105, "y2": 3.952, "width": 0.2, "layer": 31 }, { "x1": 1.5, "y1": 3.3375, "x2": 1.5, "y2": 4.258014, "width": 0.2, "layer": 31 }, + { "x1": 1.921986, "y1": 4.68, "x2": 15.32, "y2": 4.68, "width": 0.2, "layer": 31 }, { "x1": 1.5, "y1": 4.258014, "x2": 1.921986, "y2": 4.68, "width": 0.2, "layer": 31 }, - { "x1": 1.0, "y1": 3.3375, "x2": 1.0, "y2": 4.3237, "width": 0.2, "layer": 31 }, - { "x1": 1.0, "y1": 4.3237, "x2": 1.7563, "y2": 5.08, "width": 0.2, "layer": 31 }, - { "x1": 1.7563, "y1": 5.08, "x2": 15.28, "y2": 5.08, "width": 0.2, "layer": 31 }, - { "x1": 15.28, "y1": 5.08, "x2": 16.06335, "y2": 5.86335, "width": 0.2, "layer": 31 }, - { "x1": 16.06335, "y1": 5.86335, "x2": 16.8105, "y2": 5.86335, "width": 0.2, "layer": 31 }, - { "x1": 23.7365, "y1": -3.01835, "x2": 23.7365, "y2": -2.19335, "width": 0.2, "layer": 31 }, - { "x1": 23.349, "y1": -0.449, "x2": 23.349, "y2": 0.335, "width": 0.2, "layer": 31 }, - { "x1": 24.50485, "y1": -3.25, "x2": 23.96815, "y2": -3.25, "width": 0.2, "layer": 31 }, - { "x1": 24.7365, "y1": -3.01835, "x2": 24.50485, "y2": -3.25, "width": 0.2, "layer": 31 }, - { "x1": 23.96815, "y1": -3.25, "x2": 23.7365, "y2": -3.01835, "width": 0.2, "layer": 31 }, - { "x1": 23.7365, "y1": -0.8365, "x2": 23.349, "y2": -0.449, "width": 0.2, "layer": 31 }, - { "x1": 23.7365, "y1": -2.19335, "x2": 23.7365, "y2": -0.8365, "width": 0.2, "layer": 31 }, - { "x1": 24.7365, "y1": -2.19335, "x2": 24.7365, "y2": -3.01835, "width": 0.2, "layer": 31 }, + { "x1": 2.5, "y1": -4.188748, "x2": 3.18675, "y2": -4.8755, "width": 0.2, "layer": 31 }, + { "x1": 6.7145, "y1": -4.8755, "x2": 7.4145, "y2": -4.1755, "width": 0.2, "layer": 31 }, + { "x1": 2.5, "y1": -3.3375, "x2": 2.5, "y2": -4.188748, "width": 0.2, "layer": 31 }, + { "x1": 3.18675, "y1": -4.8755, "x2": 6.7145, "y2": -4.8755, "width": 0.2, "layer": 31 }, ] # fmt: on @@ -185,7 +190,7 @@ def atmega32u4(rows, columns, footprints): # start uc circuitry uc = skidl.Part( "MCU_Microchip_ATmega", - "ATmega32U4-A", + "ATmega32U4-M", footprint=footprints["uc"], ) vcc = skidl.Net("VCC") diff --git a/tests/test_netlist_generation/2x2-with-uc.net b/tests/test_netlist_generation/2x2-with-uc.net index be5e760..1d03b47 100644 --- a/tests/test_netlist_generation/2x2-with-uc.net +++ b/tests/test_netlist_generation/2x2-with-uc.net @@ -115,9 +115,9 @@ (libsource (lib Switch) (part SW_Push)) # (sheetpath (names /top/2152503131066222040) (tstamps /top/2152503131066222040))) (comp (ref U1) - (value ATmega32U4-A) + (value ATmega32U4-M) (footprint Package_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mm) - (libsource (lib MCU_Microchip_ATmega) (part ATmega16U4-A)) + (libsource (lib MCU_Microchip_ATmega) (part ATmega16U4-M)) # (sheetpath (names /top/14700442668264180207) (tstamps /top/14700442668264180207))) (comp (ref U2) (value TPD2S017) @@ -158,6 +158,7 @@ (node (ref U1) (pin 23)) (node (ref U1) (pin 35)) (node (ref U1) (pin 43)) + (node (ref U1) (pin 45)) (node (ref U1) (pin 5)) (node (ref U2) (pin 2)) (node (ref Y1) (pin 2)) diff --git a/tests/test_netlist_generation/empty-with-uc.net b/tests/test_netlist_generation/empty-with-uc.net index cc9eeae..8cfc131 100644 --- a/tests/test_netlist_generation/empty-with-uc.net +++ b/tests/test_netlist_generation/empty-with-uc.net @@ -75,9 +75,9 @@ (libsource (lib Switch) (part SW_SPST)) # (sheetpath (names /top/7963859180225396453) (tstamps /top/7963859180225396453))) (comp (ref U1) - (value ATmega32U4-A) + (value ATmega32U4-M) (footprint Package_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mm) - (libsource (lib MCU_Microchip_ATmega) (part ATmega16U4-A)) + (libsource (lib MCU_Microchip_ATmega) (part ATmega16U4-M)) # (sheetpath (names /top/342931359707187234) (tstamps /top/342931359707187234))) (comp (ref U2) (value TPD2S017) @@ -110,6 +110,7 @@ (node (ref U1) (pin 23)) (node (ref U1) (pin 35)) (node (ref U1) (pin 43)) + (node (ref U1) (pin 45)) (node (ref U1) (pin 5)) (node (ref U2) (pin 2)) (node (ref Y1) (pin 2))