### LibrePCB Package Definition for WEMOS D1 Mini V4.0.0 Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This LISP-based code defines a PCB footprint package for the WEMOS D1 Mini V4.0.0 module. It specifies pad names, footprint details like pad shapes, positions, sizes, silkscreen outlines, and documentation text. Dependencies include the LibrePCB library format. ```lisp (librepcb_package 7e3df6c6-e7b2-4ec0-9224-f97f085534a0 (name "LOLIN_WEMOS_D1_MINI_V4") (description "Lolin Wemos D1 Mini V4.0.0 footprint (16 through-hole pads)") (keywords "esp8266,wemos,d1,mini,through-hole") (author "LibrePCB") (version "0.1") (created 2024-11-11T21:34:02Z) (deprecated false) (generated_by "") (category d48590c9-c156-40d7-960a-d72290c2d363) (assembly_type tht) (pad 5ebcff8c-4040-4f11-9582-ee175a873439 (name "8")) (pad 6c5697b7-4839-4640-b9a3-92e90f8f33aa (name "1")) (pad 788bf4fa-6a15-4313-be96-e11ee1ee8aac (name "16")) (pad 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3 (name "9")) (pad a9ddf0c6-9b1c-4730-b300-01b4f192ad40 (name "2")) (pad c7e0f993-3b51-45cd-b6c9-5a87e7f5a78d (name "15")) (pad cad52c66-64bd-4cc3-b70d-50960e4c4892 (name "10")) (pad ce73e2b2-8da4-4b5b-8d4a-a7e5e1ee8aac (name "3")) (pad d48590c9-c156-40d7-960a-d72290c2d363 (name "14")) (pad d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31 (name "11")) (pad e5c7f7a-3b51-4f23-8b81-7b635b0ad2a4 (name "4")) (pad ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e (name "13")) (pad f11d54e6-ca69-4a95-a641-f41fa464c7f1 (name "12")) (pad f5e3-42ce-8ab5-c3f1f9fa1e04 (name "5")) (pad fb7f8f8b-f5e3-42ce-8ab5-c3f1f9fa1e04 (name "6")) (pad fc7e0f993-3b51-45cd-b6c9-5a87e7f5a78d (name "7")) (footprint 788bf4fa-6a15-4313-be96-e11ee1ee8aac (name "default") (description "") (3d_position 0.0 0.0 0.0) (3d_rotation 0.0 0.0 0.0) (pad 5ebcff8c-4040-4f11-9582-ee175a873439 (side top) (shape roundrect) (position -8.89 7.62) (rotation 0.0) (size 1.7 1.7) (radius 0.0) (stop_mask auto) (solder_paste off) (clearance 0.0) (function standard) (package_pad 5ebcff8c-4040-4f11-9582-ee175a873439) (hole 5ebcff8c-4040-4f11-9582-ee175a873439 (diameter 1.0) (vertex (position 0.0 0.0) (angle 0.0)) ) ) (pad 6c5697b7-4839-4640-b9a3-92e90f8f33aa (side top) (shape roundrect) (position -8.89 -7.62) (rotation 0.0) (size 1.7 1.7) (radius 0.0) (stop_mask auto) (solder_paste off) (clearance 0.0) (function standard) (package_pad 6c5697b7-4839-4640-b9a3-92e90f8f33aa) (hole 6c5697b7-4839-4640-b9a3-92e90f8f33aa (diameter 1.0) (vertex (position 0.0 0.0) (angle 0.0)) ) ) (polygon 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae (layer top_legend) (width 0.2) (fill false) (grab_area false) (vertex (position -10.16 -12.7) (angle 0.0)) (vertex (position 10.16 -12.7) (angle 0.0)) (vertex (position 10.16 12.7) (angle 0.0)) (vertex (position -10.16 12.7) (angle 0.0)) (vertex (position -10.16 -12.7) (angle 0.0)) ) (circle 2db7cad1-9c18-4b94-9c85-60e4c5f67c19 (layer top_documentation) (width 0.0) (fill true) (grab_area false) (diameter 2.0) (position -6.35 -10.16) ) (stroke_text 4ccb9224-64bd-4cc3-b70d-50960e4c4892 (layer top_names) (height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto) (align center bottom) (position 0.0 13.97) (rotation 0.0) (auto_rotate true) (mirror false) (value "{{NAME}}") ) (stroke_text 5e800ba9-3d2f-4906-ad4e-e02d0c27f1f4 (layer top_values) (height 1.0) (stroke_width 0.2) (letter_spacing auto) (line_spacing auto) (align center top) (position 0.0 -13.97) (rotation 0.0) (auto_rotate true) (mirror false) (value "{{VALUE}}") ) (zone 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d (layers top_copper) (rule (layer top_copper) (function copper) (clearance 0.0)) (polygon 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d (layer top_copper) (width 0.0) (fill true) (grab_area false) (vertex (position -6.35 -10.16) (angle 0.0)) (vertex (position -4.35 -10.16) (angle 0.0)) (vertex (position -4.35 -8.16) (angle 0.0)) (vertex (position -6.35 -8.16) (angle 0.0)) (vertex (position -6.35 -10.16) (angle 0.0)) ) ) ) (approved no_parts) ) ``` -------------------------------- ### Define Lolin Wemos D1 Mini V4 Device in LibrePCB Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This Lisp code defines the 'Lolin Wemos D1 Mini V4' device in LibrePCB. It links abstract components to physical packages and maps signals to specific package pads, including metadata like name, description, author, and version. It also references external resources and defines associated pads and parts. ```lisp (librepcb_device 788bf4fa-6a15-4313-be96-e11ee1ee8aac (name "Lolin Wemos D1 Mini V4") (description "Lolin Wemos D1 Mini board version 4.0.0") (keywords "esp8266,wifi,lolin,wemos,d1,mini,v4") (author "LibrePCB") (version "0.1") (created 2024-11-11T21:35:28Z) (deprecated false) (generated_by "") (category 39eb9da2-bde6-49b7-a5a2-df34e3f4c09a) (resource (name "Product Page") (media_type "text/html") (url "https://www.wemos.cc/en/latest/d1/d1_mini.html")) (component 0e5c7f7a-3b51-4f23-8b81-7b635b0ad2a4) (package 7e3df6c6-e7b2-4ec0-9224-f97f085534a0) (pad 5ebcff8c-4040-4f11-9582-ee175a873439 (signal 02e87380-a824-422b-8236-25ad936ebf74)) (pad 6c5697b7-4839-4640-b9a3-92e90f8f33aa (signal 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3)) (pad 788bf4fa-6a15-4313-be96-e11ee1ee8aac (signal 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae)) (pad 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3 (signal 0648a103-0239-4fc5-a6b6-7763d236605b)) (pad a9ddf0c6-9b1c-4730-b300-01b4f192ad40 (signal d45fdfe2-0df7-40d7-82e9-ba91f3ba8e8e)) (pad c7e0f993-3b51-45cd-b6c9-5a87e7f5a78d (signal 5cfebb9f-ef5c-4d1a-acc1-ace2a88b1e0b)) (pad cad52c66-64bd-4cc3-b70d-50960e4c4892 (signal 14e8dc7b-df84-4c5a-89df-26c2e4ea4972)) (pad ce73e2b2-8da4-4b5b-8d4a-a7e5e1ee8aac (signal d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31)) (pad d48590c9-c156-40d7-960a-d72290c2d363 (signal 2db7cad1-9c18-4b94-9c85-60e4c5f67c19)) (pad d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31 (signal 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d)) (pad e5c7f7a-3b51-4f23-8b81-7b635b0ad2a4 (signal ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e)) (pad ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e (signal 35e6fbfe-c2f0-442a-bdfd-b43cda61195f)) (pad f11d54e6-ca69-4a95-a641-f41fa464c7f1 (signal 5e800ba9-3d2f-4906-ad4e-e02d0c27f1f4)) (pad f5e3-42ce-8ab5-c3f1f9fa1e04 (signal f11d54e6-ca69-4a95-a641-f41fa464c7f1)) (pad fb7f8f8b-f5e3-42ce-8ab5-c3f1f9fa1e04 (signal 4ebf05bb-c76a-4eef-9edb-cfbb96c7a0c0)) (pad fc7e0f993-3b51-45cd-b6c9-5a87e7f5a78d (signal 39eb9da2-bde6-49b7-a5a2-df34e3f4c09a)) (part "Wemos D1 Mini" (manufacturer "Lolin")) ) ``` -------------------------------- ### Define Lolin LibrePCB Library Metadata Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt Defines the root library.lp file for the Lolin LibrePCB library. This metadata includes the library's name, description, author, version, creation timestamp, deprecation status, URL, and dependencies on other LibrePCB libraries. It uses a S-expression format. ```lisp (librepcb_library 6cde91cb-119e-4bcc-980c-dadedfffae94 (name "Lolin") (description "Wemos IoT modules and more (unofficial).") (keywords "") (author "LibrePCB") (version "0.1.1") (created 2024-11-11T21:31:42Z) (deprecated false) (url "https://github.com/LibrePCB-Libraries/Lolin.lplib") (dependency a9ddf0c6-9b1c-4730-b300-01b4f192ad40) (manufacturer "Lolin") ) ``` -------------------------------- ### LISP: Define Wemos D1 Mini Component Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This snippet defines a LibrePCB component for the Wemos D1 Mini. It includes metadata, signal definitions, and a default schematic variant with associated pins. The definition uses a LISP-like syntax specific to LibrePCB library files. ```lisp (librepcb_component 0e5c7f7a-3b51-4f23-8b81-7b635b0ad2a4 (name "Wemos D1 Mini") (description "ESP-8266 WiFi development board.") (keywords "esp8266,wifi,iot,wemos,d1,mini") (author "LibrePCB") (version "0.1") (created 2024-11-11T21:32:42Z) (deprecated false) (generated_by "") (category 6c5697b7-4839-4640-b9a3-92e90f8f33aa) (resource (name "Lolin Wemos D1 Mini Product Page") (media_type "application/pdf") (url "https://www.wemos.cc/en/latest/d1/d1_mini.html")) (schematic_only false) (default_value "{{MPN or DEVICE or COMPONENT}}") (prefix "U") (signal 02e87380-a824-422b-8236-25ad936ebf74 (name "3.3V") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 0648a103-0239-4fc5-a6b6-7763d236605b (name "5V") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 14e8dc7b-df84-4c5a-89df-26c2e4ea4972 (name "GND") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae (name "IO0") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 2db7cad1-9c18-4b94-9c85-60e4c5f67c19 (name "IO12/MISO") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 35e6fbfe-c2f0-442a-bdfd-b43cda61195f (name "IO13/MOSI") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 39eb9da2-bde6-49b7-a5a2-df34e3f4c09a (name "IO14/SCK") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 4ebf05bb-c76a-4eef-9edb-cfbb96c7a0c0 (name "IO15/SS") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 5cfebb9f-ef5c-4d1a-acc1-ace2a88b1e0b (name "IO2/LED") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 5e800ba9-3d2f-4906-ad4e-e02d0c27f1f4 (name "IO4/SDA") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d (name "IO5/SCL") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3 (name "RST") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal d45fdfe2-0df7-40d7-82e9-ba91f3ba8e8e (name "A0") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31 (name "IO16") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e (name "RX") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (signal f11d54e6-ca69-4a95-a641-f41fa464c7f1 (name "TX") (role passive) (required false) (negated false) (clock false) (forced_net "") ) (variant 9f19ea50-d4bd-43c5-878a-2e98e9bf2f42 (norm "") (name "default") (description "") (gate fb7f8f8b-f5e3-42ce-8ab5-c3f1f9fa1e04 (symbol 4ccb9224-64bd-4cc3-b70d-50960e4c4892) (position 0.0 0.0) (rotation 0.0) (required true) (suffix "") (pin 02e87380-a824-422b-8236-25ad936ebf74 (signal 02e87380-a824-422b-8236-25ad936ebf74) (text signal)) (pin 0648a103-0239-4fc5-a6b6-7763d236605b (signal 0648a103-0239-4fc5-a6b6-7763d236605b) (text signal)) (pin 14e8dc7b-df84-4c5a-89df-26c2e4ea4972 (signal 14e8dc7b-df84-4c5a-89df-26c2e4ea4972) (text signal)) (pin 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae (signal 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae) (text signal)) (pin 2db7cad1-9c18-4b94-9c85-60e4c5f67c19 (signal 2db7cad1-9c18-4b94-9c85-60e4c5f67c19) (text signal)) (pin 35e6fbfe-c2f0-442a-bdfd-b43cda61195f (signal 35e6fbfe-c2f0-442a-bdfd-b43cda61195f) (text signal)) (pin 39eb9da2-bde6-49b7-a5a2-df34e3f4c09a (signal 39eb9da2-bde6-49b7-a5a2-df34e3f4c09a) (text signal)) (pin 4ebf05bb-c76a-4eef-9edb-cfbb96c7a0c0 (signal 4ebf05bb-c76a-4eef-9edb-cfbb96c7a0c0) (text signal)) (pin 5cfebb9f-ef5c-4d1a-acc1-ace2a88b1e0b (signal 5cfebb9f-ef5c-4d1a-acc1-ace2a88b1e0b) (text signal)) (pin 5e800ba9-3d2f-4906-ad4e-e02d0c27f1f4 (signal 5e800ba9-3d2f-4906-ad4e-e02d0c27f1f4) (text signal)) (pin 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d (signal 7d27ebe3-bd34-4c81-80a1-33fb8e7ee02d) (text signal)) (pin 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3 (signal 885a21e4-fa6b-4b31-99e7-32c3a0cb17a3) (text signal)) (pin d45fdfe2-0df7-40d7-82e9-ba91f3ba8e8e (signal d45fdfe2-0df7-40d7-82e9-ba91f3ba8e8e) (text signal)) (pin d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31 (signal d9c2f7e1-7e5f-44ff-92e5-2d21e8f76c31) (text signal)) (pin ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e (signal ed5ae6a2-b19b-4d4a-a7f1-4b9dbfb5a78e) (text signal)) ``` -------------------------------- ### Automate LibrePCB Library Validation with GitHub Actions Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This YAML workflow configures GitHub Actions to automatically validate LibrePCB library integrity on every push or pull request. It uses the 'librepcb/librepcb-cli:1.1.0' Docker image to run the `librepcb-cli open-library` command with strict checking and minification. ```yaml name: CI on: push: pull_request: jobs: check: runs-on: ubuntu-22.04 container: image: librepcb/librepcb-cli:1.1.0 steps: - uses: actions/checkout@v1 - name: Validate Library run: librepcb-cli open-library --all --strict --check --minify-step . ``` -------------------------------- ### Define Git Ignore Patterns for LibrePCB Project Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This .gitignore file specifies patterns for files to be excluded from Git version control. It includes common temporary files, autosave files, backups, and operating system specific files like '.DS_Store' and 'Thumbs.db', helping to keep the repository clean and focused on source code. ```gitignore *.lp~ *.lp# *.autosave *.bak *.tmp .DS_Store Thumbs.db ``` -------------------------------- ### Organize Lolin Packages with Category in LibrePCB Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This Lisp code defines a package category named 'Lolin' in LibrePCB for organizing package footprints. It includes metadata such as name, description, keywords, author, version, and creation date. It also specifies a parent category, enabling hierarchical organization of electronic components. ```lisp (librepcb_package_category d48590c9-c156-40d7-960a-d72290c2d363 (name "Lolin") (description "Lolin (formerly Wemos) package footprints") (keywords "lolin,wemos,esp8266") (author "LibrePCB") (version "0.1") (created 2024-11-11T21:36:15Z) (deprecated false) (generated_by "") (parent 6c5697b7-4839-4640-b9a3-92e90f8f33aa) ) ``` -------------------------------- ### Configure Git for Cross-Platform S-Expression File Integrity Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This .gitattributes file configures Git to treat all files as having text line endings, preventing automatic conversion. This is crucial for maintaining the integrity of S-expression based files (like those used in LibrePCB) across different operating systems, ensuring consistent formatting. ```gitattributes * -text ``` -------------------------------- ### Define Wemos D1 Mini Schematic Symbol in Lisp Source: https://context7.com/librepcb-libraries/lolin.lplib/llms.txt This Lisp code defines the schematic symbol for the Wemos D1 Mini. It specifies pin names, positions, rotations, lengths, and alignment. It also includes graphical elements like polygons for the outline and text for component name, value, and labels. ```lisp (librepcb_symbol 4ccb9224-64bd-4cc3-b70d-50960e4c4892 (name "Wemos D1 Mini") (description "ESP-8266 WiFi development board symbol.") (keywords "esp8266,wifi,symbol") (author "LibrePCB") (version "0.1") (created 2024-11-11T21:33:15Z) (deprecated false) (generated_by "") (category 4a4e3c72-94fb-45f9-a6d8-122d2af16fb1) (pin 02e87380-a824-422b-8236-25ad936ebf74 (name "3.3V") (position 22.86 15.24) (rotation 0.0) (length 2.54) (name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) (name_align left center) ) (pin 0648a103-0239-4fc5-a6b6-7763d236605b (name "5V") (position 22.86 17.78) (rotation 0.0) (length 2.54) (name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) (name_align left center) ) (pin 14e8dc7b-df84-4c5a-89df-26c2e4ea4972 (name "GND") (position 22.86 12.7) (rotation 0.0) (length 2.54) (name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) (name_align left center) ) (pin 1c8eb41b-1897-4e02-b8c7-4c2dc0bae8ae (name "IO0") (position -22.86 15.24) (rotation 180.0) (length 2.54) (name_position 3.81 0.0) (name_rotation 0.0) (name_height 2.5) (name_align right center) ) (polygon fb7f8f8b-f5e3-42ce-8ab5-c3f1f9fa1e04 (layer sym_outlines) (width 0.25) (fill false) (grab_area true) (vertex (position -20.32 20.32) (angle 0.0)) (vertex (position 20.32 20.32) (angle 0.0)) (vertex (position 20.32 -20.32) (angle 0.0)) (vertex (position -20.32 -20.32) (angle 0.0)) (vertex (position -20.32 20.32) (angle 0.0)) ) (text 4ccb9224-64bd-4cc3-b70d-50960e4c4892 (layer sym_names) (value "{{NAME}}") (align center bottom) (height 2.54) (position 0.0 22.86) (rotation 0.0) ) (text d48590c9-c156-40d7-960a-d72290c2d363 (layer sym_values) (value "{{VALUE}}") (align center top) (height 2.54) (position 0.0 -22.86) (rotation 0.0) ) (text 7e3df6c6-e7b2-4ec0-9224-f97f085534a0 (layer sym_outlines) (value "USB") (align center center) (height 3.5) (position 0.0 17.78) (rotation 0.0) ) ) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.