This commit is contained in:
rusefillc 2022-05-21 17:41:12 -04:00
parent 17039a8b05
commit c47295b5e6
6 changed files with 90 additions and 29 deletions

View File

@ -1,6 +1,6 @@
name: Check All
on: [push, pull_request]
on: [ push, pull_request ]
jobs:
build-firmware:
@ -13,12 +13,26 @@ jobs:
- name: 1. Build Docker
run: |
bash step1_build_hellen-one_docker.sh
bash hellen-one/bin/step1_build_hellen-one_docker.sh
- name: 2. Copy
run: |
bash step2_copy_with_docker.sh
# - name: 3. Create Board
# run: |
# bash step3_create_board_with_docker.sh
bash hellen-one/bin/step2_copy_with_docker.sh
- name: 3. Create Board
run: |
bash hellen-one/bin/step3_create_board_with_docker.sh
- name: Commit fresh board files
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
run: |
bash hellen-one/bin/gha-commit.sh
- name: Push board files
if: ${{env.NOCOMMIT != 'true'}}
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
branch: ${{ steps.extract_branch.outputs.branch }}

View File

@ -0,0 +1,60 @@
# remove the jumper connection from VCC_PP1 to +5V: we need +12v power supply for push-pull outputs.
R309,
# remove +5V pull-ups from SPI1, because we use it with +3.3v accelerometer
R103,
R105,
# remove jumper resistor connecting BOOT1 with A22 input line, because we use STM32F4
R131,
# JLC stock adjustments
# STM32
U105,"STM32F429IGT6 ","LQFP176","C54328"
# DC-DC Inductor
L421,"MWSA0503S-100MT","SMD-5.2x5.4x2.8","C408412"
L420,"LBC3225T2R2MR","1210","C223413"
#power distribution
U103,"AP2331W-7","SOT-23","C460346"
U480,"AP2331W-7","SOT-23","C460346"
# LMR14020->LMR14030 (more power, no problem)
U420,"LMR14030","SOP8","C182078"
#Vbat LDO
U410,"LP2981-33DBVR","SOT-23-5","C129997"
#INJ low-side
Q305,"ZXMS6005SGTA","SOT-223","C174042"
Q306,"ZXMS6005SGTA","SOT-223","C174042"
Q307,"ZXMS6005SGTA","SOT-223","C174042"
Q308,"ZXMS6005SGTA","SOT-223","C174042"
Q309,"ZXMS6005SGTA","SOT-223","C174042"
Q310,"ZXMS6005SGTA","SOT-223","C174042"
Q311,"ZXMS6005SGTA","SOT-223","C174042"
Q312,"ZXMS6005SGTA","SOT-223","C174042"
#fuses
F410,"nSMD050-24V","F1206","C70076"
F300,"nSMD050-24V","F1206","C70076"
#3.3 reference
#U603,"REF3333AIDBZR","SOT-23","C130016"
#IGN buf
U460,"74LVC4245APW,118","TSSOP-24","C6091"
#non-JLC components
#WBO low-side
Q600,
#WBO STM32
U602,
#pressure sensor
U2,
#ETB driver
U1,
Can't render this file because it has a wrong number of fields in line 2.

@ -1 +1 @@
Subproject commit 70f074853c7cf6de2625d1aa3bea460ecb2c16e9
Subproject commit ccce677b95ae221da30ae894b5222f4e286799dc

8
revision.txt Normal file
View File

@ -0,0 +1,8 @@
# make sure to increment revision BEFORE any changes to content
BOARD_PREFIX=hellen
BOARD_SUFFIX=121vag
BOARD_REVISION=d
# does not affect fab files, only needed to have nice rendered preview
BOARD_PCB_OFFSET=80,0

View File

@ -1,10 +0,0 @@
#!/bin/bash
if [ ! -f hellen-one/git_scripts ]; then
echo "No submodules?"
git submodule update --init --recursive
fi
cd hellen-one
docker build -t hellen-one .

View File

@ -1,11 +0,0 @@
#!/bin/bash
if [ ! -f hellen-one/git_scripts ]; then
echo "No submodules?"
git submodule update --init --recursive
fi
# See step2_copy_with_docker.sh for explanation of the following command
docker run --rm -t --user $(id -u):$(id -g) --entrypoint bash -v "$(pwd)":/${PWD##*/} hellen-one ./bin/create_board_with_prefix.sh "hellen" "/${PWD##*/}" "121vag" "c" "bom_replace_121vag-c.csv " "0,4"