No Description
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.

fetch_jlc.sh 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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://git.xythobuz.de/thomas/osci-video-pcb |
  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. C713613 `# BC547B Transistor` \
  37. C713617 `# BC557B Transistor` \
  38. C179555 `# 1N4148S Diode` \
  39. C18080 `# RCA Video Connector female` \
  40. C410695 `# THT Resistor 10k 1%` \
  41. C172965 `# THT Resistor 100k 1%` \
  42. C410631 `# THT Resistor 3k3 1%` \
  43. C410657 `# THT Resistor 220 1%` \
  44. C119302 `# THT Resistor 82 1%` \
  45. C713997 `# THT Resistor 1k 1%` \
  46. C410615 `# THT Resistor 470 1%` \
  47. C433604 `# THT Resistor 22 1%` \
  48. C2896897 `# THT Resistor 75 5%` \
  49. C2761733 `# THT Capacitor 10u 25V Ceramic` \
  50. C263180 `# THT Capacitor 10n 50V Ceramic` \
  51. C409817 `# THT Capacitor 4n7 50V Ceramic` \
  52. C6718390 `# THT Capacitor 100u 50V Electrolytic` \
  53. C503219 `# THT Capacitor 10u 50V Electrolytic` \
  54. C1651069 `# THT Capacitor 1u 450V Electrolytic` \
  55. C557648 `# 1x2P 10A 300V 5mm Screw terminal` \
  56. -dir jlc_lib \
  57. -symbol_lib jlc_schematics \
  58. -symbol_lib_dir Schematic \
  59. -footprint_lib jlc_footprints \
  60. --skip_existing