Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #!/bin/bash
  2. # SPDX-FileCopyrightText: 2023 - 2024 Thomas Buck <thomas@xythobuz.de>
  3. # SPDX-License-Identifier: CERN-OHL-S-2.0+
  4. #
  5. # ------------------------------------------------------------------------------
  6. # | Copyright (c) 2023 - 2024 Thomas Buck <thomas@xythobuz.de> |
  7. # | |
  8. # | This source describes Open Hardware and is licensed under the CERN-OHL-S v2 |
  9. # | or any later version. |
  10. # | |
  11. # | You may redistribute and modify this source and make products using it under |
  12. # | the terms of the CERN-OHL-S v2 (https://ohwr.org/cern_ohl_s_v2.txt) |
  13. # | or any later version. |
  14. # | |
  15. # | This source is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, |
  16. # | INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A |
  17. # | PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 (or any later version) |
  18. # | for applicable conditions. |
  19. # | |
  20. # | Source location: https://github.com/drinkrobotics/dispensy |
  21. # | |
  22. # | As per CERN-OHL-S v2 section 4, should You produce hardware based on this |
  23. # | source, You must where practicable maintain the Source Location visible |
  24. # | on the external case of the Gizmo or other products you make using this |
  25. # | source. |
  26. # ------------------------------------------------------------------------------
  27. # Depends on:
  28. # https://github.com/TousstNicolas/JLC2KiCad_lib
  29. # (or https://github.com/Xyntexx/JLC2KiCad_lib/tree/footprint_alignment_workarounds)
  30. # enter directory of script
  31. cd "$(dirname "$0")"
  32. # create output directory
  33. mkdir -p jlc_lib
  34. # fetch / update parts libs
  35. JLC2KiCadLib \
  36. C2040 `# RP2040` \
  37. C113767 `# W25Q128JVSIQ 128Mbit SPI NOR FLASH` \
  38. C26537 `# NCP1117ST33T3G 3.3V 1A LDO !! LOW STOCK !!` \
  39. C22452 `# SS54 40V 5A Schottky Barrier Diode` \
  40. C132227 `# TJA1042T/3/1J CAN Transceiver` \
  41. C86580 `# DS1129-05-S80BP-X RJ45 2x Socket` \
  42. C194472 `# LM2576S-5.0/TR Step Down` \
  43. C134092 `# Molex USB-C Socket` \
  44. C386740 `# USB-A Female` \
  45. C720525 `# USB-A Female` \
  46. C148313 `# ABM3-12.000MHZ-D2Y-T 12MHz Ceramic Resonator` \
  47. C279981 `# 1kΩ 0402 62.5mW ±1%` \
  48. C140675 `# 27pF 0402 50V Ceramic Capacitor` \
  49. C409700 `# 5.1kΩ 0402 62.5mW ±1%` \
  50. C172043 `# 27.4Ω 0402 62.5mW ±1%` \
  51. C105883 `# 100nF 0402 25V Ceramic Capacitor` \
  52. C83063 `# 1uF 0402 16V Ceramic Capacitor` \
  53. C2920042 `# WS2812E-V5 RGB LED` \
  54. C520861 `# SPST Tactile Switch` \
  55. C406733 `# 10kΩ 0402 62.5mW ±1%` \
  56. C380316 `# 10uF 0603 10V Ceramic Capacitor` \
  57. C144787 `# 1MΩ 0402 62.5mW ±1%` \
  58. C2937625 `# Straight Square Pins 2.54mm 3P` \
  59. C234182 `# Straight Square Pins 2.54mm 2P` \
  60. C146690 `# Female Header 2.54mm 3P` \
  61. C350310 `# Female Header 2.54mm 4P` \
  62. C40877 `# Female Header 2.54mm 6P` \
  63. C144481 `# 60.4Ω 1206 250mW ±1%` \
  64. C697422 `# 47nF 0402 50V Ceramic Capacitor` \
  65. C237221 `# 4.7nF 0402 50V Ceramic Capacitor` \
  66. C106200 `# 100pF 0402 50V Ceramic Capacitor` \
  67. C5613 `# 74HC165D Parallel to Serial Shift Register` \
  68. C2909114 `# SMD Rotary Encoder` \
  69. C475721 `# MBR340F 40V 3A Schottky Barrier Diode` \
  70. C497903 `# Inductor 100uH ±20% 2A` \
  71. C249838 `# 100uF 80V Electrolytic Capacitor` \
  72. C310843 `# 1000uF 16V Electrolytic Capacitor` \
  73. C280408 `# 1000uF 16V Electrolytic Capacitor` \
  74. C496132 `# 1x4P Barrier Block 7.62mm 20A 300V` \
  75. C347222 `# AMS1117-3.3 3.3V 1A LDO` \
  76. C557648 `# 1x2P 10A 300V 5mm Screw terminal` \
  77. C880594 `# 1x3P 10A 300V 5mm Screw terminal` \
  78. C2982285 `# ASMD1812-350-16V 16V 3.5A/6A Resettable Fuse` \
  79. C84264 `# LED Green 0603` \
  80. C881044 `# 147kΩ 0402 62.5mW ±1%` \
  81. -dir jlc_lib \
  82. -symbol_lib jlc_schematics \
  83. -symbol_lib_dir Schematic \
  84. -footprint_lib jlc_footprints \
  85. --skip_existing