Compare commits

..

18 Commits

Author SHA1 Message Date
4c37b062b2 Add MIT license 2024-10-20 15:57:18 +02:00
21b2bf9b54 Fix paths in workflow trigger 2024-10-20 15:54:44 +02:00
ed8d122518 Only run doc generation workflow when relevant files change 2024-10-20 15:53:42 +02:00
an.tsouchlos
1cc04b9c41 Update Docs 2024-10-20 13:52:18 +00:00
ea328f337a Update README.md
All checks were successful
docs-generation / docs-generation (pull_request) Successful in 20s
2024-10-20 15:51:46 +02:00
an.tsouchlos
c509e80d4d Update Docs 2024-10-20 13:50:20 +00:00
1ad511c7fb Add doc generation workflow
All checks were successful
docs-generation / docs-generation (pull_request) Successful in 20s
2024-10-20 15:48:02 +02:00
7961323b1b Add pulldown resistor to GPIO9 pin 2024-02-23 17:42:07 +01:00
2ebfbe2bcb Fix matching network component values 2023-11-21 19:15:53 +01:00
0b2fcb0e33 Change cap values 2023-11-18 13:57:38 +01:00
4e2a340a43 Check out new version of library and replace usb connector footprint 2023-09-13 22:12:16 +02:00
e5977ce32e Add silk screen text 2023-09-13 21:46:12 +02:00
01beff054f Move status LED 2023-09-13 21:35:49 +02:00
1912c8660d Replace unnecessarily thick traces with thinner ones 2023-09-13 20:40:04 +02:00
30d666a704 Update crystal footprint 2023-09-13 20:26:31 +02:00
238836df23 Check out new version of encyclopedia 2023-09-13 20:26:15 +02:00
f7323f840c Change connector thermal reliefs, various vias 2023-09-13 17:41:26 +02:00
8190236a23 Flip D+ and D- at connector 2023-09-13 17:34:35 +02:00
15 changed files with 64353 additions and 3000 deletions

7
.gitattributes vendored Normal file
View File

@@ -0,0 +1,7 @@
*.csv filter=bom_csv
*.html filter=bom_html
*.gbr filter=gerber
*.gbrjob filter=gbrjob
*.xml filter=xml
*.kicad_pcb filter=kicad_pcb_f
*.net filter=net_filter

20
.gitconfig Normal file
View File

@@ -0,0 +1,20 @@
[filter "bom_csv"]
clean = sed -E 's/^BoM Date:.*$/BoM Date:Date/'
smudge = sed -E \"s/BoM Date:Date/BoM Date:,`date +\\\"%a %d %b %Y %X %:::z\\\"`/\"
[filter "bom_html"]
clean = sed -E 's/^<tr><td>BoM Date<\\/td><td>.*$/<tr><td>BoM Date<\\/td><td>Date<\\/td><\\/tr>/'
smudge = sed -E \"s/<tr><td>BoM Date<\\/td><td>Date<\\/td><\\/tr>/<tr><td>BoM Date<\\/td><td>`date +\\\"%a %d %b %Y %X %:::z\\\"`<\\/td><\\/tr>/\"
[filter "gerber"]
clean = sed -E -e 's/^%TF.CreationDate,.*$/%TF.CreationDate,Date%/' -e 's/^G04 Created by KiCad.*$/G04 Created by KiCad*/'
smudge = sed -E \"s/%TF.CreationDate,Date%/%TF.CreationDate,`date +%Y-%m-%dT%H:%M:%S%:z`/\"
[filter "gbrjob"]
clean = sed -E 's/\"CreationDate\":.*/\"CreationDate\": \"Date\"/'
smudge = sed -E \"s/\\\"CreationDate\\\": \\\"Date\\\"/\\\"CreationDate\\\": \\\"`date +%Y-%m-%dT%H:%M:%S%:z`\\\"/\"
[filter "xml"]
clean = sed -E -e 's/^ <date>.*<\\/date>/ <date>Date2<\\/date>/' -e 's/^ <date>.*<\\/date>/ <date>Date1<\\/date>/'
smudge = sed -E -e \"s/<date>Date1<\\/date>/<date>`date +\\\"%a %d %b %Y %X %:::z\\\"`<\\/date>/\" -e \"s/<date>Date2<\\/date>/<date>`date +\\\"%Y-%m-%d\\\"`<\\/date>/\"
[filter "kicad_pcb_f"]
clean = sed -E 's/\\(host pcbnew ([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+).*/\\(host pcbnew \\1\\)/'
[filter "net_filter"]
clean = sed -E -e 's/\\(date \\\".*\\\"\\)/\\(date \\\"Date\\\"\\)/'
smudge = sed -E -e \"s/\\(date \\\"Date\\\"\\)/\\(date \\\"`date +\\\"%a %d %b %Y %X %:::z\\\"`\\\"\\)/\"

View File

@@ -0,0 +1,23 @@
name: docs-generation
on:
pull_request:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- '**.kicad_pro'
jobs:
docs-generation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v1.8.1
with:
config: config.kibot.yaml
schema: 'HyperLink.kicad_sch'
board: 'HyperLink.kicad_pcb'
- name: upload results
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Update Docs'

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Andreas Tsouchlos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,10 +1,19 @@
# HyperLink # HyperLink
A PCB for gathering data sent out by CommonSense boards over bluetooth and retransmitting it over wifi A PCB for gathering data sent out by CommonSense boards over bluetooth and
retransmitting over wifi.
## Downloading libraries After cloning, the libraries can be downloaded using
After cloning, the libraries have to be downloaded using
```bash ```bash
$ git submodule update --init $ git submodule update --init
``` ```
## PCB
<img width=400 src="./doc/generated/HyperLink-top.svg" />
<img width=400 src="./doc/generated/HyperLink-bottom.svg" />
## Schematic
<img src="./doc/generated/HyperLink-schematic.svg" />

50
config.kibot.yaml Normal file
View File

@@ -0,0 +1,50 @@
kibot:
version: 1
outputs:
- name: 'schematic pdf'
comment: 'Schematic pdf generation'
type: 'pdf_sch_print'
dir: 'doc/generated'
- name: 'schematic svg'
comment: 'Schematic pdf generation'
type: 'svg_sch_print'
dir: 'doc/generated'
options:
background_color: true
- name: 'pcbdraw top svg'
comment: 'PCB top image generation'
type: 'pcbdraw'
dir: 'doc/generated'
options:
bottom: false
style: 'set-blue-cu'
show_components: 'none'
- name: 'pcbdraw top pdn'
comment: 'PCB top image generation'
type: 'pcbdraw'
dir: 'doc/generated'
options:
format: 'png'
dpi: 600
bottom: false
style: 'set-blue-cu'
show_components: 'none'
- name: 'pcbdraw bottom svg'
comment: 'PCB bottom image generation'
type: 'pcbdraw'
options:
bottom: true
style: 'set-blue-cu'
show_components: 'none'
dir: 'doc/generated'
- name: 'pcbdraw bottom png'
comment: 'PCB bottom image generation'
type: 'pcbdraw'
options:
format: 'png'
dpi: 600
bottom: true
style: 'set-blue-cu'
show_components: 'none'
dir: 'doc/generated'

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 434 KiB