let's start somewhere!

This commit is contained in:
rusefillc 2021-02-19 17:00:30 -05:00
parent 277904e8eb
commit f9d75db87b
4 changed files with 26 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
.dep*
build/
build_kinetis/
pinouts
out/
logs/
blbuild/

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 KiB

View File

@ -0,0 +1,18 @@
pins:
- pin: 1
id: EFI_ADC_11
class: analog_inputs
color: white right
function: 12V Supply from main relay output, see also pin #29
ts_name: Battery Sense
type: 12V
info:
image:
file: main.jpg
pins:
- pin: 1
x: 1508
y: 445

View File

@ -1,6 +1,12 @@
#!/bin/bash
CONNECTORS=$(find -path "./firmware/config/boards/*/connectors/*.yaml")
if [ -z $1 ] ; then
echo "Specific yaml parameter not specified, searching for */connectors/*.yaml"
CONNECTORS=$(find -path "./firmware/config/boards/*/connectors/*.yaml")
else
CONNECTORS=$1
echo "Processing $CONNECTORS"
fi
for c in $CONNECTORS; do
echo "processing "$c
DIR="pinouts/"$(echo $c | tr '/' '\n' | tail -n +5 | head -n -2 | tr '\n' '/')