diff --git a/tests/board_samples/kicad_6/bom.kicad_sch b/tests/board_samples/kicad_6/bom.kicad_sch index 56195c44..448b918a 100644 --- a/tests/board_samples/kicad_6/bom.kicad_sch +++ b/tests/board_samples/kicad_6/bom.kicad_sch @@ -4,6 +4,13 @@ (paper "A4") + (title_block + (title "BoM Test") + (date "13/07/2020") + (rev "r1") + (company "INTI-CMNB") + ) + (lib_symbols (symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes) (property "Reference" "C" (id 0) (at 0.635 2.54 0) @@ -135,6 +142,46 @@ ) ) ) + (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes) + (property "Reference" "#FLG" (id 0) (at 0 1.905 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line (at 0 0 90) (length 0) + (name "pwr" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "PWR_FLAG_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 1.27) + (xy -1.016 1.905) + (xy 0 2.54) + (xy 1.016 1.905) + (xy 0 1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + ) (symbol "power:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) (property "Reference" "#PWR" (id 0) (at 0 -3.81 0) (effects (font (size 1.27 1.27)) hide) @@ -189,38 +236,57 @@ ) ) - (junction (at 88.9 62.23) (diameter 1.016) (color 0 0 0 0) - (uuid 53c85970-3e21-4fae-a84f-721cfc0513b5) + (junction (at 88.9 62.23) (diameter 0) (color 0 0 0 0) + (uuid 04f5865e-f449-4408-a0c8-771cccfcb129) ) - - (wire (pts (xy 99.06 62.23) (xy 88.9 62.23)) - (stroke (width 0) (type solid) (color 0 0 0 0)) - (uuid 2bf3f24b-fd30-41a7-a274-9b519491916b) - ) - (wire (pts (xy 88.9 52.07) (xy 88.9 49.53)) - (stroke (width 0) (type solid) (color 0 0 0 0)) - (uuid 34871042-9d5c-4e29-abdd-a168368c3c22) - ) - (wire (pts (xy 99.06 66.04) (xy 99.06 62.23)) - (stroke (width 0) (type solid) (color 0 0 0 0)) - (uuid 4831966c-bb32-4bc8-a400-0382a02ffa1c) - ) - (wire (pts (xy 88.9 62.23) (xy 88.9 66.04)) - (stroke (width 0) (type solid) (color 0 0 0 0)) + (junction (at 88.9 50.8) (diameter 0) (color 0 0 0 0) (uuid a9ec539a-d80d-40cc-803c-12b6adefe42a) ) - (wire (pts (xy 88.9 76.2) (xy 88.9 73.66)) - (stroke (width 0) (type solid) (color 0 0 0 0)) - (uuid c264c438-a475-4ad4-9915-0f1e6ecf3053) - ) - (wire (pts (xy 99.06 76.2) (xy 99.06 73.66)) - (stroke (width 0) (type solid) (color 0 0 0 0)) - (uuid e25ce415-914a-48fe-bf09-324317917b2e) + + (wire (pts (xy 114.3 74.93) (xy 114.3 77.47)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2bf3f24b-fd30-41a7-a274-9b519491916b) ) (wire (pts (xy 88.9 59.69) (xy 88.9 62.23)) - (stroke (width 0) (type solid) (color 0 0 0 0)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2d6718e7-f18d-444d-9792-ddf1a113460c) + ) + (wire (pts (xy 81.28 49.53) (xy 81.28 50.8)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 34871042-9d5c-4e29-abdd-a168368c3c22) + ) + (wire (pts (xy 88.9 52.07) (xy 88.9 50.8)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 4d609e7c-74c9-4ae9-a26d-946ff00c167d) + ) + (wire (pts (xy 88.9 62.23) (xy 88.9 66.04)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 6199bec7-e7eb-4ae0-b9ec-c563e157d635) + ) + (wire (pts (xy 99.06 62.23) (xy 88.9 62.23)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 71c77456-1405-42e3-95ed-69e629de0558) + ) + (wire (pts (xy 88.9 76.2) (xy 88.9 73.66)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 786b6072-5772-4bc1-8eeb-6c4e19f2a91b) + ) + (wire (pts (xy 99.06 76.2) (xy 99.06 73.66)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 9a9f2d82-f64d-4264-8bec-c182528fc4de) + ) + (wire (pts (xy 88.9 50.8) (xy 88.9 49.53)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid c264c438-a475-4ad4-9915-0f1e6ecf3053) + ) + (wire (pts (xy 81.28 50.8) (xy 88.9 50.8)) + (stroke (width 0) (type default) (color 0 0 0 0)) (uuid ef1b4b98-541b-4673-a04f-2043250fc40a) ) + (wire (pts (xy 99.06 66.04) (xy 99.06 62.23)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid f144a97d-c3f0-423f-b0a9-3f7dbc42478b) + ) (symbol (lib_id "Device:R") (at 88.9 55.88 0) (unit 1) (in_bom yes) (on_board yes) @@ -237,8 +303,8 @@ (property "Datasheet" "~" (id 3) (at 88.9 55.88 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid 3f5fe6b7-98fc-4d3e-9567-f9f7202d1455)) - (pin "2" (uuid bb7f0588-d4d8-44bf-9ebf-3c533fe4d6ae)) + (pin "1" (uuid 9dbd9e26-9782-45c4-9403-4d72b07f29de)) + (pin "2" (uuid 437250d9-eb22-42a7-a0ee-f2e6a9628e2b)) ) (symbol (lib_id "Device:R") (at 88.9 69.85 0) (unit 1) @@ -256,8 +322,8 @@ (property "Datasheet" "~" (id 3) (at 88.9 69.85 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid 94c158d1-8503-4553-b511-bf42f506c2a8)) - (pin "2" (uuid 23bb2798-d93a-4696-a962-c305c4298a0c)) + (pin "1" (uuid eda12c9f-b24f-4458-a3cc-61f318dc57fe)) + (pin "2" (uuid 004d701c-7e69-4a10-9c95-7de04fa2be20)) ) (symbol (lib_id "Device:C") (at 99.06 69.85 0) (unit 1) @@ -275,8 +341,8 @@ (property "Datasheet" "~" (id 3) (at 99.06 69.85 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid 746ba970-8279-4e7b-aed3-f28687777c21)) - (pin "2" (uuid 71c31975-2c45-4d18-a25a-18e07a55d11e)) + (pin "1" (uuid a86ce70c-0b0b-4e00-81fd-fa720b16c5ec)) + (pin "2" (uuid f3fc3ce5-4efa-4006-8983-46e918c0de75)) ) (symbol (lib_id "power:GND") (at 99.06 76.2 0) (unit 1) @@ -292,7 +358,7 @@ (property "Datasheet" "" (id 3) (at 99.06 76.2 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid 13abf99d-5265-4779-8973-e94370fd18ff)) + (pin "1" (uuid 607bd1dc-3a6b-4b00-8871-0e4f8cbd31b4)) ) (symbol (lib_id "power:GND") (at 88.9 76.2 0) (unit 1) @@ -308,7 +374,7 @@ (property "Datasheet" "" (id 3) (at 88.9 76.2 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid 1860e030-7a36-4298-b7fc-a16d48ab15ba)) + (pin "1" (uuid c02ea828-b111-4d1d-9474-98d811361c61)) ) (symbol (lib_id "power:VCC") (at 88.9 49.53 0) (unit 1) @@ -324,7 +390,55 @@ (property "Datasheet" "" (id 3) (at 88.9 49.53 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid e9bb29b2-2bb9-4ea2-acd9-2bb3ca677a12)) + (pin "1" (uuid bc94524b-c378-44e8-acce-7c1ac0292375)) + ) + + (symbol (lib_id "power:GND") (at 114.3 77.47 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ec534bf) + (property "Reference" "#PWR0101" (id 0) (at 114.3 83.82 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 114.427 81.8642 0)) + (property "Footprint" "" (id 2) (at 114.3 77.47 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 114.3 77.47 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 5d56d28a-c4af-4430-8964-9b60bd37a4ca)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 114.3 74.93 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ec53a6e) + (property "Reference" "#FLG0101" (id 0) (at 114.3 73.025 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 114.3 70.5358 0)) + (property "Footprint" "" (id 2) (at 114.3 74.93 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 114.3 74.93 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 3081c45f-0a62-4dc8-a706-c2b3c5e194d8)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 81.28 49.53 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ec53e1a) + (property "Reference" "#FLG0102" (id 0) (at 81.28 47.625 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 81.28 45.1358 0)) + (property "Footprint" "" (id 2) (at 81.28 49.53 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 81.28 49.53 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0d525ad4-3f7e-4e8e-b572-5aed774da48c)) ) (sheet_instances @@ -332,6 +446,12 @@ ) (symbol_instances + (path "/00000000-0000-0000-0000-00005ec53a6e" + (reference "#FLG0101") (unit 1) (value "PWR_FLAG") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ec53e1a" + (reference "#FLG0102") (unit 1) (value "PWR_FLAG") (footprint "") + ) (path "/00000000-0000-0000-0000-00005ebe99a0" (reference "#PWR01") (unit 1) (value "VCC") (footprint "") ) @@ -341,6 +461,9 @@ (path "/00000000-0000-0000-0000-00005ebe965a" (reference "#PWR03") (unit 1) (value "GND") (footprint "") ) + (path "/00000000-0000-0000-0000-00005ec534bf" + (reference "#PWR0101") (unit 1) (value "GND") (footprint "") + ) (path "/00000000-0000-0000-0000-00005ebe91ac" (reference "C1") (unit 1) (value "1uF") (footprint "Capacitor_SMD:C_0805_2012Metric") )