Compare commits
27 Commits
4591e10e13
..
docu
| Author | SHA1 | Date | |
|---|---|---|---|
| 56751a239e | |||
| 07f03151e8 | |||
| ff5dd4c2b8 | |||
| 5bf265ba90 | |||
| 5a2cdaacba | |||
| 6fc1fd4ebd | |||
| f08f280965 | |||
| 738f7bee55 | |||
| 371e6ad84b | |||
| 6774fef6b4 | |||
| 3d91f6951a | |||
| bc9a5bc91c | |||
| c31d604cc3 | |||
| 651541da82 | |||
| a5e5a3b96d | |||
| 6c815bbed7 | |||
| 35a81613fd | |||
| 68b663de04 | |||
| 90b88e08ce | |||
| 57e2a0ecc0 | |||
| 59daa4d4eb | |||
| 5594ab60b3 | |||
| 73e2e7840d | |||
| 304f59b602 | |||
| aee4de4a96 | |||
| a48a8df10e | |||
| d64529a317 |
@@ -0,0 +1,34 @@
|
|||||||
|
name: generate-docgen
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
jobs:
|
||||||
|
build-and-test:
|
||||||
|
runs-on: kicad-docgen-runner
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Configure git
|
||||||
|
run: |
|
||||||
|
git config --global user.email "${{ gitea.actor }}@noreply.localhost"
|
||||||
|
git config --global user.name "${{ gitea.actor }}"
|
||||||
|
|
||||||
|
- name: Generate html docgen
|
||||||
|
run: typecad-docgen input.md ./kicad/PowerModule/PowerModule.kicad_pcb
|
||||||
|
|
||||||
|
- name: Commit and Push Changes
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git add .
|
||||||
|
if ! git diff --cached --quiet; then
|
||||||
|
git commit -m "chore: update generated docs"
|
||||||
|
# Create HTTPS URL with token embedded
|
||||||
|
REPO_URL=$(git config --get remote.origin.url)
|
||||||
|
AUTHED_URL=${REPO_URL/https:\/\//https:\/\/${GITEA_TOKEN}@}
|
||||||
|
git push "$AUTHED_URL" HEAD:main
|
||||||
|
else
|
||||||
|
echo "No changes to commit"
|
||||||
|
fi
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
name: "Variants demo using --quick-start"
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the master branch
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'kicad/c64psu/*.kicad_sch'
|
||||||
|
- 'kicad/c64psu/*.kicad_pcb'
|
||||||
|
- '.gitea/workflows/kibot_quick_start.yml'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'kicad/c64psu/*.kicad_sch'
|
||||||
|
- 'kicad/c64psu/*.kicad_pcb'
|
||||||
|
- '.gitea/workflows/kibot_quick_start.yml'
|
||||||
|
repository_dispatch:
|
||||||
|
types: [run_qs]
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
quick-start:
|
||||||
|
runs-on: kicad-kibot-runner
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
# So we can run a diff between last 2 changes
|
||||||
|
fetch-depth: '0'
|
||||||
|
|
||||||
|
- name: Quick Start
|
||||||
|
run: |
|
||||||
|
kibot --quick-start
|
||||||
|
|
||||||
|
- name: Retrieve results
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Automatic_outputs
|
||||||
|
path: Generated
|
||||||
|
|
||||||
|
# This step is to upload the results to another repo (web pages)
|
||||||
|
deploy:
|
||||||
|
runs-on: kicad-kibot-runner
|
||||||
|
needs: quick-start
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Retrieve results
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: Automatic_outputs
|
||||||
|
path: Generated
|
||||||
|
|
||||||
|
- name: Disable Jekyll
|
||||||
|
# Jekyll will filter the KiRi folders
|
||||||
|
run: |
|
||||||
|
touch Generated/.nojekyll
|
||||||
|
|
||||||
|
- name: Push to docu branch
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
run: |
|
||||||
|
# Set up git identity
|
||||||
|
git config --global user.email "${{ gitea.actor }}@noreply.localhost"
|
||||||
|
git config --global user.name "${{ gitea.actor }}"
|
||||||
|
|
||||||
|
# Get the repository URL and add authentication
|
||||||
|
REPO_URL=$(git config --get remote.origin.url)
|
||||||
|
AUTHED_URL=${REPO_URL/https:\/\//https:\/\/${GITEA_TOKEN}@}
|
||||||
|
|
||||||
|
# Clone the docu branch into a separate folder
|
||||||
|
git clone --depth 1 --branch docu "$AUTHED_URL" docu-branch || \
|
||||||
|
git clone --depth 1 "$AUTHED_URL" docu-branch
|
||||||
|
|
||||||
|
cd docu-branch
|
||||||
|
git checkout -B docu
|
||||||
|
|
||||||
|
# Clean old contents and copy new files
|
||||||
|
rm -rf ./*
|
||||||
|
cp -r ../Generated/* ./
|
||||||
|
|
||||||
|
# Commit and push if there are changes
|
||||||
|
git add .
|
||||||
|
if ! git diff --cached --quiet; then
|
||||||
|
git commit -m "chore: update deployed documentation"
|
||||||
|
git push --force "$AUTHED_URL" docu
|
||||||
|
else
|
||||||
|
echo "No changes to deploy"
|
||||||
|
fi
|
||||||
+92902
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,26 @@
|
|||||||
|
Ref,Val,Package,PosX,PosY,Rot,Side
|
||||||
|
"C2","10uF","C_0402_1005Metric",157.7620,-62.6872,180.0000,bottom
|
||||||
|
"C12","10uF","C_1210_3225Metric",160.4772,-81.2292,0.0000,bottom
|
||||||
|
"C13","10uF","C_1210_3225Metric",160.4772,-78.0288,0.0000,bottom
|
||||||
|
"C17","10uF","C_1210_3225Metric",160.2232,-91.2876,180.0000,bottom
|
||||||
|
"C21","10uF","C_0402_1005Metric",189.3316,-82.0192,-90.0000,bottom
|
||||||
|
"C22","100nF","C_0402_1005Metric",190.3476,-81.7880,90.0000,bottom
|
||||||
|
"C23","10uF","C_1206_3216Metric",199.8200,-48.6700,-90.0000,bottom
|
||||||
|
"C24","100nF","C_0402_1005Metric",157.7340,-63.6524,0.0000,bottom
|
||||||
|
"C25","10uF","C_1206_3216Metric",172.7217,-83.8137,-90.0000,bottom
|
||||||
|
"C42","100nF 50V","C_0402_1005Metric",201.5744,-48.6664,-90.0000,bottom
|
||||||
|
"C43","10uF","C_1206_3216Metric",175.2537,-83.7622,-90.0000,bottom
|
||||||
|
"C44","10uF","C_1210_3225Metric",160.1724,-94.6912,180.0000,bottom
|
||||||
|
"D2","SMAJ15CA","D_SMA",196.6468,-48.7868,90.0000,bottom
|
||||||
|
"JP3","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",215.4428,-65.4862,0.0000,bottom
|
||||||
|
"JP4","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",210.1088,-65.5370,0.0000,bottom
|
||||||
|
"R2","20k","R_0603_1608Metric",198.3740,-41.5036,-45.0000,bottom
|
||||||
|
"R22","4k7","R_0603_1608Metric",193.9036,-83.0072,90.0000,bottom
|
||||||
|
"R24","4k7","R_0603_1608Metric",193.9036,-86.0552,-90.0000,bottom
|
||||||
|
"R25","470","R_0603_1608Metric",196.1896,-83.7692,0.0000,bottom
|
||||||
|
"R26","205","R_0603_1608Metric",196.9516,-81.4710,90.0000,bottom
|
||||||
|
"R27","470","R_0603_1608Metric",191.0588,-87.0204,180.0000,bottom
|
||||||
|
"R28","20k","R_0603_1608Metric",198.6788,-54.4576,-135.0000,bottom
|
||||||
|
"U1","INA180A2","SOT-23-5",158.3436,-60.1472,-90.0000,bottom
|
||||||
|
"U3","LM321","SOT-23-5",190.9064,-84.5312,180.0000,bottom
|
||||||
|
"U7","LM4041CIM3X-1.2/NOPB","SOT-23",199.6948,-83.0213,0.0000,bottom
|
||||||
|
@@ -0,0 +1,94 @@
|
|||||||
|
Ref,Val,Package,PosX,PosY,Rot,Side
|
||||||
|
"C1","10uF","C_1210_3225Metric",144.3500,-56.3900,-90.0000,top
|
||||||
|
"C3","10uF","C_1210_3225Metric",157.6832,-49.8348,180.0000,top
|
||||||
|
"C4","10uF","C_0805_2012Metric",176.3268,-54.1020,0.0000,top
|
||||||
|
"C5","10uF","C_0805_2012Metric",175.7172,-42.7888,90.0000,top
|
||||||
|
"C6","10uF","C_0805_2012Metric",177.8508,-42.7736,90.0000,top
|
||||||
|
"C7","10uF","C_0805_2012Metric",179.9336,-42.7736,90.0000,top
|
||||||
|
"C8","10uF","C_1210_3225Metric",166.0652,-59.0296,90.0000,top
|
||||||
|
"C9","100nF","C_0402_1005Metric",168.5200,-51.8000,0.0000,top
|
||||||
|
"C10","10uF","C_1210_3225Metric",157.6943,-53.0753,0.0000,top
|
||||||
|
"C11","100nF","C_0402_1005Metric",169.1211,-57.7368,180.0000,top
|
||||||
|
"C14","10uF","C_1210_3225Metric",166.6240,-63.0936,180.0000,top
|
||||||
|
"C15","10uF","C_1210_3225Metric",166.6240,-66.3448,180.0000,top
|
||||||
|
"C16","10uF","C_1210_3225Metric",166.6240,-69.6468,0.0000,top
|
||||||
|
"C18","10uF","C_1210_3225Metric",154.8892,-71.8820,180.0000,top
|
||||||
|
"C19","10uF","C_1206_3216Metric",175.4124,-83.6864,-90.0000,top
|
||||||
|
"C20","1uF","C_0402_1005Metric",147.1398,-98.0270,180.0000,top
|
||||||
|
"C26","10uF","C_1210_3225Metric",154.8892,-62.0776,180.0000,top
|
||||||
|
"C27","1uF","C_0402_1005Metric",159.0268,-81.4832,0.0000,top
|
||||||
|
"C28","1uF","C_0402_1005Metric",158.7500,-94.6404,0.0000,top
|
||||||
|
"C29","1uF","C_0402_1005Metric",163.0680,-77.6732,90.0000,top
|
||||||
|
"C30","1uF","C_0402_1005Metric",163.0172,-90.9828,90.0000,top
|
||||||
|
"C31","10uF","C_1210_3225Metric",154.8892,-68.6308,0.0000,top
|
||||||
|
"C32","100nF 50V","C_0402_1005Metric",158.7500,-93.6752,0.0000,top
|
||||||
|
"C33","10uF","C_1210_3225Metric",154.8910,-65.3288,180.0000,top
|
||||||
|
"C34","100nF 50V","C_0402_1005Metric",163.9824,-90.9828,-90.0000,top
|
||||||
|
"C35","100nF","C_0402_1005Metric",152.1169,-74.8833,90.0000,top
|
||||||
|
"C36","1uF","C_0402_1005Metric",147.1346,-97.0618,180.0000,top
|
||||||
|
"C37","10uF","C_0805_2012Metric",182.0164,-42.7736,90.0000,top
|
||||||
|
"C38","10uF","C_0805_2012Metric",176.3268,-52.0700,0.0000,top
|
||||||
|
"C39","10uF","C_0805_2012Metric",172.7279,-52.1487,180.0000,top
|
||||||
|
"C40","100nF 50V","C_0402_1005Metric",164.0332,-77.6732,-90.0000,top
|
||||||
|
"C41","100nF 50V","C_0402_1005Metric",159.0040,-80.5180,0.0000,top
|
||||||
|
"C46","10uF","C_0402_1005Metric",150.6945,-80.3977,180.0000,top
|
||||||
|
"C47","100nF","C_0402_1005Metric",143.7082,-85.7334,0.0000,top
|
||||||
|
"C48","10uF","C_0402_1005Metric",149.0422,-98.0270,0.0000,top
|
||||||
|
"C49","100nF","C_0402_1005Metric",149.0422,-97.0618,180.0000,top
|
||||||
|
"C59","100nF","C_0402_1005Metric",151.1250,-95.7410,0.0000,top
|
||||||
|
"C60","100nF","C_0402_1005Metric",151.6838,-87.2574,90.0000,top
|
||||||
|
"C61","100nF","C_0402_1005Metric",141.3206,-88.1210,90.0000,top
|
||||||
|
"C62","100nF","C_0402_1005Metric",150.0849,-74.8605,90.0000,top
|
||||||
|
"C63","100nF","C_0402_1005Metric",152.5461,-81.3629,0.0000,top
|
||||||
|
"C94","16pF","C_0402_1005Metric",139.8982,-93.4042,45.0000,top
|
||||||
|
"C97","16pF","C_0402_1005Metric",138.3742,-89.3402,45.0000,top
|
||||||
|
"C104","1uF","C_0402_1005Metric",145.8075,-64.6568,180.0000,top
|
||||||
|
"C142","10uF","C_0402_1005Metric",152.5233,-80.3977,0.0000,top
|
||||||
|
"D1","LED","LED_0603_1608Metric",145.8900,-59.5100,0.0000,top
|
||||||
|
"D3","SMAJ15A","D_SMA",145.5311,-49.2531,0.0000,top
|
||||||
|
"D4","SMAJ18CA","D_SMA",172.4660,-83.7184,90.0000,top
|
||||||
|
"D27","SD103AWS","D_SOD-323",148.7882,-100.4654,180.0000,top
|
||||||
|
"IC1","AP33771CFBZ-13","SON40P300X300X80-15N-D",146.8175,-62.2368,180.0000,top
|
||||||
|
"IC2","TPP363082-T6TR","SOT95P280X95-6N",168.6131,-54.2824,0.0000,top
|
||||||
|
"J1","GSB1C4621DS1HR","AMPHENOL_GSB1C4621DS1HR",134.8500,-53.7750,-90.0000,top
|
||||||
|
"J2","DIN-7","CUI_SDS-70J",210.9800,-48.4400,90.0000,top
|
||||||
|
"J3","Conn_ST_STDC14","PinHeader_2x07_P1.27mm_Vertical_SMD",140.8634,-76.8942,-90.0000,top
|
||||||
|
"JP1","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",170.8354,-69.3928,90.0000,top
|
||||||
|
"JP2","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",171.1402,-100.7872,90.0000,top
|
||||||
|
"JP5","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",170.7846,-65.6844,90.0000,top
|
||||||
|
"JP6","Jumper_2_Open","PinHeader_1x02_P2.54mm_Vertical",171.1402,-97.0788,90.0000,top
|
||||||
|
"L1","15uH","CSBX1060",169.0195,-45.5448,90.0000,top
|
||||||
|
"MOSFET1","SQJ560EP-T1_GE3","POWERPAK_SO-8L_DUAL_VIS",167.9321,-77.2650,-90.0000,top
|
||||||
|
"MOSFET2","SQJ560EP-T1_GE3","POWERPAK_SO-8L_DUAL_VIS",167.8686,-90.5492,-90.0000,top
|
||||||
|
"Q1","DI025N06PT-AQ","TRANS_DI025N06PT-AQ",154.7100,-57.7498,180.0000,top
|
||||||
|
"Q5","DI025N06PT-AQ","TRANS_DI025N06PT-AQ",152.8651,-53.6728,0.0000,top
|
||||||
|
"R1","5m","R_0603_1608Metric",146.8707,-53.3171,0.0000,top
|
||||||
|
"R3","10","R_0402_1005Metric",151.5951,-57.7387,-90.0000,top
|
||||||
|
"R4","1k","R_0603_1608Metric",148.2475,-58.6668,90.0000,top
|
||||||
|
"R5","52k 1%","R_0603_1608Metric",139.3523,-61.0388,180.0000,top
|
||||||
|
"R6","52k 1%","R_0603_1608Metric",139.3473,-62.5487,180.0000,top
|
||||||
|
"R7","100","R_0603_1608Metric",150.9250,-64.2500,180.0000,top
|
||||||
|
"R8","510k","R_0603_1608Metric",169.2778,-59.5376,0.0000,top
|
||||||
|
"R9","~","R_0402_1005Metric",169.1211,-56.6699,0.0000,top
|
||||||
|
"R10","4.7","R_0402_1005Metric",163.4744,-89.5604,0.0000,top
|
||||||
|
"R11","4.7","R_0402_1005Metric",163.4744,-92.8624,0.0000,top
|
||||||
|
"R12","4.7","R_0402_1005Metric",163.5252,-76.2508,0.0000,top
|
||||||
|
"R13","4.7","R_0402_1005Metric",163.5252,-79.6036,0.0000,top
|
||||||
|
"R14","5.1k","R_0603_1608Metric",139.3444,-64.1096,180.0000,top
|
||||||
|
"R15","5.1k","R_0603_1608Metric",139.3322,-65.6844,180.0000,top
|
||||||
|
"R16","10","R_0402_1005Metric",142.9512,-84.7344,180.0000,top
|
||||||
|
"R19","5.1k","R_0603_1608Metric",157.4292,-86.2584,90.0000,top
|
||||||
|
"R20","5.1k","R_0603_1608Metric",155.9052,-86.2584,90.0000,top
|
||||||
|
"R21","5m","R_0805_2012Metric",160.8328,-60.0964,-90.0000,top
|
||||||
|
"R23","200m","R_0402_1005Metric",149.0422,-98.9922,180.0000,top
|
||||||
|
"R29","10.2k","R_0402_1005Metric",171.5595,-54.2843,-90.0000,top
|
||||||
|
"R30","1.37k","R_0402_1005Metric",171.5595,-56.2127,-90.0000,top
|
||||||
|
"R31","5.1k","R_0603_1608Metric",160.2740,-73.0504,90.0000,top
|
||||||
|
"R32","5.1k","R_0603_1608Metric",158.6992,-73.0626,90.0000,top
|
||||||
|
"R71","27k","R_0402_1005Metric",147.1626,-98.9922,180.0000,top
|
||||||
|
"T1","Transformer_1P_1S","9VAC_TRANSF",198.3700,-84.1100,0.0000,top
|
||||||
|
"U2","STM32G474CBTx","LQFP-48_7x7mm_P0.5mm",147.0102,-91.3722,0.0000,top
|
||||||
|
"U4","FAN3278","SOIC-8_3.9x4.9mm_P1.27mm",158.7642,-90.5002,0.0000,top
|
||||||
|
"U5","FAN3278","SOIC-8_3.9x4.9mm_P1.27mm",158.8008,-77.3176,0.0000,top
|
||||||
|
"U8","TLV75733PDBVR","SOT-23-5",151.0642,-77.8577,-90.0000,top
|
||||||
|
"Y2","40MHz 10pF","Crystal_SMD_2520-4Pin_2.5x2.0mm",139.3902,-91.1182,45.0000,top
|
||||||
|
@@ -0,0 +1,65 @@
|
|||||||
|
Reference,Value,Qty,Package,Description,Manufacturer,Part Number,LCSC Part,Digikey Part,Mouser Part
|
||||||
|
"C94,C97",16pF,2,C_0402_1005Metric,Unpolarized capacitor,,CC0402FRNPO9BN160,,,
|
||||||
|
"C9,C11,C22,C24,C32,C34,C35,C40,C41,C42,C47,C49,C59,C60,C61,C62,C63",100nF,17,C_0402_1005Metric,Unpolarized capacitor,,CC0402KRX5R9BB104 GRM155R61H104ME14,,,
|
||||||
|
"C20,C27,C28,C29,C30,C36,C104",1uF,7,C_0402_1005Metric,Unpolarized capacitor,,CC0402KRX5R6BB105 CC0402KPX5R8BB105,,,
|
||||||
|
"C1,C3,C8,C10,C12,C13,C14,C15,C16,C17,C18,C26,C31,C33,C44",10uF,15,C_1210_3225Metric,Unpolarized capacitor,,UMK325BJ106KM-P,,,
|
||||||
|
"C2,C21,C46,C48,C142",10uF,5,C_0402_1005Metric,Unpolarized capacitor,,CC0402MPX5R5BB106,,,
|
||||||
|
"C4,C5,C6,C7,C37,C38,C39",10uF,7,C_0805_2012Metric,Unpolarized capacitor,,GRM21BR61C106KE15K,,,
|
||||||
|
D1,LED,1,LED_0603_1608Metric,Light emitting diode,,IN-S63AT5B,,,
|
||||||
|
D27,SD103AWS,1,D_SOD-323,Schottky diode,,SD103AWS,,,
|
||||||
|
D3,SMAJ15A,1,D_SMA,"400W unidirectional Transient Voltage Suppressor, 15.0Vr, SMA(DO-214AC)",,SMAJ15A,,,
|
||||||
|
D2,SMAJ15CA,1,D_SMA,"400W bidirectional Transient Voltage Suppressor, 15.0Vr, SMA(DO-214AC)",,SMAJ15CA,,,
|
||||||
|
D4,SMAJ18CA,1,D_SMA,,,SMAJ18CA,,,
|
||||||
|
IC1,AP33771CFBZ-13,1,SON40P300X300X80-15N-D,USB Interface IC USB Ext Power Range W-DFN3030-14 T&R 3K,,AP33771CFBZ-13,,,
|
||||||
|
IC2,TPP363082-T6TR,1,SOT95P280X95-6N,Step-Down DC-DC Voltage Converter IC TSOT23-6,,TPP363082-T6TR,,,
|
||||||
|
J3,Conn_ST_STDC14,1,PinHeader_2x07_P1.27mm_Vertical_SMD,"ST Debug Connector, standard ARM Cortex-M SWD and JTAG interface plus UART",,3221-14-0300-00,,,
|
||||||
|
J2,DIN-7,1,CUI_SDS-70J,7-pin DIN connector,,SDS-70J,,,
|
||||||
|
J1,GSB1C4621DS1HR,1,AMPHENOL_GSB1C4621DS1HR,"USB-C (USB TYPE-C) USB 2.0 Receptacle Connector 24 (16+8 Dummy) Position Surface Mount, Right Angle",Amphenol,GSB1C4621DS1HR,,,
|
||||||
|
"JP1,JP2,JP3,JP4,JP5,JP6",Jumper_2_Open,6,PinHeader_1x02_P2.54mm_Vertical,"Jumper, 2-pole, open",,JL-100-25-T,,,
|
||||||
|
L1,15uH,1,CSBX1060,Inductor,,CSBX1060-150M,,,
|
||||||
|
"MOSFET1,MOSFET2",SQJ560EP-T1_GE3,2,POWERPAK_SO-8L_DUAL_VIS,,,SQJ560EP-T1_GE3,,,
|
||||||
|
"Q1,Q5",DI025N06PT-AQ,2,TRANS_DI025N06PT-AQ,,Diotec Semiconductor,DI025N06PT-AQ,,,
|
||||||
|
R1,5m,1,R_0603_1608Metric,Resistor,,PE0603FRF570R005L,,,
|
||||||
|
R21,5m,1,R_0805_2012Metric,Resistor,,PA0805FRF470R005L,,,
|
||||||
|
R23,200m,1,R_0402_1005Metric,Resistor,,PT0402FR-7W0R2L,,,
|
||||||
|
"R10,R11,R12,R13",4.7,4,R_0402_1005Metric,Resistor,,RT0402BRE074R7L,,,
|
||||||
|
"R3,R16",10,2,R_0402_1005Metric,Resistor,,RT0402FRE0710RL,,,
|
||||||
|
R7,100,1,R_0603_1608Metric,Resistor,,RC0603FR-13100RL,,,
|
||||||
|
R26,205,1,R_0603_1608Metric,Resistor,,RT0603BRD07205RL,,,
|
||||||
|
"R25,R27",470,2,R_0603_1608Metric,Resistor,,RT0603BRD07470RL,,,
|
||||||
|
R4,1k,1,R_0603_1608Metric,Resistor,,RC0603JR-131KL,,,
|
||||||
|
R30,1.37k,1,R_0402_1005Metric,Resistor,,RT0402DRE071K37L,,,
|
||||||
|
"R22,R24",4k7,2,R_0603_1608Metric,Resistor,,RT0603BRD074K7L,,,
|
||||||
|
"R14,R15,R19,R20,R31,R32",5.1k,6,R_0603_1608Metric,Resistor,,RC0603FR-075K1L,,,
|
||||||
|
R29,10.2k,1,R_0402_1005Metric,Resistor,,RT0402DRD0710K2L,,,
|
||||||
|
"R2,R28,R47",20k,3,R_0603_1608Metric,Resistor,,RC0603FR-1320KL,,,
|
||||||
|
R71,27k,1,R_0402_1005Metric,Resistor,,RC0402JR-0727KL,,,
|
||||||
|
"R5,R6",52k 1%,2,R_0603_1608Metric,Resistor,,RT0603BRD0752K3L,,,
|
||||||
|
"R43,R46",100k,2,R_0603_1608Metric,Resistor,,,,,
|
||||||
|
R45,180k,1,R_0603_1608Metric,Resistor,,,,,
|
||||||
|
R44,200k,1,R_0603_1608Metric,Resistor,,,,,
|
||||||
|
R8,510k,1,R_0603_1608Metric,Resistor,,RC0603FR-07510KL,,,
|
||||||
|
"U4,U5",FAN3278,2,SOIC-8_3.9x4.9mm_P1.27mm,"8-27V PMOS-NMOS Bridge Driver, SOIC-8",,FAN3278T,,,
|
||||||
|
U1,INA180A2,1,SOT-23-5,"Current Sense Amplifier, 1 Circuit, Rail-to-Rail, 26V, Gain 50 V/V, SOT-23-5",,INA180A2IDBVR,,,
|
||||||
|
U3,LM321,1,SOT-23-5,"Low Power Single Operational Amplifier, SOT-23-5",,LM321AW-S5TR,,,
|
||||||
|
U7,LM4041CIM3X-1.2/NOPB,1,SOT-23,"2.048V Precision Micropower Shunt Voltage Reference, SOT-23",,LM4041CIM3X-1.2/NOPB,,,
|
||||||
|
U2,STM32G474CBTx,1,LQFP-48_7x7mm_P0.5mm,"STMicroelectronics Arm Cortex-M4 MCU, 128KB flash, 128KB RAM, 170 MHz, 1.71-3.6V, 38 GPIO, LQFP48",,STM32G474CBT6,,,
|
||||||
|
U8,TLV75733PDBVR,1,SOT-23-5,"200mA Low Dropout Voltage Regulator, Fixed Output 1.2V, SOT-23-5",,TLV75733PDBVR,,,
|
||||||
|
Y2,40MHz 10pF,1,Crystal_SMD_2520-4Pin_2.5x2.0mm,"Four pin crystal, GND on pins 2 and 4",,ECS-400-10-36B2-CKM-TR,,,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Project info:
|
||||||
|
Schematic:,c64psu
|
||||||
|
Variant:,default
|
||||||
|
Revision:,
|
||||||
|
Date:,2025-12-16_10-23-18
|
||||||
|
KiCad Version:,9.0.1+1
|
||||||
|
Statistics:
|
||||||
|
Component Groups:,51
|
||||||
|
Component Count:,133
|
||||||
|
Fitted Components:,117
|
||||||
|
Number of PCBs:,1
|
||||||
|
Total Components:,117
|
||||||
|
@@ -0,0 +1,872 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Bill of Materials - c64psu</title>
|
||||||
|
<style>
|
||||||
|
.cell-title { vertical-align: bottom; }
|
||||||
|
.cell-info { vertical-align: top; padding: 1em;}
|
||||||
|
.cell-extra-info { vertical-align: top; padding: 1em;}
|
||||||
|
.cell-stats { vertical-align: top; padding: 1em;}
|
||||||
|
.title { font-size:2.5em; font-weight: bold; }
|
||||||
|
.subtitle { font-size:1.5em; font-weight: bold; }
|
||||||
|
.h2 { font-size:1.5em; font-weight: bold; }
|
||||||
|
.td-empty0 { text-align: center; background-color: #F57676;}
|
||||||
|
.td-gen0 { text-align: center; background-color: #DCF5E4;}
|
||||||
|
.td-kicad0 { text-align: center; background-color: #F5DCA9;}
|
||||||
|
.td-user0 { text-align: center; background-color: #DCEFF5;}
|
||||||
|
.td-empty1 { text-align: center; background-color: #FF8080;}
|
||||||
|
.td-gen1 { text-align: center; background-color: #E6FFEE;}
|
||||||
|
.td-kicad1 { text-align: center; background-color: #FFE6B3;}
|
||||||
|
.td-user1 { text-align: center; background-color: #E6F9FF;}
|
||||||
|
.td-nocolor { text-align: center; }
|
||||||
|
.color-ref { margin: 25px 0; }
|
||||||
|
.color-ref th { text-align: left }
|
||||||
|
.color-ref td { padding: 5px 20px; }
|
||||||
|
.head-table { margin-bottom: 2em; }
|
||||||
|
.centered-checkmark { font-size: 30vw; text-align: center; color: green; }
|
||||||
|
.tg-sort-header::-moz-selection{background:0 0}
|
||||||
|
.tg-sort-header::selection{background:0 0}.tg-sort-header{cursor:pointer}
|
||||||
|
.tg-sort-header:after{content:'';float:right;border-width:0 5px 5px;border-style:solid;
|
||||||
|
border-color:#ffffff transparent;visibility:hidden;opacity:.6}
|
||||||
|
.tg-sort-header:hover:after{visibility:visible}
|
||||||
|
.tg-sort-asc:after,.tg-sort-asc:hover:after,.tg-sort-desc:after{visibility:visible;opacity:1}
|
||||||
|
.tg-sort-desc:after{border-bottom:none;border-width:5px 5px 0}
|
||||||
|
|
||||||
|
.content-table {
|
||||||
|
border-collapse:
|
||||||
|
collapse;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 4em;
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-family: sans-serif;
|
||||||
|
min-width: 400px;
|
||||||
|
border-radius: 5px 5px 0 0;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
.content-table thead tr { background-color: #0e4e8e; color: #ffffff; text-align: left; }
|
||||||
|
.content-table th, .content-table td { padding: 12px 15px; }
|
||||||
|
.content-table tbody tr { border-bottom: 1px solid #dddddd; }
|
||||||
|
.content-table tbody tr:nth-of-type(even) { background-color: #f3f3f3; }
|
||||||
|
.content-table tbody tr:last-of-type { border-bottom: 2px solid #0e4e8e; }
|
||||||
|
.content-table * tr:hover > td { background-color: @bgl@ !important }
|
||||||
|
|
||||||
|
.content-table {
|
||||||
|
border-collapse:
|
||||||
|
collapse;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-bottom: 4em;
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-family: sans-serif;
|
||||||
|
min-width: 400px;
|
||||||
|
border-radius: 5px 5px 0 0;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
.content-table thead tr { background-color: @bg@; color: #ffffff; text-align: left; }
|
||||||
|
.content-table th, .content-table td { padding: 12px 15px; }
|
||||||
|
.content-table tbody tr { border-bottom: 1px solid #dddddd; }
|
||||||
|
.content-table tbody tr:nth-of-type(even) { background-color: #f3f3f3; }
|
||||||
|
.content-table tbody tr:last-of-type { border-bottom: 2px solid @bg@; }
|
||||||
|
.content-table * tr:hover > td { background-color: #3e7ebe !important }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<table class="head-table">
|
||||||
|
<tr>
|
||||||
|
<td rowspan="2">
|
||||||
|
</td>
|
||||||
|
<td colspan="2" class="cell-title">
|
||||||
|
<div class="title">Bill of Materials - c64psu</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="cell-info">
|
||||||
|
<b>Schematic</b>: c64psu<br>
|
||||||
|
<b>Variant</b>: default<br>
|
||||||
|
<b>Revision</b>: <br>
|
||||||
|
<b>Date</b>: 2025-12-16_10-23-18<br>
|
||||||
|
<b>KiCad Version</b>: 9.0.1+1<br>
|
||||||
|
</td>
|
||||||
|
<td class="cell-stats">
|
||||||
|
<b>Component Groups</b>: 51<br>
|
||||||
|
<b>Component Count</b>: 133 (per PCB)<br>
|
||||||
|
|
||||||
|
<b>Fitted Components</b>: 117 (per PCB)<br>
|
||||||
|
<b>Number of PCBs</b>: 1<br>
|
||||||
|
<b>Total Components</b>: 117 (for 1 PCBs)<br>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2>Component Groups</h2>
|
||||||
|
<table class="content-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="th-kicad">Reference</th>
|
||||||
|
<th class="th-kicad">Value</th>
|
||||||
|
<th class="th-gen">Qty</th>
|
||||||
|
<th class="th-kicad">Package</th>
|
||||||
|
<th class="th-user">Description</th>
|
||||||
|
<th class="th-user">Manufacturer</th>
|
||||||
|
<th class="th-user">Part Number</th>
|
||||||
|
<th class="th-user">LCSC Part</th>
|
||||||
|
<th class="th-user">Digikey Part</th>
|
||||||
|
<th class="th-user">Mouser Part</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr id="0">
|
||||||
|
<td class="td-kicad0"><div id="C97"></div><div id="C94"></div>C94 C97</td>
|
||||||
|
<td class="td-kicad0">16pF</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">C_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">CC0402FRNPO9BN160</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="1">
|
||||||
|
<td class="td-kicad1"><div id="C63"></div><div id="C62"></div><div id="C61"></div><div id="C60"></div><div id="C59"></div><div id="C49"></div><div id="C47"></div><div id="C42"></div><div id="C41"></div><div id="C40"></div><div id="C35"></div><div id="C34"></div><div id="C32"></div><div id="C24"></div><div id="C22"></div><div id="C11"></div><div id="C9"></div>C9 C11 C22 C24 C32 C34 C35 C40 C41 C42 C47 C49 C59 C60 C61 C62 C63</td>
|
||||||
|
<td class="td-kicad1">100nF</td>
|
||||||
|
<td class="td-gen1">17</td>
|
||||||
|
<td class="td-kicad1">C_0402_1005Metric</td>
|
||||||
|
<td class="td-user1">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">CC0402KRX5R9BB104 GRM155R61H104ME14</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="2">
|
||||||
|
<td class="td-kicad0"><div id="C104"></div><div id="C36"></div><div id="C30"></div><div id="C29"></div><div id="C28"></div><div id="C27"></div><div id="C20"></div>C20 C27 C28 C29 C30 C36 C104</td>
|
||||||
|
<td class="td-kicad0">1uF</td>
|
||||||
|
<td class="td-gen0">7</td>
|
||||||
|
<td class="td-kicad0">C_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">CC0402KRX5R6BB105 CC0402KPX5R8BB105</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="3">
|
||||||
|
<td class="td-kicad1"><div id="C44"></div><div id="C33"></div><div id="C31"></div><div id="C26"></div><div id="C18"></div><div id="C17"></div><div id="C16"></div><div id="C15"></div><div id="C14"></div><div id="C13"></div><div id="C12"></div><div id="C10"></div><div id="C8"></div><div id="C3"></div><div id="C1"></div>C1 C3 C8 C10 C12 C13 C14 C15 C16 C17 C18 C26 C31 C33 C44</td>
|
||||||
|
<td class="td-kicad1">10uF</td>
|
||||||
|
<td class="td-gen1">15</td>
|
||||||
|
<td class="td-kicad1">C_1210_3225Metric</td>
|
||||||
|
<td class="td-user1">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">UMK325BJ106KM-P</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="4">
|
||||||
|
<td class="td-kicad0"><div id="C142"></div><div id="C48"></div><div id="C46"></div><div id="C21"></div><div id="C2"></div>C2 C21 C46 C48 C142</td>
|
||||||
|
<td class="td-kicad0">10uF</td>
|
||||||
|
<td class="td-gen0">5</td>
|
||||||
|
<td class="td-kicad0">C_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">CC0402MPX5R5BB106</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="6">
|
||||||
|
<td class="td-kicad1"><div id="C39"></div><div id="C38"></div><div id="C37"></div><div id="C7"></div><div id="C6"></div><div id="C5"></div><div id="C4"></div>C4 C5 C6 C7 C37 C38 C39</td>
|
||||||
|
<td class="td-kicad1">10uF</td>
|
||||||
|
<td class="td-gen1">7</td>
|
||||||
|
<td class="td-kicad1">C_0805_2012Metric</td>
|
||||||
|
<td class="td-user1">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">GRM21BR61C106KE15K</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="7">
|
||||||
|
<td class="td-kicad0"><div id="D1"></div>D1</td>
|
||||||
|
<td class="td-kicad0">LED</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">LED_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Light emitting diode</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">IN-S63AT5B</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="8">
|
||||||
|
<td class="td-kicad1"><div id="D27"></div>D27</td>
|
||||||
|
<td class="td-kicad1">SD103AWS</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">D_SOD-323</td>
|
||||||
|
<td class="td-user1">Schottky diode</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">SD103AWS</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="9">
|
||||||
|
<td class="td-kicad0"><div id="D3"></div>D3</td>
|
||||||
|
<td class="td-kicad0">SMAJ15A</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">D_SMA</td>
|
||||||
|
<td class="td-user0">400W unidirectional Transient Voltage Suppressor, 15.0Vr, SMA(DO-214AC)</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">SMAJ15A</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="10">
|
||||||
|
<td class="td-kicad1"><div id="D2"></div>D2</td>
|
||||||
|
<td class="td-kicad1">SMAJ15CA</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">D_SMA</td>
|
||||||
|
<td class="td-user1">400W bidirectional Transient Voltage Suppressor, 15.0Vr, SMA(DO-214AC)</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">SMAJ15CA</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="11">
|
||||||
|
<td class="td-kicad0"><div id="D4"></div>D4</td>
|
||||||
|
<td class="td-kicad0">SMAJ18CA</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">D_SMA</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">SMAJ18CA</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="12">
|
||||||
|
<td class="td-kicad1"><div id="IC1"></div>IC1</td>
|
||||||
|
<td class="td-kicad1">AP33771CFBZ-13</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">SON40P300X300X80-15N-D</td>
|
||||||
|
<td class="td-user1">USB Interface IC USB Ext Power Range W-DFN3030-14 T&R 3K</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">AP33771CFBZ-13</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="13">
|
||||||
|
<td class="td-kicad0"><div id="IC2"></div>IC2</td>
|
||||||
|
<td class="td-kicad0">TPP363082-T6TR</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">SOT95P280X95-6N</td>
|
||||||
|
<td class="td-user0">Step-Down DC-DC Voltage Converter IC TSOT23-6</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">TPP363082-T6TR</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="14">
|
||||||
|
<td class="td-kicad1"><div id="J3"></div>J3</td>
|
||||||
|
<td class="td-kicad1">Conn_ST_STDC14</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">PinHeader_2x07_P1.27mm_Vertical_SMD</td>
|
||||||
|
<td class="td-user1">ST Debug Connector, standard ARM Cortex-M SWD and JTAG interface plus UART</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">3221-14-0300-00</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="15">
|
||||||
|
<td class="td-kicad0"><div id="J2"></div>J2</td>
|
||||||
|
<td class="td-kicad0">DIN-7</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">CUI_SDS-70J</td>
|
||||||
|
<td class="td-user0">7-pin DIN connector</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">SDS-70J</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="16">
|
||||||
|
<td class="td-kicad1"><div id="J1"></div>J1</td>
|
||||||
|
<td class="td-kicad1">GSB1C4621DS1HR</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">AMPHENOL_GSB1C4621DS1HR</td>
|
||||||
|
<td class="td-user1">USB-C (USB TYPE-C) USB 2.0 Receptacle Connector 24 (16+8 Dummy) Position Surface Mount, Right Angle</td>
|
||||||
|
<td class="td-user1">Amphenol</td>
|
||||||
|
<td class="td-user1">GSB1C4621DS1HR</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="17">
|
||||||
|
<td class="td-kicad0"><div id="JP6"></div><div id="JP5"></div><div id="JP4"></div><div id="JP3"></div><div id="JP2"></div><div id="JP1"></div>JP1 JP2 JP3 JP4 JP5 JP6</td>
|
||||||
|
<td class="td-kicad0">Jumper_2_Open</td>
|
||||||
|
<td class="td-gen0">6</td>
|
||||||
|
<td class="td-kicad0">PinHeader_1x02_P2.54mm_Vertical</td>
|
||||||
|
<td class="td-user0">Jumper, 2-pole, open</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">JL-100-25-T</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="18">
|
||||||
|
<td class="td-kicad1"><div id="L1"></div>L1</td>
|
||||||
|
<td class="td-kicad1">15uH</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">CSBX1060</td>
|
||||||
|
<td class="td-user1">Inductor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">CSBX1060-150M</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="19">
|
||||||
|
<td class="td-kicad0"><div id="MOSFET2"></div><div id="MOSFET1"></div>MOSFET1 MOSFET2</td>
|
||||||
|
<td class="td-kicad0">SQJ560EP-T1_GE3</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">POWERPAK_SO-8L_DUAL_VIS</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">SQJ560EP-T1_GE3</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="20">
|
||||||
|
<td class="td-kicad1"><div id="Q5"></div><div id="Q1"></div>Q1 Q5</td>
|
||||||
|
<td class="td-kicad1">DI025N06PT-AQ</td>
|
||||||
|
<td class="td-gen1">2</td>
|
||||||
|
<td class="td-kicad1">TRANS_DI025N06PT-AQ</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">Diotec Semiconductor</td>
|
||||||
|
<td class="td-user1">DI025N06PT-AQ</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="21">
|
||||||
|
<td class="td-kicad0"><div id="R1"></div>R1</td>
|
||||||
|
<td class="td-kicad0">5m</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">PE0603FRF570R005L</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="22">
|
||||||
|
<td class="td-kicad1"><div id="R21"></div>R21</td>
|
||||||
|
<td class="td-kicad1">5m</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">R_0805_2012Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">PA0805FRF470R005L</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="23">
|
||||||
|
<td class="td-kicad0"><div id="R23"></div>R23</td>
|
||||||
|
<td class="td-kicad0">200m</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">PT0402FR-7W0R2L</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="27">
|
||||||
|
<td class="td-kicad1"><div id="R13"></div><div id="R12"></div><div id="R11"></div><div id="R10"></div>R10 R11 R12 R13</td>
|
||||||
|
<td class="td-kicad1">4.7</td>
|
||||||
|
<td class="td-gen1">4</td>
|
||||||
|
<td class="td-kicad1">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RT0402BRE074R7L</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="28">
|
||||||
|
<td class="td-kicad0"><div id="R16"></div><div id="R3"></div>R3 R16</td>
|
||||||
|
<td class="td-kicad0">10</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RT0402FRE0710RL</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="29">
|
||||||
|
<td class="td-kicad1"><div id="R7"></div>R7</td>
|
||||||
|
<td class="td-kicad1">100</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RC0603FR-13100RL</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="30">
|
||||||
|
<td class="td-kicad0"><div id="R26"></div>R26</td>
|
||||||
|
<td class="td-kicad0">205</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RT0603BRD07205RL</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="31">
|
||||||
|
<td class="td-kicad1"><div id="R27"></div><div id="R25"></div>R25 R27</td>
|
||||||
|
<td class="td-kicad1">470</td>
|
||||||
|
<td class="td-gen1">2</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RT0603BRD07470RL</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="32">
|
||||||
|
<td class="td-kicad0"><div id="R4"></div>R4</td>
|
||||||
|
<td class="td-kicad0">1k</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RC0603JR-131KL</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="33">
|
||||||
|
<td class="td-kicad1"><div id="R30"></div>R30</td>
|
||||||
|
<td class="td-kicad1">1.37k</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RT0402DRE071K37L</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="34">
|
||||||
|
<td class="td-kicad0"><div id="R24"></div><div id="R22"></div>R22 R24</td>
|
||||||
|
<td class="td-kicad0">4k7</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RT0603BRD074K7L</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="35">
|
||||||
|
<td class="td-kicad1"><div id="R32"></div><div id="R31"></div><div id="R20"></div><div id="R19"></div><div id="R15"></div><div id="R14"></div>R14 R15 R19 R20 R31 R32</td>
|
||||||
|
<td class="td-kicad1">5.1k</td>
|
||||||
|
<td class="td-gen1">6</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RC0603FR-075K1L</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="36">
|
||||||
|
<td class="td-kicad0"><div id="R29"></div>R29</td>
|
||||||
|
<td class="td-kicad0">10.2k</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RT0402DRD0710K2L</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="37">
|
||||||
|
<td class="td-kicad1"><div id="R47"></div><div id="R28"></div><div id="R2"></div>R2 R28 R47</td>
|
||||||
|
<td class="td-kicad1">20k</td>
|
||||||
|
<td class="td-gen1">3</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RC0603FR-1320KL</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="38">
|
||||||
|
<td class="td-kicad0"><div id="R71"></div>R71</td>
|
||||||
|
<td class="td-kicad0">27k</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0402_1005Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RC0402JR-0727KL</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="39">
|
||||||
|
<td class="td-kicad1"><div id="R6"></div><div id="R5"></div>R5 R6</td>
|
||||||
|
<td class="td-kicad1">52k 1%</td>
|
||||||
|
<td class="td-gen1">2</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RT0603BRD0752K3L</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="40">
|
||||||
|
<td class="td-kicad0"><div id="R46"></div><div id="R43"></div>R43 R46</td>
|
||||||
|
<td class="td-kicad0">100k</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="41">
|
||||||
|
<td class="td-kicad1"><div id="R45"></div>R45</td>
|
||||||
|
<td class="td-kicad1">180k</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="42">
|
||||||
|
<td class="td-kicad0"><div id="R44"></div>R44</td>
|
||||||
|
<td class="td-kicad0">200k</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="43">
|
||||||
|
<td class="td-kicad1"><div id="R8"></div>R8</td>
|
||||||
|
<td class="td-kicad1">510k</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">R_0603_1608Metric</td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RC0603FR-07510KL</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="44">
|
||||||
|
<td class="td-kicad0"><div id="U5"></div><div id="U4"></div>U4 U5</td>
|
||||||
|
<td class="td-kicad0">FAN3278</td>
|
||||||
|
<td class="td-gen0">2</td>
|
||||||
|
<td class="td-kicad0">SOIC-8_3.9x4.9mm_P1.27mm</td>
|
||||||
|
<td class="td-user0">8-27V PMOS-NMOS Bridge Driver, SOIC-8</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">FAN3278T</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="45">
|
||||||
|
<td class="td-kicad1"><div id="U1"></div>U1</td>
|
||||||
|
<td class="td-kicad1">INA180A2</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">SOT-23-5</td>
|
||||||
|
<td class="td-user1">Current Sense Amplifier, 1 Circuit, Rail-to-Rail, 26V, Gain 50 V/V, SOT-23-5</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">INA180A2IDBVR</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="46">
|
||||||
|
<td class="td-kicad0"><div id="U3"></div>U3</td>
|
||||||
|
<td class="td-kicad0">LM321</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">SOT-23-5</td>
|
||||||
|
<td class="td-user0">Low Power Single Operational Amplifier, SOT-23-5</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">LM321AW-S5TR</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="47">
|
||||||
|
<td class="td-kicad1"><div id="U7"></div>U7</td>
|
||||||
|
<td class="td-kicad1">LM4041CIM3X-1.2/NOPB</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">SOT-23</td>
|
||||||
|
<td class="td-user1">2.048V Precision Micropower Shunt Voltage Reference, SOT-23</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">LM4041CIM3X-1.2/NOPB</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="48">
|
||||||
|
<td class="td-kicad0"><div id="U2"></div>U2</td>
|
||||||
|
<td class="td-kicad0">STM32G474CBTx</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">LQFP-48_7x7mm_P0.5mm</td>
|
||||||
|
<td class="td-user0">STMicroelectronics Arm Cortex-M4 MCU, 128KB flash, 128KB RAM, 170 MHz, 1.71-3.6V, 38 GPIO, LQFP48</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">STM32G474CBT6</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="49">
|
||||||
|
<td class="td-kicad1"><div id="U8"></div>U8</td>
|
||||||
|
<td class="td-kicad1">TLV75733PDBVR</td>
|
||||||
|
<td class="td-gen1">1</td>
|
||||||
|
<td class="td-kicad1">SOT-23-5</td>
|
||||||
|
<td class="td-user1">200mA Low Dropout Voltage Regulator, Fixed Output 1.2V, SOT-23-5</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">TLV75733PDBVR</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="50">
|
||||||
|
<td class="td-kicad0"><div id="Y2"></div>Y2</td>
|
||||||
|
<td class="td-kicad0">40MHz 10pF</td>
|
||||||
|
<td class="td-gen0">1</td>
|
||||||
|
<td class="td-kicad0">Crystal_SMD_2520-4Pin_2.5x2.0mm</td>
|
||||||
|
<td class="td-user0">Four pin crystal, GND on pins 2 and 4</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">ECS-400-10-36B2-CKM-TR</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<h2>Optional components (DNF=Do Not Fit)</h2>
|
||||||
|
<table class="content-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="th-kicad">Reference</th>
|
||||||
|
<th class="th-kicad">Value</th>
|
||||||
|
<th class="th-gen">Qty</th>
|
||||||
|
<th class="th-kicad">Package</th>
|
||||||
|
<th class="th-user">Description</th>
|
||||||
|
<th class="th-user">Manufacturer</th>
|
||||||
|
<th class="th-user">Part Number</th>
|
||||||
|
<th class="th-user">LCSC Part</th>
|
||||||
|
<th class="th-user">Digikey Part</th>
|
||||||
|
<th class="th-user">Mouser Part</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr id="5">
|
||||||
|
<td class="td-kicad0"><div id="C43"></div><div id="C25"></div><div id="C23"></div><div id="C19"></div>C19 C23 C25 C43</td>
|
||||||
|
<td class="td-kicad0">10uF</td>
|
||||||
|
<td class="td-gen0">4</td>
|
||||||
|
<td class="td-kicad0">C_1206_3216Metric</td>
|
||||||
|
<td class="td-user0">Unpolarized capacitor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">CC1206KKX5R9BB106</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="24">
|
||||||
|
<td class="td-kicad1"><div id="R40"></div><div id="R37"></div><div id="R34"></div><div id="R33"></div>R33 R34 R37 R40</td>
|
||||||
|
<td class="td-kicad1">1</td>
|
||||||
|
<td class="td-gen1">4</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RL0510S-1R0-F</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="25">
|
||||||
|
<td class="td-kicad0"><div id="R41"></div><div id="R38"></div><div id="R35"></div><div id="R17"></div>R17 R35 R38 R41</td>
|
||||||
|
<td class="td-kicad0">2r2</td>
|
||||||
|
<td class="td-gen0">4</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">Resistor</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-user0">RL0510S-2R2-F</td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
<td class="td-empty0"></td>
|
||||||
|
</tr>
|
||||||
|
<tr id="26">
|
||||||
|
<td class="td-kicad1"><div id="R42"></div><div id="R39"></div><div id="R36"></div><div id="R18"></div>R18 R36 R39 R42</td>
|
||||||
|
<td class="td-kicad1">3r3</td>
|
||||||
|
<td class="td-gen1">4</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">Resistor</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-user1">RL0510S-3R3-F</td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
<td class="td-empty1"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<table class="color-ref">
|
||||||
|
<tr><th>Color reference for columns:</th></tr>
|
||||||
|
<tr><td class="td-kicad0">KiCad Fields (default)</td></tr>
|
||||||
|
<tr><td class="td-gen0">Generated Fields</td></tr>
|
||||||
|
<tr><td class="td-user0">User Fields</td></tr>
|
||||||
|
<tr><td class="td-empty0">Empty Fields</td></tr>
|
||||||
|
</table>
|
||||||
|
<script charset="utf-8">
|
||||||
|
var TGSort = window.TGSort || function(n) {
|
||||||
|
"use strict";
|
||||||
|
function r(n) { return n ? n.length : 0 }
|
||||||
|
function t(n, t, e, o = 0) { for (e = r(n); o < e; ++o) t(n[o], o) }
|
||||||
|
function e(n) { return n.split("").reverse().join("") }
|
||||||
|
function o(n) {
|
||||||
|
var e = n[0];
|
||||||
|
return t(n, function(n) {
|
||||||
|
for (; !n.startsWith(e);) e = e.substring(0, r(e) - 1)
|
||||||
|
}), r(e)
|
||||||
|
}
|
||||||
|
function u(n, r, e = []) {
|
||||||
|
return t(n, function(n) {
|
||||||
|
r(n) && e.push(n)
|
||||||
|
}), e
|
||||||
|
}
|
||||||
|
var a = parseFloat;
|
||||||
|
function i(n, r) {
|
||||||
|
return function(t) {
|
||||||
|
var e = "";
|
||||||
|
return t.replace(n, function(n, t, o) {
|
||||||
|
return e = t.replace(r, "") + "." + (o || "").substring(1)
|
||||||
|
}), a(e)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
var s = i(/^(?:\s*)([+-]?(?:\d+)(?:,\d{3})*)(\.\d*)?$/g, /,/g),
|
||||||
|
c = i(/^(?:\s*)([+-]?(?:\d+)(?:\.\d{3})*)(,\d*)?$/g, /\./g);
|
||||||
|
function f(n) {
|
||||||
|
var t = a(n);
|
||||||
|
return !isNaN(t) && r("" + t) + 1 >= r(n) ? t : NaN
|
||||||
|
}
|
||||||
|
function d(n) {
|
||||||
|
var e = [],
|
||||||
|
o = n;
|
||||||
|
return t([f, s, c], function(u) {
|
||||||
|
var a = [],
|
||||||
|
i = [];
|
||||||
|
t(n, function(n, r) {
|
||||||
|
r = u(n), a.push(r), r || i.push(n)
|
||||||
|
}), r(i) < r(o) && (o = i, e = a)
|
||||||
|
}), r(u(o, function(n) {
|
||||||
|
return n == o[0]
|
||||||
|
})) == r(o) ? e : []
|
||||||
|
}
|
||||||
|
function v(n) {
|
||||||
|
if ("TABLE" == n.nodeName) {
|
||||||
|
for (var a = function(r) {
|
||||||
|
var e, o, u = [],
|
||||||
|
a = [];
|
||||||
|
return function n(r, e) {
|
||||||
|
e(r), t(r.childNodes, function(r) {
|
||||||
|
n(r, e)
|
||||||
|
})
|
||||||
|
}(n, function(n) {
|
||||||
|
"TR" == (o = n.nodeName) ? (e = [], u.push(e), a.push(n)) : "TD" != o && "TH" != o || e.push(n)
|
||||||
|
}), [u, a]
|
||||||
|
}(), i = a[0], s = a[1], c = r(i), f = c > 1 && r(i[0]) < r(i[1]) ? 1 : 0, v = f + 1, p = i[f], h = r(p), l = [], g = [], N = [], m = v; m < c; ++m) {
|
||||||
|
for (var T = 0; T < h; ++T) {
|
||||||
|
r(g) < h && g.push([]);
|
||||||
|
var C = i[m][T],
|
||||||
|
L = C.textContent || C.innerText || "";
|
||||||
|
g[T].push(L.trim())
|
||||||
|
}
|
||||||
|
N.push(m - v)
|
||||||
|
}
|
||||||
|
t(p, function(n, t) {
|
||||||
|
l[t] = 0;
|
||||||
|
var a = n.classList;
|
||||||
|
a.add("tg-sort-header"), n.addEventListener("click", function() {
|
||||||
|
var n = l[t];
|
||||||
|
! function() {
|
||||||
|
for (var n = 0; n < h; ++n) {
|
||||||
|
var r = p[n].classList;
|
||||||
|
r.remove("tg-sort-asc"), r.remove("tg-sort-desc"), l[n] = 0
|
||||||
|
}
|
||||||
|
}(), (n = 1 == n ? -1 : +!n) && a.add(n > 0 ? "tg-sort-asc" : "tg-sort-desc"), l[t] = n;
|
||||||
|
var i, f = g[t],
|
||||||
|
m = function(r, t) {
|
||||||
|
return n * f[r].localeCompare(f[t]) || n * (r - t)
|
||||||
|
},
|
||||||
|
T = function(n) {
|
||||||
|
var t = d(n);
|
||||||
|
if (!r(t)) {
|
||||||
|
var u = o(n),
|
||||||
|
a = o(n.map(e));
|
||||||
|
t = d(n.map(function(n) {
|
||||||
|
return n.substring(u, r(n) - a)
|
||||||
|
}))
|
||||||
|
}
|
||||||
|
return t
|
||||||
|
}(f);
|
||||||
|
(r(T) || r(T = r(u(i = f.map(Date.parse), isNaN)) ? [] : i)) && (m = function(r, t) {
|
||||||
|
var e = T[r],
|
||||||
|
o = T[t],
|
||||||
|
u = isNaN(e),
|
||||||
|
a = isNaN(o);
|
||||||
|
return u && a ? 0 : u ? -n : a ? n : e > o ? n : e < o ? -n : n * (r - t)
|
||||||
|
});
|
||||||
|
var C, L = N.slice();
|
||||||
|
L.sort(m);
|
||||||
|
for (var E = v; E < c; ++E)(C = s[E].parentNode).removeChild(s[E]);
|
||||||
|
for (E = v; E < c; ++E) C.appendChild(s[v + L[E - v]])
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
n.addEventListener("DOMContentLoaded", function() {
|
||||||
|
for (var t = n.getElementsByClassName("content-table"), e = 0; e < r(t); ++e) try {
|
||||||
|
v(t[e])
|
||||||
|
} catch (n) {}
|
||||||
|
})
|
||||||
|
}(document)
|
||||||
|
</script>
|
||||||
|
</body></html>
|
||||||
Binary file not shown.
@@ -0,0 +1,15 @@
|
|||||||
|
# KiCad Project Diff Report
|
||||||
|
|
||||||
|
**Base Commit:** 5e21ee15
|
||||||
|
**Head Commit:** e9775f2c
|
||||||
|
**Date:** Tue Dec 16 10:23:18 UTC 2025
|
||||||
|
|
||||||
|
## Changed Files:
|
||||||
|
M kicad/c64psu/c64psu.kicad_sch
|
||||||
|
|
||||||
|
## Summary:
|
||||||
|
kicad/c64psu/c64psu.kicad_sch | 2686 +++++++++++++++++++----------------------
|
||||||
|
1 file changed, 1240 insertions(+), 1446 deletions(-)
|
||||||
|
|
||||||
|
## Commit Messages:
|
||||||
|
e9775f2 seperated into transformer / experimental
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html class="react-root">
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/static/src_styles_global-00f5cfaf.B9h5MWpr.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/static/src_styles_simgraph-2e2e66e0.xdRgJchD.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/static/src_styles_footer_cn-e9255475.C6VRb3Zo.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/static/src_styles_jquery.qtip.C0pyK8Sv.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/assets/static/src_styles_global-00f5cfaf.Bp-vOpln.css">
|
||||||
|
<!-- OneTrust Cookies Consent Notice start -->
|
||||||
|
<script type="text/javascript" src="https://cdn.cookielaw.org/consent/b866f587-e7d0-4f41-bb98-ffe290290472/OtAutoBlock.js"></script>
|
||||||
|
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="b866f587-e7d0-4f41-bb98-ffe290290472"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function OptanonWrapper() { }
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
window.addEventListener("OTConsentApplied", function(e) {
|
||||||
|
document.location.reload();
|
||||||
|
}, { once: true });
|
||||||
|
</script>
|
||||||
|
<!-- OneTrust Cookies Consent Notice end -->
|
||||||
|
|
||||||
|
<script src="https://assets.adobedtm.com/193a95d152ddc4b48eec9ef739f5e8baea85bc42/satelliteLib-cd45bb235be3c8a9435191c7064254804b40eb59.js" charset="utf-8"></script>
|
||||||
|
|
||||||
|
<!-- Google Tag Manager -->
|
||||||
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||||
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||||
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||||
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||||
|
})(window,document,'script','dataLayer','GTM-PRTZ8QW');</script>
|
||||||
|
<!-- End Google Tag Manager -->
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
|
||||||
|
|
||||||
|
<!-- クリティカルCSSをインライン化 -->
|
||||||
|
<style>
|
||||||
|
/* Reset & Base */
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ヘッダー(ファーストビューに表示される部分) */
|
||||||
|
.header {
|
||||||
|
background: #fff;
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ローディングスピナー */
|
||||||
|
.loading-spinner {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 検索フォーム(ファーストビューに表示) */
|
||||||
|
.search-form {
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ボタンの基本スタイル */
|
||||||
|
.btn {
|
||||||
|
padding: 10px 20px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
background-color: #e50022;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* スピナーアニメーション */
|
||||||
|
@keyframes spin {
|
||||||
|
0% { transform: rotate(0deg); }
|
||||||
|
100% { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
border: 4px solid rgba(0, 0, 0, 0.1);
|
||||||
|
border-radius: 50%;
|
||||||
|
border-top: 4px solid #e50022;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
animation: spin 1s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
body { font-family: "FSEmeric", Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
||||||
|
.react-root, .react-root select, .react-root input, .react-root textarea { font-family: "FSEmeric", Arial, "Helvetica Neue", Helvetica, sans-serif; }
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- 外部CSSを遅延読み込み -->
|
||||||
|
<link rel="preload" href="/styles/SiteRenewal/Business/header.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||||
|
|
||||||
|
<link rel="preload" href="/styles/SiteRenewal/Business/layout.css" as="style" onload="this.onload=null;this.rel='stylesheet'"><noscript><link rel="stylesheet" href="/styles/SiteRenewal/Business/layout.css"></noscript>
|
||||||
|
|
||||||
|
<!-- フォント用のnoscriptフォールバック -->
|
||||||
|
<noscript>
|
||||||
|
<link rel="stylesheet" href="/styles/SiteRenewal/Business/header.css" />
|
||||||
|
<link rel="stylesheet" href="/styles/SiteRenewal/Business/noscript.css" />
|
||||||
|
</noscript>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- Google Tag Manager (noscript) -->
|
||||||
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PRTZ8QW"
|
||||||
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||||
|
<!-- End Google Tag Manager (noscript) -->
|
||||||
|
<div id="react-root"><!--$!--><template></template><!--/$--></div>
|
||||||
|
<script type="text/javascript">if (typeof _satellite !== "undefined") { _satellite.pageBottom();}</script>
|
||||||
|
<script id="vike_pageContext" type="application/json">{"pageProps":"!undefined","locale":"en-global","abortReason":"!undefined","_urlRewrite":null,"_urlRedirect":"!undefined","abortStatusCode":"!undefined","_abortCall":"!undefined","_pageContextInitIsPassedToClient":"!undefined","pageId":"/src/pages/pim/details","routeParams":{},"data":"!undefined"}</script>
|
||||||
|
<script src="/assets/entries/entry-client-routing.CAp7bBDh.js" type="module" async></script>
|
||||||
|
<link rel="modulepreload" href="/assets/entries/src_pages_pim_details.C6IqwWJh.js" as="script" type="text/javascript">
|
||||||
|
<link rel="modulepreload" href="/assets/chunks/chunk-3lZX8NVt.js" as="script" type="text/javascript">
|
||||||
|
<link rel="modulepreload" href="/assets/chunks/chunk-C4c85zTN.js" as="script" type="text/javascript">
|
||||||
|
<link rel="modulepreload" href="/assets/chunks/chunk-BOhWv5dm.js" as="script" type="text/javascript">
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
|||||||
|
# Component Datasheets
|
||||||
|
|
||||||
|
This folder contains downloaded datasheets for all components in the project.
|
||||||
|
|
||||||
|
Organized by component type:
|
||||||
|
- **ICs/** - Integrated circuits (U references)
|
||||||
|
- **Capacitors/** - Capacitors (C references)
|
||||||
|
- **Resistors/** - Resistors (R references)
|
||||||
|
- **Transistors/** - Transistors (Q references)
|
||||||
|
- **Diodes/** - Diodes (D references)
|
||||||
|
- **Connectors/** - Connectors (J, P references)
|
||||||
|
- **Inductors/** - Inductors (L references)
|
||||||
|
- And more...
|
||||||
|
|
||||||
|
Files are named: REFERENCE_VALUE.pdf (e.g., U1_LM7805.pdf)
|
||||||
|
|
||||||
|
Generated on: Tue Dec 16 10:27:44 UTC 2025
|
||||||
|
Project: c64psu
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
%TF.GenerationSoftware,KiCad,Pcbnew,9.0.1+1*%
|
||||||
|
%TF.CreationDate,2025-12-16T10:26:37+00:00*%
|
||||||
|
%TF.ProjectId,c64psu,63363470-7375-42e6-9b69-6361645f7063,rev?*%
|
||||||
|
%TF.SameCoordinates,Original*%
|
||||||
|
%TF.FileFunction,NonPlated,1,4,NPTH,Drill*%
|
||||||
|
%TF.FilePolarity,Positive*%
|
||||||
|
%FSLAX46Y46*%
|
||||||
|
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||||
|
G04 Created by KiCad (PCBNEW 9.0.1+1) date 2025-12-16 10:26:37*
|
||||||
|
%MOMM*%
|
||||||
|
%LPD*%
|
||||||
|
G01*
|
||||||
|
G04 APERTURE LIST*
|
||||||
|
%TA.AperFunction,ComponentDrill*%
|
||||||
|
%ADD10C,2.400000*%
|
||||||
|
%TD*%
|
||||||
|
G04 APERTURE END LIST*
|
||||||
|
D10*
|
||||||
|
%TO.C,J2*%
|
||||||
|
X210980000Y-40940000D03*
|
||||||
|
X210980000Y-55940000D03*
|
||||||
|
M02*
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
Drill report for c64psu.kicad_pcb
|
||||||
|
Created on 2025-12-16T10:26:37+0000
|
||||||
|
|
||||||
|
Copper Layer Stackup:
|
||||||
|
=============================================================
|
||||||
|
L1 : F.Cu front
|
||||||
|
L2 : In1.Cu in1
|
||||||
|
L3 : In2.Cu in2
|
||||||
|
L4 : B.Cu back
|
||||||
|
|
||||||
|
|
||||||
|
Drill file 'c64psu-PTH.drl' contains
|
||||||
|
plated through holes:
|
||||||
|
=============================================================
|
||||||
|
T1 0.300mm 0.0118" (242 holes)
|
||||||
|
T2 0.650mm 0.0256" (4 holes) (with 4 slots)
|
||||||
|
T3 0.800mm 0.0315" (16 holes)
|
||||||
|
T4 1.000mm 0.0394" (12 holes)
|
||||||
|
T5 1.300mm 0.0512" (9 holes)
|
||||||
|
T6 1.500mm 0.0591" (10 holes)
|
||||||
|
T7 3.200mm 0.1260" (3 holes)
|
||||||
|
|
||||||
|
Total plated holes count 296
|
||||||
|
|
||||||
|
|
||||||
|
Drill file 'c64psu-NPTH.drl' contains
|
||||||
|
unplated through holes:
|
||||||
|
=============================================================
|
||||||
|
T1 2.400mm 0.0945" (2 holes)
|
||||||
|
|
||||||
|
Total unplated holes count 2
|
||||||
@@ -0,0 +1,185 @@
|
|||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"GenerationSoftware": {
|
||||||
|
"Vendor": "KiCad",
|
||||||
|
"Application": "Pcbnew",
|
||||||
|
"Version": "9.0.1+1"
|
||||||
|
},
|
||||||
|
"CreationDate": "2025-12-16T10:26:37+00:00"
|
||||||
|
},
|
||||||
|
"GeneralSpecs": {
|
||||||
|
"ProjectId": {
|
||||||
|
"Name": "c64psu",
|
||||||
|
"GUID": "63363470-7375-42e6-9b69-6361645f7063",
|
||||||
|
"Revision": "rev?"
|
||||||
|
},
|
||||||
|
"Size": {
|
||||||
|
"X": 86.2251,
|
||||||
|
"Y": 71.9422
|
||||||
|
},
|
||||||
|
"LayerNumber": 4,
|
||||||
|
"BoardThickness": 1.6,
|
||||||
|
"Finish": "None"
|
||||||
|
},
|
||||||
|
"DesignRules": [
|
||||||
|
{
|
||||||
|
"Layers": "Outer",
|
||||||
|
"PadToPad": 0.2,
|
||||||
|
"PadToTrack": 0.2,
|
||||||
|
"TrackToTrack": 0.2,
|
||||||
|
"MinLineWidth": 0.17,
|
||||||
|
"TrackToRegion": 0.2,
|
||||||
|
"RegionToRegion": 0.2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Layers": "Inner",
|
||||||
|
"PadToPad": 0.2,
|
||||||
|
"PadToTrack": 0.2,
|
||||||
|
"TrackToTrack": 0.2,
|
||||||
|
"MinLineWidth": 0.21,
|
||||||
|
"TrackToRegion": 0.25,
|
||||||
|
"RegionToRegion": 0.25
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"FilesAttributes": [
|
||||||
|
{
|
||||||
|
"Path": "c64psuF_Cu.gbr",
|
||||||
|
"FileFunction": "Copper,L1,Top",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuB_Cu.gbr",
|
||||||
|
"FileFunction": "Copper,L4,Bot",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuIn1_Cu.gbr",
|
||||||
|
"FileFunction": "Copper,L5,Inr",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuIn2_Cu.gbr",
|
||||||
|
"FileFunction": "Copper,L7,Inr",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuF_Paste.gbr",
|
||||||
|
"FileFunction": "SolderPaste,Top",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuB_Paste.gbr",
|
||||||
|
"FileFunction": "SolderPaste,Bot",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuF_Silkscreen.gbr",
|
||||||
|
"FileFunction": "Legend,Top",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuB_Silkscreen.gbr",
|
||||||
|
"FileFunction": "Legend,Bot",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuF_Mask.gbr",
|
||||||
|
"FileFunction": "SolderMask,Top",
|
||||||
|
"FilePolarity": "Negative"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuB_Mask.gbr",
|
||||||
|
"FileFunction": "SolderMask,Bot",
|
||||||
|
"FilePolarity": "Negative"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuEdge_Cuts.gbr",
|
||||||
|
"FileFunction": "Profile",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuUser_Comments.gbr",
|
||||||
|
"FileFunction": "Other,User",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuF_Fab.gbr",
|
||||||
|
"FileFunction": "AssemblyDrawing,Top",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Path": "c64psuB_Fab.gbr",
|
||||||
|
"FileFunction": "AssemblyDrawing,Bot",
|
||||||
|
"FilePolarity": "Positive"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"MaterialStackup": [
|
||||||
|
{
|
||||||
|
"Type": "Legend",
|
||||||
|
"Name": "Top Silk Screen"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SolderPaste",
|
||||||
|
"Name": "Top Solder Paste"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SolderMask",
|
||||||
|
"Thickness": 0.01,
|
||||||
|
"Name": "Top Solder Mask"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Copper",
|
||||||
|
"Thickness": 0.035,
|
||||||
|
"Name": "F.Cu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Dielectric",
|
||||||
|
"Thickness": 0.1,
|
||||||
|
"Material": "FR4",
|
||||||
|
"Name": "F.Cu/In1.Cu",
|
||||||
|
"Notes": "Type: dielectric layer 1 (from F.Cu to In1.Cu)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Copper",
|
||||||
|
"Thickness": 0.035,
|
||||||
|
"Name": "In1.Cu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Dielectric",
|
||||||
|
"Thickness": 1.24,
|
||||||
|
"Material": "FR4",
|
||||||
|
"Name": "In1.Cu/In2.Cu",
|
||||||
|
"Notes": "Type: dielectric layer 2 (from In1.Cu to In2.Cu)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Copper",
|
||||||
|
"Thickness": 0.035,
|
||||||
|
"Name": "In2.Cu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Dielectric",
|
||||||
|
"Thickness": 0.1,
|
||||||
|
"Material": "FR4",
|
||||||
|
"Name": "In2.Cu/B.Cu",
|
||||||
|
"Notes": "Type: dielectric layer 3 (from In2.Cu to B.Cu)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Copper",
|
||||||
|
"Thickness": 0.035,
|
||||||
|
"Name": "B.Cu"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SolderMask",
|
||||||
|
"Thickness": 0.01,
|
||||||
|
"Name": "Bottom Solder Mask"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "SolderPaste",
|
||||||
|
"Name": "Bottom Solder Paste"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Type": "Legend",
|
||||||
|
"Name": "Bottom Silk Screen"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,31 @@
|
|||||||
|
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,9.0.1+1*
|
||||||
|
G04 #@! TF.CreationDate,2025-12-16T10:26:37+00:00*
|
||||||
|
G04 #@! TF.ProjectId,c64psu,63363470-7375-42e6-9b69-6361645f7063,rev?*
|
||||||
|
G04 #@! TF.SameCoordinates,Original*
|
||||||
|
G04 #@! TF.FileFunction,Profile,NP*
|
||||||
|
%FSLAX46Y46*%
|
||||||
|
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||||
|
G04 Created by KiCad (PCBNEW 9.0.1+1) date 2025-12-16 10:26:37*
|
||||||
|
%MOMM*%
|
||||||
|
%LPD*%
|
||||||
|
G01*
|
||||||
|
G04 APERTURE LIST*
|
||||||
|
G04 #@! TA.AperFunction,Profile*
|
||||||
|
%ADD10C,0.050000*%
|
||||||
|
G04 #@! TD*
|
||||||
|
G04 APERTURE END LIST*
|
||||||
|
D10*
|
||||||
|
X219224551Y-37033468D02*
|
||||||
|
X219250062Y-108900624D01*
|
||||||
|
X133100087Y-108875624D01*
|
||||||
|
X133075074Y-58400000D01*
|
||||||
|
X139675000Y-58400000D01*
|
||||||
|
X139675000Y-57800000D01*
|
||||||
|
X139250000Y-57800000D01*
|
||||||
|
X139250000Y-49750000D01*
|
||||||
|
X139700000Y-49750000D01*
|
||||||
|
X139700000Y-49150000D01*
|
||||||
|
X133075000Y-49150000D01*
|
||||||
|
X133075000Y-37008468D01*
|
||||||
|
X219224551Y-37033468D01*
|
||||||
|
M02*
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
|||||||
|
M48
|
||||||
|
; DRILL file {KiCad 9.0.1+1} date 2025-12-16T10:26:37+0000
|
||||||
|
; FORMAT={-:-/ absolute / metric / decimal}
|
||||||
|
; #@! TF.CreationDate,2025-12-16T10:26:37+00:00
|
||||||
|
; #@! TF.GenerationSoftware,Kicad,Pcbnew,9.0.1+1
|
||||||
|
; #@! TF.FileFunction,NonPlated,1,4,NPTH
|
||||||
|
FMAT,2
|
||||||
|
METRIC
|
||||||
|
; #@! TA.AperFunction,NonPlated,NPTH,ComponentDrill
|
||||||
|
T1C2.400
|
||||||
|
%
|
||||||
|
G90
|
||||||
|
G05
|
||||||
|
T1
|
||||||
|
X210.98Y-40.94
|
||||||
|
X210.98Y-55.94
|
||||||
|
M30
|
||||||
@@ -0,0 +1,345 @@
|
|||||||
|
M48
|
||||||
|
; DRILL file {KiCad 9.0.1+1} date 2025-12-16T10:26:37+0000
|
||||||
|
; FORMAT={-:-/ absolute / metric / decimal}
|
||||||
|
; #@! TF.CreationDate,2025-12-16T10:26:37+00:00
|
||||||
|
; #@! TF.GenerationSoftware,Kicad,Pcbnew,9.0.1+1
|
||||||
|
; #@! TF.FileFunction,Plated,1,4,PTH
|
||||||
|
FMAT,2
|
||||||
|
METRIC
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ViaDrill
|
||||||
|
T1C0.300
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T2C0.650
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T3C0.800
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T4C1.000
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T5C1.300
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T6C1.500
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T7C3.200
|
||||||
|
%
|
||||||
|
G90
|
||||||
|
G05
|
||||||
|
T1
|
||||||
|
X137.008Y-65.837
|
||||||
|
X137.109Y-61.112
|
||||||
|
X137.16Y-62.549
|
||||||
|
X137.16Y-64.211
|
||||||
|
X138.035Y-89.68
|
||||||
|
X138.12Y-88.324
|
||||||
|
X138.277Y-91.242
|
||||||
|
X138.323Y-74.944
|
||||||
|
X138.323Y-93.201
|
||||||
|
X139.04Y-81.128
|
||||||
|
X139.543Y-93.744
|
||||||
|
X139.593Y-78.844
|
||||||
|
X140.305Y-88.781
|
||||||
|
X140.307Y-50.563
|
||||||
|
X140.332Y-57.091
|
||||||
|
X140.499Y-49.9
|
||||||
|
X140.504Y-90.994
|
||||||
|
X140.57Y-57.765
|
||||||
|
X140.579Y-58.488
|
||||||
|
X140.863Y-74.944
|
||||||
|
X141.067Y-93.658
|
||||||
|
X141.127Y-52.517
|
||||||
|
X141.29Y-62.57
|
||||||
|
X141.321Y-87.641
|
||||||
|
X141.321Y-88.601
|
||||||
|
X141.321Y-92.795
|
||||||
|
X141.326Y-84.734
|
||||||
|
X141.333Y-49.761
|
||||||
|
X141.333Y-50.574
|
||||||
|
X141.368Y-55.35
|
||||||
|
X141.607Y-54.139
|
||||||
|
X141.823Y-52.913
|
||||||
|
X142.133Y-74.944
|
||||||
|
X142.459Y-53.398
|
||||||
|
X142.846Y-63.857
|
||||||
|
X143.213Y-62.422
|
||||||
|
X143.228Y-85.733
|
||||||
|
X143.818Y-57.663
|
||||||
|
X143.924Y-63.376
|
||||||
|
X143.963Y-59.487
|
||||||
|
X144.26Y-85.835
|
||||||
|
X144.396Y-58.112
|
||||||
|
X144.526Y-91.237
|
||||||
|
X144.775Y-88.375
|
||||||
|
X144.836Y-57.52
|
||||||
|
X145.283Y-58.147
|
||||||
|
X145.925Y-84.199
|
||||||
|
X146.287Y-64.657
|
||||||
|
X146.311Y-63.284
|
||||||
|
X146.325Y-61.263
|
||||||
|
X146.631Y-48.685
|
||||||
|
X146.653Y-98.992
|
||||||
|
X146.655Y-97.062
|
||||||
|
X146.66Y-98.027
|
||||||
|
X146.674Y-49.826
|
||||||
|
X146.761Y-81.94
|
||||||
|
X147.117Y-84.379
|
||||||
|
X147.232Y-61.231
|
||||||
|
X147.264Y-94.42
|
||||||
|
X147.367Y-63.241
|
||||||
|
X147.531Y-49.253
|
||||||
|
X148.418Y-49.805
|
||||||
|
X148.432Y-48.692
|
||||||
|
X149.245Y-94.319
|
||||||
|
X149.522Y-97.062
|
||||||
|
X149.522Y-98.027
|
||||||
|
X149.753Y-99.145
|
||||||
|
X149.855Y-100.516
|
||||||
|
X150.085Y-74.38
|
||||||
|
X150.121Y-89.122
|
||||||
|
X150.214Y-80.398
|
||||||
|
X150.617Y-95.741
|
||||||
|
X150.922Y-85.175
|
||||||
|
X150.935Y-55.756
|
||||||
|
X151.064Y-76.72
|
||||||
|
X151.125Y-72.7
|
||||||
|
X151.125Y-73.5
|
||||||
|
X151.156Y-71.816
|
||||||
|
X151.43Y-84.667
|
||||||
|
X151.54Y-56.264
|
||||||
|
X151.595Y-57.229
|
||||||
|
X151.605Y-95.741
|
||||||
|
X151.684Y-86.777
|
||||||
|
X151.75Y-64.25
|
||||||
|
X152.014Y-84.082
|
||||||
|
X152.014Y-79.55
|
||||||
|
X152.014Y-80.34
|
||||||
|
X152.117Y-74.403
|
||||||
|
X152.404Y-94.738
|
||||||
|
X152.857Y-92.354
|
||||||
|
X153.003Y-80.398
|
||||||
|
X153.026Y-81.363
|
||||||
|
X153.363Y-72.742
|
||||||
|
X153.371Y-61.16
|
||||||
|
X153.371Y-70.948
|
||||||
|
X153.38Y-64.506
|
||||||
|
X153.397Y-69.535
|
||||||
|
X153.414Y-62.078
|
||||||
|
X153.414Y-71.882
|
||||||
|
X153.414Y-68.631
|
||||||
|
X153.416Y-65.329
|
||||||
|
X153.432Y-63.007
|
||||||
|
X153.441Y-67.905
|
||||||
|
X153.67Y-95.148
|
||||||
|
X155.143Y-74.574
|
||||||
|
X155.862Y-77.955
|
||||||
|
X156.108Y-87.325
|
||||||
|
X156.115Y-54.096
|
||||||
|
X156.159Y-84.023
|
||||||
|
X156.174Y-52.075
|
||||||
|
X156.18Y-55.826
|
||||||
|
X156.208Y-49.835
|
||||||
|
X156.213Y-48.843
|
||||||
|
X156.219Y-53.075
|
||||||
|
X156.221Y-50.86
|
||||||
|
X156.256Y-56.618
|
||||||
|
X156.289Y-91.135
|
||||||
|
X156.312Y-59.284
|
||||||
|
X156.326Y-75.413
|
||||||
|
X156.85Y-56.096
|
||||||
|
X156.937Y-77.946
|
||||||
|
X156.96Y-91.158
|
||||||
|
X157.175Y-83.972
|
||||||
|
X157.277Y-87.274
|
||||||
|
X157.734Y-68.834
|
||||||
|
X157.734Y-69.596
|
||||||
|
X157.734Y-70.358
|
||||||
|
X158.214Y-63.652
|
||||||
|
X158.242Y-62.687
|
||||||
|
X158.27Y-93.675
|
||||||
|
X158.27Y-94.64
|
||||||
|
X158.344Y-60.198
|
||||||
|
X158.556Y-81.496
|
||||||
|
X158.626Y-80.565
|
||||||
|
X158.648Y-68.834
|
||||||
|
X158.648Y-69.647
|
||||||
|
X158.648Y-70.409
|
||||||
|
X158.659Y-95.522
|
||||||
|
X158.681Y-90.451
|
||||||
|
X158.748Y-91.288
|
||||||
|
X158.985Y-78.64
|
||||||
|
X159.003Y-77.435
|
||||||
|
X159.664Y-68.834
|
||||||
|
X159.664Y-69.596
|
||||||
|
X159.664Y-70.358
|
||||||
|
X160.579Y-68.834
|
||||||
|
X160.579Y-69.647
|
||||||
|
X160.579Y-70.409
|
||||||
|
X160.833Y-59.184
|
||||||
|
X160.833Y-61.009
|
||||||
|
X161.148Y-91.19
|
||||||
|
X161.595Y-68.834
|
||||||
|
X161.595Y-69.596
|
||||||
|
X161.595Y-70.358
|
||||||
|
X161.655Y-77.953
|
||||||
|
X162.096Y-91.254
|
||||||
|
X162.207Y-77.986
|
||||||
|
X162.509Y-68.834
|
||||||
|
X162.509Y-69.647
|
||||||
|
X162.509Y-70.409
|
||||||
|
X162.998Y-78.315
|
||||||
|
X163.017Y-90.503
|
||||||
|
X163.017Y-91.463
|
||||||
|
X163.068Y-77.193
|
||||||
|
X163.722Y-78.34
|
||||||
|
X163.871Y-90.503
|
||||||
|
X163.982Y-91.463
|
||||||
|
X164.033Y-77.193
|
||||||
|
X164.338Y-98.044
|
||||||
|
X164.47Y-78.307
|
||||||
|
X164.745Y-91.116
|
||||||
|
X164.934Y-74.62
|
||||||
|
X164.95Y-77.703
|
||||||
|
X164.986Y-75.423
|
||||||
|
X165.057Y-87.793
|
||||||
|
X165.109Y-88.596
|
||||||
|
X165.14Y-60.48
|
||||||
|
X165.405Y-51.968
|
||||||
|
X165.462Y-91.532
|
||||||
|
X165.732Y-75.383
|
||||||
|
X165.749Y-74.631
|
||||||
|
X165.78Y-90.908
|
||||||
|
X165.78Y-77.673
|
||||||
|
X165.8Y-78.297
|
||||||
|
X165.854Y-88.555
|
||||||
|
X165.872Y-87.804
|
||||||
|
X165.872Y-60.311
|
||||||
|
X165.971Y-52.606
|
||||||
|
X166.175Y-51.895
|
||||||
|
X166.53Y-53.114
|
||||||
|
X166.606Y-60.252
|
||||||
|
X166.683Y-52.403
|
||||||
|
X167.292Y-52.758
|
||||||
|
X167.363Y-53.332
|
||||||
|
X168.063Y-63.37
|
||||||
|
X168.074Y-62.657
|
||||||
|
X168.08Y-64.12
|
||||||
|
X168.096Y-67.205
|
||||||
|
X168.097Y-53.238
|
||||||
|
X168.099Y-66.345
|
||||||
|
X168.099Y-69.647
|
||||||
|
X168.122Y-70.443
|
||||||
|
X168.148Y-68.805
|
||||||
|
X168.161Y-65.398
|
||||||
|
X170.457Y-57.737
|
||||||
|
X170.637Y-56.642
|
||||||
|
X171.559Y-56.723
|
||||||
|
X171.751Y-52.544
|
||||||
|
X171.77Y-51.742
|
||||||
|
X172.164Y-85.254
|
||||||
|
X172.276Y-82.321
|
||||||
|
X172.575Y-61.75
|
||||||
|
X173.079Y-82.287
|
||||||
|
X173.112Y-85.254
|
||||||
|
X173.375Y-61.75
|
||||||
|
X174.25Y-61.75
|
||||||
|
X174.752Y-85.198
|
||||||
|
X174.763Y-82.287
|
||||||
|
X175.286Y-41.834
|
||||||
|
X175.588Y-85.165
|
||||||
|
X175.834Y-82.231
|
||||||
|
X176.096Y-41.819
|
||||||
|
X177.249Y-51.661
|
||||||
|
X177.249Y-53.711
|
||||||
|
X177.264Y-54.514
|
||||||
|
X177.272Y-52.478
|
||||||
|
X177.455Y-41.819
|
||||||
|
X178.206Y-41.812
|
||||||
|
X179.543Y-41.834
|
||||||
|
X180.331Y-41.826
|
||||||
|
X181.609Y-41.812
|
||||||
|
X182.426Y-41.812
|
||||||
|
X188.773Y-86.614
|
||||||
|
X189.332Y-81.539
|
||||||
|
X189.332Y-82.499
|
||||||
|
X190.348Y-81.308
|
||||||
|
X190.348Y-82.268
|
||||||
|
X192.044Y-84.531
|
||||||
|
X196.799Y-39.929
|
||||||
|
X196.952Y-80.646
|
||||||
|
X197.206Y-55.931
|
||||||
|
X198.808Y-82.057
|
||||||
|
T3
|
||||||
|
X162.54Y-73.05
|
||||||
|
X163.708Y-86.411
|
||||||
|
X163.748Y-94.691
|
||||||
|
X163.799Y-81.331
|
||||||
|
X165.08Y-73.05
|
||||||
|
X166.248Y-86.411
|
||||||
|
X166.288Y-94.691
|
||||||
|
X166.339Y-81.331
|
||||||
|
X169.215Y-82.804
|
||||||
|
X169.215Y-85.344
|
||||||
|
X172.994Y-75.844
|
||||||
|
X174.17Y-56.365
|
||||||
|
X175.534Y-75.844
|
||||||
|
X176.71Y-56.365
|
||||||
|
X193.599Y-47.63
|
||||||
|
X193.599Y-50.17
|
||||||
|
T4
|
||||||
|
X170.785Y-65.684
|
||||||
|
X170.835Y-69.393
|
||||||
|
X171.14Y-97.079
|
||||||
|
X171.14Y-100.787
|
||||||
|
X173.325Y-65.684
|
||||||
|
X173.375Y-69.393
|
||||||
|
X173.68Y-97.079
|
||||||
|
X173.68Y-100.787
|
||||||
|
X210.109Y-62.997
|
||||||
|
X210.109Y-65.537
|
||||||
|
X215.443Y-62.946
|
||||||
|
X215.443Y-65.486
|
||||||
|
T5
|
||||||
|
X203.48Y-40.94
|
||||||
|
X203.48Y-45.94
|
||||||
|
X203.48Y-50.94
|
||||||
|
X203.48Y-55.94
|
||||||
|
X205.98Y-43.44
|
||||||
|
X205.98Y-48.44
|
||||||
|
X205.98Y-53.44
|
||||||
|
X215.98Y-45.94
|
||||||
|
X215.98Y-50.94
|
||||||
|
T6
|
||||||
|
X183.37Y-69.11
|
||||||
|
X183.37Y-76.61
|
||||||
|
X183.37Y-84.11
|
||||||
|
X183.37Y-91.61
|
||||||
|
X183.37Y-99.11
|
||||||
|
X213.37Y-69.11
|
||||||
|
X213.37Y-76.61
|
||||||
|
X213.37Y-84.11
|
||||||
|
X213.37Y-91.61
|
||||||
|
X213.37Y-99.11
|
||||||
|
T7
|
||||||
|
X140.0Y-42.0
|
||||||
|
X140.0Y-105.0
|
||||||
|
X190.0Y-42.0
|
||||||
|
T2
|
||||||
|
G00X135.3Y-48.155
|
||||||
|
M15
|
||||||
|
G01X134.4Y-48.155
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X135.3Y-59.395
|
||||||
|
M15
|
||||||
|
G01X134.4Y-59.395
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X139.1Y-48.155
|
||||||
|
M15
|
||||||
|
G01X138.6Y-48.155
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X139.1Y-59.395
|
||||||
|
M15
|
||||||
|
G01X138.6Y-59.395
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
M30
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,9.0.1+1*
|
||||||
|
G04 #@! TF.CreationDate,2025-12-16T10:26:37+00:00*
|
||||||
|
G04 #@! TF.ProjectId,c64psu,63363470-7375-42e6-9b69-6361645f7063,rev?*
|
||||||
|
G04 #@! TF.SameCoordinates,Original*
|
||||||
|
G04 #@! TF.FileFunction,Other,Comment*
|
||||||
|
%FSLAX46Y46*%
|
||||||
|
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||||
|
G04 Created by KiCad (PCBNEW 9.0.1+1) date 2025-12-16 10:26:37*
|
||||||
|
%MOMM*%
|
||||||
|
%LPD*%
|
||||||
|
G01*
|
||||||
|
G04 APERTURE LIST*
|
||||||
|
%ADD10C,0.150000*%
|
||||||
|
G04 APERTURE END LIST*
|
||||||
|
D10*
|
||||||
|
X192800000Y-42000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X187200000Y-42000000I-2800000J0D01*
|
||||||
|
G01*
|
||||||
|
X187200000Y-42000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X192800000Y-42000000I2800000J0D01*
|
||||||
|
G01*
|
||||||
|
X142800000Y-105000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X137200000Y-105000000I-2800000J0D01*
|
||||||
|
G01*
|
||||||
|
X137200000Y-105000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X142800000Y-105000000I2800000J0D01*
|
||||||
|
G01*
|
||||||
|
X142800000Y-42000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X137200000Y-42000000I-2800000J0D01*
|
||||||
|
G01*
|
||||||
|
X137200000Y-42000000D02*
|
||||||
|
G75*
|
||||||
|
G02*
|
||||||
|
X142800000Y-42000000I2800000J0D01*
|
||||||
|
G01*
|
||||||
|
M02*
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en">
|
||||||
|
<body>
|
||||||
|
<script type="module" src="kicanvas.js"></script>
|
||||||
|
<div id="no_file_access" style="display: none; ">
|
||||||
|
<span>The browser can't read local files. Enable it to continue. I.e. use <i>--allow-file-access-from-files</i> on Chrome</span>
|
||||||
|
</div>
|
||||||
|
<kicanvas-embed controls="full">
|
||||||
|
<kicanvas-source src="c64psu.kicad_pcb"></kicanvas-source>
|
||||||
|
</kicanvas-embed>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function ready()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var xmlhttp = new XMLHttpRequest();
|
||||||
|
xmlhttp.open('GET', 'c64psu.kicad_pcb', false);
|
||||||
|
xmlhttp.send();
|
||||||
|
}
|
||||||
|
catch (error)
|
||||||
|
{
|
||||||
|
if (window.location.protocol === 'file:')
|
||||||
|
{
|
||||||
|
document.getElementById('no_file_access').style.display = 'block';
|
||||||
|
}
|
||||||
|
throw(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener('DOMContentLoaded', ready);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en">
|
||||||
|
<body>
|
||||||
|
<script type="module" src="kicanvas.js"></script>
|
||||||
|
<div id="no_file_access" style="display: none; ">
|
||||||
|
<span>The browser can't read local files. Enable it to continue. I.e. use <i>--allow-file-access-from-files</i> on Chrome</span>
|
||||||
|
</div>
|
||||||
|
<kicanvas-embed controls="full">
|
||||||
|
<kicanvas-source src="c64psu.kicad_pro"></kicanvas-source>
|
||||||
|
</kicanvas-embed>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function ready()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var xmlhttp = new XMLHttpRequest();
|
||||||
|
xmlhttp.open('GET', 'c64psu.kicad_pro', false);
|
||||||
|
xmlhttp.send();
|
||||||
|
}
|
||||||
|
catch (error)
|
||||||
|
{
|
||||||
|
if (window.location.protocol === 'file:')
|
||||||
|
{
|
||||||
|
document.getElementById('no_file_access').style.display = 'block';
|
||||||
|
}
|
||||||
|
throw(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener('DOMContentLoaded', ready);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en">
|
||||||
|
<body>
|
||||||
|
<script type="module" src="kicanvas.js"></script>
|
||||||
|
<div id="no_file_access" style="display: none; ">
|
||||||
|
<span>The browser can't read local files. Enable it to continue. I.e. use <i>--allow-file-access-from-files</i> on Chrome</span>
|
||||||
|
</div>
|
||||||
|
<kicanvas-embed controls="full">
|
||||||
|
<kicanvas-source src="c64psu.kicad_sch"></kicanvas-source>
|
||||||
|
</kicanvas-embed>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function ready()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var xmlhttp = new XMLHttpRequest();
|
||||||
|
xmlhttp.open('GET', 'c64psu.kicad_sch', false);
|
||||||
|
xmlhttp.send();
|
||||||
|
}
|
||||||
|
catch (error)
|
||||||
|
{
|
||||||
|
if (window.location.protocol === 'file:')
|
||||||
|
{
|
||||||
|
document.getElementById('no_file_access').style.display = 'block';
|
||||||
|
}
|
||||||
|
throw(error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener('DOMContentLoaded', ready);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"board": {
|
"board": {
|
||||||
"active_layer": 0,
|
"active_layer": 0,
|
||||||
"active_layer_preset": "All Layers",
|
"active_layer_preset": "",
|
||||||
"auto_track_width": true,
|
"auto_track_width": false,
|
||||||
"hidden_netclasses": [],
|
"hidden_netclasses": [],
|
||||||
"hidden_nets": [],
|
"hidden_nets": [],
|
||||||
"high_contrast_mode": 0,
|
"high_contrast_mode": 0,
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
"conflict_shadows",
|
"conflict_shadows",
|
||||||
"shapes"
|
"shapes"
|
||||||
],
|
],
|
||||||
"visible_layers": "ffffffff_ffffffff_ffffffff_ffffffff",
|
"visible_layers": "ffffffff_ffffffff_fffffff5_ffffffff",
|
||||||
"zone_display_mode": 0
|
"zone_display_mode": 0
|
||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
@@ -72,6 +72,8 @@
|
|||||||
false,
|
false,
|
||||||
false,
|
false,
|
||||||
false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
false
|
false
|
||||||
],
|
],
|
||||||
"col_order": [
|
"col_order": [
|
||||||
@@ -84,7 +86,9 @@
|
|||||||
6,
|
6,
|
||||||
7,
|
7,
|
||||||
8,
|
8,
|
||||||
9
|
9,
|
||||||
|
10,
|
||||||
|
11
|
||||||
],
|
],
|
||||||
"col_widths": [
|
"col_widths": [
|
||||||
162,
|
162,
|
||||||
@@ -96,6 +100,8 @@
|
|||||||
91,
|
91,
|
||||||
71,
|
71,
|
||||||
91,
|
91,
|
||||||
|
91,
|
||||||
|
91,
|
||||||
91
|
91
|
||||||
],
|
],
|
||||||
"custom_group_rules": [],
|
"custom_group_rules": [],
|
||||||
@@ -48,11 +48,74 @@
|
|||||||
"silk_text_thickness": 0.1,
|
"silk_text_thickness": 0.1,
|
||||||
"silk_text_upright": false,
|
"silk_text_upright": false,
|
||||||
"zones": {
|
"zones": {
|
||||||
"min_clearance": 0.5
|
"min_clearance": 0.6
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"diff_pair_dimensions": [],
|
"diff_pair_dimensions": [
|
||||||
"drc_exclusions": [],
|
{
|
||||||
|
"gap": 0.0,
|
||||||
|
"via_gap": 0.0,
|
||||||
|
"width": 0.0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"drc_exclusions": [
|
||||||
|
[
|
||||||
|
"footprint_symbol_mismatch|168613100|54282350|5a502ee0-e8a8-4e95-93b8-4c1514a99e91|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|136887500|57596750|5f2f0b99-bdb4-44f5-9350-d1ea18bc2d7f|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|140863400|76894200|8956c995-5caf-4690-8c1d-d09927afbc8b|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|147010200|91372200|591eea2c-7002-439b-99dd-a27b48041182|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|151151699|77857700|a2a8f815-24b1-4e38-87c7-936b04fbf5c7|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|152627600|53672750|80d848ab-818c-4c6f-b791-edfe63fd79d5|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|154947500|57749800|4089365a-2a9f-4c5c-8e56-f7b17c5cbd66|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|158256100|60147200|1cf5e456-6e0f-4cc0-b290-43ee714eb81e|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|158764200|90435200|8405dbbc-7c76-4d9e-982c-7997bd888ccf|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|158800800|77252600|0ed65a98-b122-48d4-8170-cba8e676127b|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|169214800|84094000|58b940db-2a87-4845-a822-214f810b512e|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|190906400|84443700|163e8590-a204-43e9-9339-a4161faa7720|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|193598800|48920399|e20c6d70-ca25-4b4b-b942-da573dc77771|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"lib_footprint_mismatch|199694800|83108800|b085309a-34f8-4979-822d-d3f895291474|00000000-0000-0000-0000-000000000000",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
],
|
||||||
"meta": {
|
"meta": {
|
||||||
"version": 2
|
"version": 2
|
||||||
},
|
},
|
||||||
@@ -119,7 +182,7 @@
|
|||||||
"max_error": 0.005,
|
"max_error": 0.005,
|
||||||
"min_clearance": 0.0,
|
"min_clearance": 0.0,
|
||||||
"min_connection": 0.0,
|
"min_connection": 0.0,
|
||||||
"min_copper_edge_clearance": 0.5,
|
"min_copper_edge_clearance": 0.45,
|
||||||
"min_groove_width": 0.0,
|
"min_groove_width": 0.0,
|
||||||
"min_hole_clearance": 0.25,
|
"min_hole_clearance": 0.25,
|
||||||
"min_hole_to_hole": 0.25,
|
"min_hole_to_hole": 0.25,
|
||||||
@@ -180,7 +243,18 @@
|
|||||||
"td_width_to_size_filter_ratio": 0.9
|
"td_width_to_size_filter_ratio": 0.9
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"track_widths": [],
|
"track_widths": [
|
||||||
|
0.0,
|
||||||
|
0.17,
|
||||||
|
0.21,
|
||||||
|
0.3,
|
||||||
|
0.4,
|
||||||
|
0.6,
|
||||||
|
0.8,
|
||||||
|
1.0,
|
||||||
|
1.5,
|
||||||
|
2.0
|
||||||
|
],
|
||||||
"tuning_pattern_settings": {
|
"tuning_pattern_settings": {
|
||||||
"diff_pair_defaults": {
|
"diff_pair_defaults": {
|
||||||
"corner_radius_percentage": 80,
|
"corner_radius_percentage": 80,
|
||||||
@@ -207,7 +281,12 @@
|
|||||||
"spacing": 0.6
|
"spacing": 0.6
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"via_dimensions": [],
|
"via_dimensions": [
|
||||||
|
{
|
||||||
|
"diameter": 0.0,
|
||||||
|
"drill": 0.0
|
||||||
|
}
|
||||||
|
],
|
||||||
"zones_allow_external_fillets": false
|
"zones_allow_external_fillets": false
|
||||||
},
|
},
|
||||||
"ipc2581": {
|
"ipc2581": {
|
||||||
@@ -440,6 +519,7 @@
|
|||||||
"single_global_label": "ignore",
|
"single_global_label": "ignore",
|
||||||
"unannotated": "error",
|
"unannotated": "error",
|
||||||
"unconnected_wire_endpoint": "warning",
|
"unconnected_wire_endpoint": "warning",
|
||||||
|
"undefined_netclass": "error",
|
||||||
"unit_value_mismatch": "error",
|
"unit_value_mismatch": "error",
|
||||||
"unresolved_variable": "error",
|
"unresolved_variable": "error",
|
||||||
"wire_dangling": "error"
|
"wire_dangling": "error"
|
||||||
@@ -525,7 +605,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"group_by": true,
|
"group_by": false,
|
||||||
"label": "Value",
|
"label": "Value",
|
||||||
"name": "Value",
|
"name": "Value",
|
||||||
"show": true
|
"show": true
|
||||||
@@ -549,7 +629,7 @@
|
|||||||
"show": true
|
"show": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"group_by": true,
|
"group_by": false,
|
||||||
"label": "Footprint",
|
"label": "Footprint",
|
||||||
"name": "Footprint",
|
"name": "Footprint",
|
||||||
"show": true
|
"show": true
|
||||||
@@ -558,13 +638,127 @@
|
|||||||
"group_by": false,
|
"group_by": false,
|
||||||
"label": "Datasheet",
|
"label": "Datasheet",
|
||||||
"name": "Datasheet",
|
"name": "Datasheet",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Arrow Price/Stock",
|
||||||
|
"name": "Arrow Price/Stock",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Field10",
|
||||||
|
"name": "Field10",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Height",
|
||||||
|
"name": "Height",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MANUFACTURER",
|
||||||
|
"name": "MANUFACTURER",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "MAXIMUM_PACKAGE_HEIGHT",
|
||||||
|
"name": "MAXIMUM_PACKAGE_HEIGHT",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": true,
|
||||||
|
"label": "MPN",
|
||||||
|
"name": "MPN",
|
||||||
"show": true
|
"show": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Manufacturer",
|
||||||
|
"name": "Manufacturer",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Manufacturer_Name",
|
||||||
|
"name": "Manufacturer_Name",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Mouser Part Number",
|
||||||
|
"name": "Mouser Part Number",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Mouser Price/Stock",
|
||||||
|
"name": "Mouser Price/Stock",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "PARTREV",
|
||||||
|
"name": "PARTREV",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Part Number",
|
||||||
|
"name": "Part Number",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "STANDARD",
|
||||||
|
"name": "STANDARD",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Sim.Pins",
|
||||||
|
"name": "Sim.Pins",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Specifications",
|
||||||
|
"name": "Specifications",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Arrow Part Number",
|
||||||
|
"name": "Arrow Part Number",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Description",
|
||||||
|
"name": "Description",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "#",
|
||||||
|
"name": "${ITEM_NUMBER}",
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"group_by": false,
|
||||||
|
"label": "Manufacturer_Part_Number",
|
||||||
|
"name": "Manufacturer_Part_Number",
|
||||||
|
"show": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"filter_string": "",
|
"filter_string": "",
|
||||||
"group_symbols": true,
|
"group_symbols": true,
|
||||||
"include_excluded_from_bom": true,
|
"include_excluded_from_bom": true,
|
||||||
"name": "Default Editing",
|
"name": "",
|
||||||
"sort_asc": true,
|
"sort_asc": true,
|
||||||
"sort_field": "Reference"
|
"sort_field": "Reference"
|
||||||
},
|
},
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,44 @@
|
|||||||
|
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,9.0.1+1*
|
||||||
|
G04 #@! TF.CreationDate,2025-12-16T10:27:43+00:00*
|
||||||
|
G04 #@! TF.ProjectId,c64psu,63363470-7375-42e6-9b69-6361645f7063,rev?*
|
||||||
|
G04 #@! TF.SameCoordinates,Original*
|
||||||
|
G04 #@! TF.FileFunction,Profile,NP*
|
||||||
|
%FSLAX46Y46*%
|
||||||
|
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
|
||||||
|
G04 Created by KiCad (PCBNEW 9.0.1+1) date 2025-12-16 10:27:43*
|
||||||
|
%MOMM*%
|
||||||
|
%LPD*%
|
||||||
|
G01*
|
||||||
|
G04 APERTURE LIST*
|
||||||
|
G04 #@! TA.AperFunction,Profile*
|
||||||
|
%ADD10C,0.050000*%
|
||||||
|
G04 #@! TD*
|
||||||
|
G04 APERTURE END LIST*
|
||||||
|
D10*
|
||||||
|
X219224551Y-37033468D02*
|
||||||
|
X219250062Y-108900624D01*
|
||||||
|
X133100087Y-108875624D01*
|
||||||
|
X133075074Y-58400000D01*
|
||||||
|
X139675000Y-58400000D01*
|
||||||
|
X139675000Y-57800000D01*
|
||||||
|
X139250000Y-57800000D01*
|
||||||
|
X139250000Y-49750000D01*
|
||||||
|
X139700000Y-49750000D01*
|
||||||
|
X139700000Y-49150000D01*
|
||||||
|
X133075000Y-49150000D01*
|
||||||
|
X133075000Y-37008468D01*
|
||||||
|
X219224551Y-37033468D01*
|
||||||
|
X219224551Y-37033468D02*
|
||||||
|
X219250062Y-108900624D01*
|
||||||
|
X133100087Y-108875624D01*
|
||||||
|
X133075074Y-58400000D01*
|
||||||
|
X139675000Y-58400000D01*
|
||||||
|
X139675000Y-57800000D01*
|
||||||
|
X139250000Y-57800000D01*
|
||||||
|
X139250000Y-49750000D01*
|
||||||
|
X139700000Y-49750000D01*
|
||||||
|
X139700000Y-49150000D01*
|
||||||
|
X133075000Y-49150000D01*
|
||||||
|
X133075000Y-37008468D01*
|
||||||
|
X219224551Y-37033468D01*
|
||||||
|
M02*
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
|||||||
|
M48
|
||||||
|
; DRILL file {KiCad 9.0.1+1} date 2025-12-16T10:27:43+0000
|
||||||
|
; FORMAT={-:-/ absolute / metric / decimal}
|
||||||
|
; #@! TF.CreationDate,2025-12-16T10:27:43+00:00
|
||||||
|
; #@! TF.GenerationSoftware,Kicad,Pcbnew,9.0.1+1
|
||||||
|
; #@! TF.FileFunction,NonPlated,1,4,NPTH
|
||||||
|
FMAT,2
|
||||||
|
METRIC
|
||||||
|
; #@! TA.AperFunction,NonPlated,NPTH,ComponentDrill
|
||||||
|
T1C2.400
|
||||||
|
%
|
||||||
|
G90
|
||||||
|
G05
|
||||||
|
T1
|
||||||
|
X210.98Y-40.94
|
||||||
|
X210.98Y-55.94
|
||||||
|
M30
|
||||||
@@ -0,0 +1,345 @@
|
|||||||
|
M48
|
||||||
|
; DRILL file {KiCad 9.0.1+1} date 2025-12-16T10:27:43+0000
|
||||||
|
; FORMAT={-:-/ absolute / metric / decimal}
|
||||||
|
; #@! TF.CreationDate,2025-12-16T10:27:43+00:00
|
||||||
|
; #@! TF.GenerationSoftware,Kicad,Pcbnew,9.0.1+1
|
||||||
|
; #@! TF.FileFunction,Plated,1,4,PTH
|
||||||
|
FMAT,2
|
||||||
|
METRIC
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ViaDrill
|
||||||
|
T1C0.300
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T2C0.650
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T3C0.800
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T4C1.000
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T5C1.300
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T6C1.500
|
||||||
|
; #@! TA.AperFunction,Plated,PTH,ComponentDrill
|
||||||
|
T7C3.200
|
||||||
|
%
|
||||||
|
G90
|
||||||
|
G05
|
||||||
|
T1
|
||||||
|
X137.008Y-65.837
|
||||||
|
X137.109Y-61.112
|
||||||
|
X137.16Y-62.549
|
||||||
|
X137.16Y-64.211
|
||||||
|
X138.035Y-89.68
|
||||||
|
X138.12Y-88.324
|
||||||
|
X138.277Y-91.242
|
||||||
|
X138.323Y-74.944
|
||||||
|
X138.323Y-93.201
|
||||||
|
X139.04Y-81.128
|
||||||
|
X139.543Y-93.744
|
||||||
|
X139.593Y-78.844
|
||||||
|
X140.305Y-88.781
|
||||||
|
X140.307Y-50.563
|
||||||
|
X140.332Y-57.091
|
||||||
|
X140.499Y-49.9
|
||||||
|
X140.504Y-90.994
|
||||||
|
X140.57Y-57.765
|
||||||
|
X140.579Y-58.488
|
||||||
|
X140.863Y-74.944
|
||||||
|
X141.067Y-93.658
|
||||||
|
X141.127Y-52.517
|
||||||
|
X141.29Y-62.57
|
||||||
|
X141.321Y-87.641
|
||||||
|
X141.321Y-88.601
|
||||||
|
X141.321Y-92.795
|
||||||
|
X141.326Y-84.734
|
||||||
|
X141.333Y-49.761
|
||||||
|
X141.333Y-50.574
|
||||||
|
X141.368Y-55.35
|
||||||
|
X141.607Y-54.139
|
||||||
|
X141.823Y-52.913
|
||||||
|
X142.133Y-74.944
|
||||||
|
X142.459Y-53.398
|
||||||
|
X142.846Y-63.857
|
||||||
|
X143.213Y-62.422
|
||||||
|
X143.228Y-85.733
|
||||||
|
X143.818Y-57.663
|
||||||
|
X143.924Y-63.376
|
||||||
|
X143.963Y-59.487
|
||||||
|
X144.26Y-85.835
|
||||||
|
X144.396Y-58.112
|
||||||
|
X144.526Y-91.237
|
||||||
|
X144.775Y-88.375
|
||||||
|
X144.836Y-57.52
|
||||||
|
X145.283Y-58.147
|
||||||
|
X145.925Y-84.199
|
||||||
|
X146.287Y-64.657
|
||||||
|
X146.311Y-63.284
|
||||||
|
X146.325Y-61.263
|
||||||
|
X146.631Y-48.685
|
||||||
|
X146.653Y-98.992
|
||||||
|
X146.655Y-97.062
|
||||||
|
X146.66Y-98.027
|
||||||
|
X146.674Y-49.826
|
||||||
|
X146.761Y-81.94
|
||||||
|
X147.117Y-84.379
|
||||||
|
X147.232Y-61.231
|
||||||
|
X147.264Y-94.42
|
||||||
|
X147.367Y-63.241
|
||||||
|
X147.531Y-49.253
|
||||||
|
X148.418Y-49.805
|
||||||
|
X148.432Y-48.692
|
||||||
|
X149.245Y-94.319
|
||||||
|
X149.522Y-97.062
|
||||||
|
X149.522Y-98.027
|
||||||
|
X149.753Y-99.145
|
||||||
|
X149.855Y-100.516
|
||||||
|
X150.085Y-74.38
|
||||||
|
X150.121Y-89.122
|
||||||
|
X150.214Y-80.398
|
||||||
|
X150.617Y-95.741
|
||||||
|
X150.922Y-85.175
|
||||||
|
X150.935Y-55.756
|
||||||
|
X151.064Y-76.72
|
||||||
|
X151.125Y-72.7
|
||||||
|
X151.125Y-73.5
|
||||||
|
X151.156Y-71.816
|
||||||
|
X151.43Y-84.667
|
||||||
|
X151.54Y-56.264
|
||||||
|
X151.595Y-57.229
|
||||||
|
X151.605Y-95.741
|
||||||
|
X151.684Y-86.777
|
||||||
|
X151.75Y-64.25
|
||||||
|
X152.014Y-84.082
|
||||||
|
X152.014Y-79.55
|
||||||
|
X152.014Y-80.34
|
||||||
|
X152.117Y-74.403
|
||||||
|
X152.404Y-94.738
|
||||||
|
X152.857Y-92.354
|
||||||
|
X153.003Y-80.398
|
||||||
|
X153.026Y-81.363
|
||||||
|
X153.363Y-72.742
|
||||||
|
X153.371Y-61.16
|
||||||
|
X153.371Y-70.948
|
||||||
|
X153.38Y-64.506
|
||||||
|
X153.397Y-69.535
|
||||||
|
X153.414Y-62.078
|
||||||
|
X153.414Y-71.882
|
||||||
|
X153.414Y-68.631
|
||||||
|
X153.416Y-65.329
|
||||||
|
X153.432Y-63.007
|
||||||
|
X153.441Y-67.905
|
||||||
|
X153.67Y-95.148
|
||||||
|
X155.143Y-74.574
|
||||||
|
X155.862Y-77.955
|
||||||
|
X156.108Y-87.325
|
||||||
|
X156.115Y-54.096
|
||||||
|
X156.159Y-84.023
|
||||||
|
X156.174Y-52.075
|
||||||
|
X156.18Y-55.826
|
||||||
|
X156.208Y-49.835
|
||||||
|
X156.213Y-48.843
|
||||||
|
X156.219Y-53.075
|
||||||
|
X156.221Y-50.86
|
||||||
|
X156.256Y-56.618
|
||||||
|
X156.289Y-91.135
|
||||||
|
X156.312Y-59.284
|
||||||
|
X156.326Y-75.413
|
||||||
|
X156.85Y-56.096
|
||||||
|
X156.937Y-77.946
|
||||||
|
X156.96Y-91.158
|
||||||
|
X157.175Y-83.972
|
||||||
|
X157.277Y-87.274
|
||||||
|
X157.734Y-68.834
|
||||||
|
X157.734Y-69.596
|
||||||
|
X157.734Y-70.358
|
||||||
|
X158.214Y-63.652
|
||||||
|
X158.242Y-62.687
|
||||||
|
X158.27Y-93.675
|
||||||
|
X158.27Y-94.64
|
||||||
|
X158.344Y-60.198
|
||||||
|
X158.556Y-81.496
|
||||||
|
X158.626Y-80.565
|
||||||
|
X158.648Y-68.834
|
||||||
|
X158.648Y-69.647
|
||||||
|
X158.648Y-70.409
|
||||||
|
X158.659Y-95.522
|
||||||
|
X158.681Y-90.451
|
||||||
|
X158.748Y-91.288
|
||||||
|
X158.985Y-78.64
|
||||||
|
X159.003Y-77.435
|
||||||
|
X159.664Y-68.834
|
||||||
|
X159.664Y-69.596
|
||||||
|
X159.664Y-70.358
|
||||||
|
X160.579Y-68.834
|
||||||
|
X160.579Y-69.647
|
||||||
|
X160.579Y-70.409
|
||||||
|
X160.833Y-59.184
|
||||||
|
X160.833Y-61.009
|
||||||
|
X161.148Y-91.19
|
||||||
|
X161.595Y-68.834
|
||||||
|
X161.595Y-69.596
|
||||||
|
X161.595Y-70.358
|
||||||
|
X161.655Y-77.953
|
||||||
|
X162.096Y-91.254
|
||||||
|
X162.207Y-77.986
|
||||||
|
X162.509Y-68.834
|
||||||
|
X162.509Y-69.647
|
||||||
|
X162.509Y-70.409
|
||||||
|
X162.998Y-78.315
|
||||||
|
X163.017Y-90.503
|
||||||
|
X163.017Y-91.463
|
||||||
|
X163.068Y-77.193
|
||||||
|
X163.722Y-78.34
|
||||||
|
X163.871Y-90.503
|
||||||
|
X163.982Y-91.463
|
||||||
|
X164.033Y-77.193
|
||||||
|
X164.338Y-98.044
|
||||||
|
X164.47Y-78.307
|
||||||
|
X164.745Y-91.116
|
||||||
|
X164.934Y-74.62
|
||||||
|
X164.95Y-77.703
|
||||||
|
X164.986Y-75.423
|
||||||
|
X165.057Y-87.793
|
||||||
|
X165.109Y-88.596
|
||||||
|
X165.14Y-60.48
|
||||||
|
X165.405Y-51.968
|
||||||
|
X165.462Y-91.532
|
||||||
|
X165.732Y-75.383
|
||||||
|
X165.749Y-74.631
|
||||||
|
X165.78Y-90.908
|
||||||
|
X165.78Y-77.673
|
||||||
|
X165.8Y-78.297
|
||||||
|
X165.854Y-88.555
|
||||||
|
X165.872Y-87.804
|
||||||
|
X165.872Y-60.311
|
||||||
|
X165.971Y-52.606
|
||||||
|
X166.175Y-51.895
|
||||||
|
X166.53Y-53.114
|
||||||
|
X166.606Y-60.252
|
||||||
|
X166.683Y-52.403
|
||||||
|
X167.292Y-52.758
|
||||||
|
X167.363Y-53.332
|
||||||
|
X168.063Y-63.37
|
||||||
|
X168.074Y-62.657
|
||||||
|
X168.08Y-64.12
|
||||||
|
X168.096Y-67.205
|
||||||
|
X168.097Y-53.238
|
||||||
|
X168.099Y-66.345
|
||||||
|
X168.099Y-69.647
|
||||||
|
X168.122Y-70.443
|
||||||
|
X168.148Y-68.805
|
||||||
|
X168.161Y-65.398
|
||||||
|
X170.457Y-57.737
|
||||||
|
X170.637Y-56.642
|
||||||
|
X171.559Y-56.723
|
||||||
|
X171.751Y-52.544
|
||||||
|
X171.77Y-51.742
|
||||||
|
X172.164Y-85.254
|
||||||
|
X172.276Y-82.321
|
||||||
|
X172.575Y-61.75
|
||||||
|
X173.079Y-82.287
|
||||||
|
X173.112Y-85.254
|
||||||
|
X173.375Y-61.75
|
||||||
|
X174.25Y-61.75
|
||||||
|
X174.752Y-85.198
|
||||||
|
X174.763Y-82.287
|
||||||
|
X175.286Y-41.834
|
||||||
|
X175.588Y-85.165
|
||||||
|
X175.834Y-82.231
|
||||||
|
X176.096Y-41.819
|
||||||
|
X177.249Y-51.661
|
||||||
|
X177.249Y-53.711
|
||||||
|
X177.264Y-54.514
|
||||||
|
X177.272Y-52.478
|
||||||
|
X177.455Y-41.819
|
||||||
|
X178.206Y-41.812
|
||||||
|
X179.543Y-41.834
|
||||||
|
X180.331Y-41.826
|
||||||
|
X181.609Y-41.812
|
||||||
|
X182.426Y-41.812
|
||||||
|
X188.773Y-86.614
|
||||||
|
X189.332Y-81.539
|
||||||
|
X189.332Y-82.499
|
||||||
|
X190.348Y-81.308
|
||||||
|
X190.348Y-82.268
|
||||||
|
X192.044Y-84.531
|
||||||
|
X196.799Y-39.929
|
||||||
|
X196.952Y-80.646
|
||||||
|
X197.206Y-55.931
|
||||||
|
X198.808Y-82.057
|
||||||
|
T3
|
||||||
|
X162.54Y-73.05
|
||||||
|
X163.708Y-86.411
|
||||||
|
X163.748Y-94.691
|
||||||
|
X163.799Y-81.331
|
||||||
|
X165.08Y-73.05
|
||||||
|
X166.248Y-86.411
|
||||||
|
X166.288Y-94.691
|
||||||
|
X166.339Y-81.331
|
||||||
|
X169.215Y-82.804
|
||||||
|
X169.215Y-85.344
|
||||||
|
X172.994Y-75.844
|
||||||
|
X174.17Y-56.365
|
||||||
|
X175.534Y-75.844
|
||||||
|
X176.71Y-56.365
|
||||||
|
X193.599Y-47.63
|
||||||
|
X193.599Y-50.17
|
||||||
|
T4
|
||||||
|
X170.785Y-65.684
|
||||||
|
X170.835Y-69.393
|
||||||
|
X171.14Y-97.079
|
||||||
|
X171.14Y-100.787
|
||||||
|
X173.325Y-65.684
|
||||||
|
X173.375Y-69.393
|
||||||
|
X173.68Y-97.079
|
||||||
|
X173.68Y-100.787
|
||||||
|
X210.109Y-62.997
|
||||||
|
X210.109Y-65.537
|
||||||
|
X215.443Y-62.946
|
||||||
|
X215.443Y-65.486
|
||||||
|
T5
|
||||||
|
X203.48Y-40.94
|
||||||
|
X203.48Y-45.94
|
||||||
|
X203.48Y-50.94
|
||||||
|
X203.48Y-55.94
|
||||||
|
X205.98Y-43.44
|
||||||
|
X205.98Y-48.44
|
||||||
|
X205.98Y-53.44
|
||||||
|
X215.98Y-45.94
|
||||||
|
X215.98Y-50.94
|
||||||
|
T6
|
||||||
|
X183.37Y-69.11
|
||||||
|
X183.37Y-76.61
|
||||||
|
X183.37Y-84.11
|
||||||
|
X183.37Y-91.61
|
||||||
|
X183.37Y-99.11
|
||||||
|
X213.37Y-69.11
|
||||||
|
X213.37Y-76.61
|
||||||
|
X213.37Y-84.11
|
||||||
|
X213.37Y-91.61
|
||||||
|
X213.37Y-99.11
|
||||||
|
T7
|
||||||
|
X140.0Y-42.0
|
||||||
|
X140.0Y-105.0
|
||||||
|
X190.0Y-42.0
|
||||||
|
T2
|
||||||
|
G00X135.3Y-48.155
|
||||||
|
M15
|
||||||
|
G01X134.4Y-48.155
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X135.3Y-59.395
|
||||||
|
M15
|
||||||
|
G01X134.4Y-59.395
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X139.1Y-48.155
|
||||||
|
M15
|
||||||
|
G01X138.6Y-48.155
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
G00X139.1Y-59.395
|
||||||
|
M15
|
||||||
|
G01X138.6Y-59.395
|
||||||
|
M16
|
||||||
|
G05
|
||||||
|
M30
|
||||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 529 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.6 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 3.2 MiB |
@@ -0,0 +1,5 @@
|
|||||||
|
Board configuration: 4 layers
|
||||||
|
Project: c64psu
|
||||||
|
Project path: ./kicad/c64psu
|
||||||
|
Generated on: Tue Dec 16 10:27:44 UTC 2025
|
||||||
|
Commit: e9775f2ce78dc286cf8bec8b3a4b339598700a0a
|
||||||
+1829
File diff suppressed because it is too large
Load Diff
+2089
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,155 @@
|
|||||||
|
# PCB
|
||||||
|
|
||||||
|
Board size: 86.18x71.89 mm (3.39x2.83 inches)
|
||||||
|
|
||||||
|
- This is the size of the rectangle that contains the board
|
||||||
|
- Thickness: 1.6 mm (63 mils)
|
||||||
|
- Material: FR4
|
||||||
|
- Finish: None
|
||||||
|
- Layers: 4
|
||||||
|
- Copper thickness: 35 µm
|
||||||
|
|
||||||
|
Solder mask: TOP / BOTTOM
|
||||||
|
|
||||||
|
- Color: Green
|
||||||
|
|
||||||
|
Silk screen: TOP / BOTTOM
|
||||||
|
|
||||||
|
- Color: White
|
||||||
|
|
||||||
|
|
||||||
|
Stackup:
|
||||||
|
|
||||||
|
| Name | Type | Color | Thickness [µm]| Material | Er | Loss tan |
|
||||||
|
|----------------------|----------------------|------------------|---------------|-----------------|-----------|--------------|
|
||||||
|
| F.SilkS | Top Silk Screen | | | | | |
|
||||||
|
| F.Paste | Top Solder Paste | | | | | |
|
||||||
|
| F.Mask | Top Solder Mask | | 10 | | | |
|
||||||
|
| F.Cu | copper | | 35 | | | |
|
||||||
|
| dielectric 1 | prepreg | | 100 | FR4 | 4.5 | 0.020 |
|
||||||
|
| In1.Cu | copper | | 35 | | | |
|
||||||
|
| dielectric 2 | core | | 1240 | FR4 | 4.5 | 0.020 |
|
||||||
|
| In2.Cu | copper | | 35 | | | |
|
||||||
|
| dielectric 3 | prepreg | | 100 | FR4 | 4.5 | 0.020 |
|
||||||
|
| B.Cu | copper | | 35 | | | |
|
||||||
|
| B.Mask | Bottom Solder Mask | | 10 | | | |
|
||||||
|
| B.Paste | Bottom Solder Paste | | | | | |
|
||||||
|
| B.SilkS | Bottom Silk Screen | | | | | |
|
||||||
|
|
||||||
|
# Important sizes
|
||||||
|
|
||||||
|
Clearance: 0.2 mm (8 mils)
|
||||||
|
|
||||||
|
Track width: 0.17 mm (7 mils)
|
||||||
|
|
||||||
|
- By design rules: 0.0 mm (0 mils)
|
||||||
|
|
||||||
|
Drill: 0.4 mm (16 mils)
|
||||||
|
|
||||||
|
- Vias: 0.4 mm (16 mils) [Design: 0.4 mm (16 mils)]
|
||||||
|
- Pads: 0.75 mm (30 mils)
|
||||||
|
- The above values are real drill sizes, they add 0.1 mm (4 mils) to plated holes (PTH)
|
||||||
|
|
||||||
|
Via: 0.6/0.3 mm (24/12 mils)
|
||||||
|
|
||||||
|
- By design rules: 0.5/0.3 mm (20/12 mils)
|
||||||
|
- Micro via: yes [0.2/0.1 mm (8/4 mils)]
|
||||||
|
- Buried/blind via: yes
|
||||||
|
- Total: 242 (thru: 242 buried/blind: 0 micro: 0)
|
||||||
|
|
||||||
|
Outer Annular Ring: 0.1 mm (4 mils)
|
||||||
|
|
||||||
|
- By design rules: 0.15 mm (6 mils)
|
||||||
|
|
||||||
|
Eurocircuits class: 6C
|
||||||
|
- Using min drill 0.35 mm for an OAR of 0.13 mm
|
||||||
|
|
||||||
|
|
||||||
|
# General stats
|
||||||
|
|
||||||
|
Components count: (SMD/THT)
|
||||||
|
|
||||||
|
- Top: 87/6 (SMD + THT)
|
||||||
|
- Bottom: 23/2 (SMD + THT)
|
||||||
|
|
||||||
|
Defined tracks:
|
||||||
|
|
||||||
|
- 0.17 mm (7 mils)
|
||||||
|
- 0.21 mm (8 mils)
|
||||||
|
- 0.3 mm (12 mils)
|
||||||
|
- 0.4 mm (16 mils)
|
||||||
|
- 0.6 mm (24 mils)
|
||||||
|
- 0.8 mm (31 mils)
|
||||||
|
- 1.0 mm (39 mils)
|
||||||
|
- 1.5 mm (59 mils)
|
||||||
|
- 2.0 mm (79 mils)
|
||||||
|
|
||||||
|
Used tracks:
|
||||||
|
|
||||||
|
- 0.17 mm (7 mils) (43) defined: yes
|
||||||
|
- 0.21 mm (8 mils) (150) defined: yes
|
||||||
|
- 0.3 mm (12 mils) (193) defined: yes
|
||||||
|
- 0.4 mm (16 mils) (16) defined: yes
|
||||||
|
- 0.6 mm (24 mils) (52) defined: yes
|
||||||
|
- 0.8 mm (31 mils) (39) defined: yes
|
||||||
|
- 1.0 mm (39 mils) (83) defined: yes
|
||||||
|
- 1.5 mm (59 mils) (58) defined: yes
|
||||||
|
- 2.0 mm (79 mils) (2) defined: yes
|
||||||
|
|
||||||
|
Defined vias:
|
||||||
|
|
||||||
|
|
||||||
|
Used vias:
|
||||||
|
|
||||||
|
- 0.6/0.3 mm (24/12 mils) (Count: 242, Aspect: 2.7 A) defined: no
|
||||||
|
|
||||||
|
Holes (excluding vias):
|
||||||
|
|
||||||
|
- 0.8 mm (31 mils) (16)
|
||||||
|
- 1.0 mm (39 mils) (12)
|
||||||
|
- 1.3 mm (51 mils) (9)
|
||||||
|
- 1.5 mm (59 mils) (10)
|
||||||
|
- 2.4 mm (94 mils) (2)
|
||||||
|
- 3.2 mm (126 mils) (3)
|
||||||
|
|
||||||
|
Oval holes:
|
||||||
|
|
||||||
|
- 0.65x1.15 mm (26x45 mils) (2)
|
||||||
|
- 0.65x1.55 mm (26x61 mils) (2)
|
||||||
|
|
||||||
|
Drill tools (including vias and computing adjusts and rounding):
|
||||||
|
|
||||||
|
- 0.4 mm (16 mils) (242)
|
||||||
|
- 0.75 mm (30 mils) (4)
|
||||||
|
- 0.9 mm (35 mils) (16)
|
||||||
|
- 1.1 mm (43 mils) (12)
|
||||||
|
- 1.4 mm (55 mils) (9)
|
||||||
|
- 1.6 mm (63 mils) (10)
|
||||||
|
- 2.4 mm (94 mils) (2)
|
||||||
|
- 3.3 mm (130 mils) (3)
|
||||||
|
|
||||||
|
Solder paste stats:
|
||||||
|
|
||||||
|
Using a paste with 87.75 % alloy, that has an specific gravity for the alloy of 7.4 g/cm³
|
||||||
|
and 1.0 g/cm³ for the flux. This paste has an specific gravity of 4.15 g/cm³.
|
||||||
|
|
||||||
|
The stencil thickness is 0.12 mm.
|
||||||
|
|
||||||
|
| Side | Pads with paste | Area [mm²] | Paste [g] |
|
||||||
|
|--------|-----------------|------------|-----------|
|
||||||
|
| Top | 284 | 308.02 | 1.53 |
|
||||||
|
| Bottom | 53 | 69.05 | 0.34 |
|
||||||
|
| Total | 337 | 377.08 | 1.88 |
|
||||||
|
|
||||||
|
Note: this is just an approximation to the theoretical value. Margins of the solder mask and waste aren't computed.
|
||||||
|
|
||||||
|
# Schematic
|
||||||
|
|
||||||
|
{ width=16.5cm height=11.7cm }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# PCB Layers
|
||||||
|
|
||||||
|
{ width=16.5cm height=11.7cm }
|
||||||
|
|
||||||
Binary file not shown.
-172
@@ -1,172 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
|
||||||
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757" name="Debug" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug">
|
|
||||||
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757." name="/" resourcePath="">
|
|
||||||
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.1639966868" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.678883021" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C011J6Mx" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.82094025" name="CPU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.924469607" name="Core" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.2146118197" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.983901177" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32C011J6Mx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32C0xx_HAL_Driver/Inc | ../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32C0xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32C011xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C011J6MX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.2122184274" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="12" valueType="string"/>
|
|
||||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.706424878" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
|
||||||
<builder buildPath="${workspace_loc:/C64PSU}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.2142751093" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.587147590" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.575167819" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g3" valueType="enumerated"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.645084964" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1895516788" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.321833204" name="MCU/MPU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.933916329" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g3" valueType="enumerated"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.1534428128" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.195071703" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
|
||||||
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
|
|
||||||
<listOptionValue builtIn="false" value="STM32C011xx"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1494007121" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../Core/Inc"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/STM32C0xx_HAL_Driver/Inc"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32C0xx/Include"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.374132357" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1316908766" name="MCU/MPU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.2043403165" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g3" valueType="enumerated"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1864261745" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.1140402551" name="MCU/MPU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.1149055513" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C011J6MX_FLASH.ld}" valueType="string"/>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.2118654454" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
|
|
||||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
|
||||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
|
||||||
</inputType>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.912298996" name="MCU/MPU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.78248319" name="MCU/MPU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.312961143" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1063943665" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.1475431150" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.144351848" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.2084318476" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.748084951" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.430945311" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146">
|
|
||||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
|
||||||
<externalSettings/>
|
|
||||||
<extensions>
|
|
||||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
|
||||||
</extensions>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146" name="Release" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release">
|
|
||||||
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146." name="/" resourcePath="">
|
|
||||||
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.1733137408" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.1223747594" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C011J6Mx" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.393158468" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.1199669301" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.597482918" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.1988575598" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32C011J6Mx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Core/Inc | ../Drivers/STM32C0xx_HAL_Driver/Inc | ../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy | ../Drivers/CMSIS/Device/ST/STM32C0xx/Include | ../Drivers/CMSIS/Include || || || USE_HAL_DRIVER | STM32C011xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C011J6MX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1569649753" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="12" valueType="string"/>
|
|
||||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.842387442" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
|
||||||
<builder buildPath="${workspace_loc:/C64PSU}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1360593457" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.573700430" name="MCU/MPU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.1558494836" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g0" valueType="enumerated"/>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1702465073" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1624895885" name="MCU/MPU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.22339971" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.921880216" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.value.os" valueType="enumerated"/>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.885696519" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
|
||||||
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
|
|
||||||
<listOptionValue builtIn="false" value="STM32C011xx"/>
|
|
||||||
</option>
|
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.540533746" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
|
|
||||||
<listOptionValue builtIn="false" value="../Core/Inc"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/STM32C0xx_HAL_Driver/Inc"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32C0xx/Include"/>
|
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
|
||||||
</option>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.244587780" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.261364589" name="MCU/MPU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1249206819" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1450853907" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.value.os" valueType="enumerated"/>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.1193612024" name="MCU/MPU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
|
|
||||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.618984389" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C011J6MX_FLASH.ld}" valueType="string"/>
|
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1454739286" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input">
|
|
||||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
|
||||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
|
||||||
</inputType>
|
|
||||||
</tool>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.1860627509" name="MCU/MPU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.1187313965" name="MCU/MPU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.39869982" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1217880082" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.1934686265" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.1601582166" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.868363131" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.1303467245" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
|
|
||||||
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.2064858860" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
|
|
||||||
</toolChain>
|
|
||||||
</folderInfo>
|
|
||||||
<sourceEntries>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
|
|
||||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
|
|
||||||
</sourceEntries>
|
|
||||||
</configuration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
|
||||||
</cconfiguration>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
|
|
||||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
|
||||||
<project id="C64PSU.null.1611504891" name="C64PSU"/>
|
|
||||||
</storageModule>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
|
||||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
|
||||||
<storageModule moduleId="scannerConfiguration">
|
|
||||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.321833204;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.374132357">
|
|
||||||
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1624895885;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.244587780">
|
|
||||||
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
|
|
||||||
</scannerConfigBuildInfo>
|
|
||||||
</storageModule>
|
|
||||||
</cproject>
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,32 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>C64PSU</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
|
||||||
<triggers>clean,full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
|
||||||
<triggers>full,incremental,</triggers>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
|
|
||||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
|
|
||||||
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
|
||||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<project>
|
|
||||||
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.652000757" name="Debug">
|
|
||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
|
||||||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1634186148719439530" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
|
||||||
</provider>
|
|
||||||
</extension>
|
|
||||||
</configuration>
|
|
||||||
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1999119146" name="Release">
|
|
||||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
|
||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
|
||||||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1634186148719439530" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
|
||||||
</provider>
|
|
||||||
</extension>
|
|
||||||
</configuration>
|
|
||||||
</project>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
66BE74F758C12D739921AEA421D593D3=2
|
|
||||||
DC22A860405A8BF2F2C095E5B6529F12=42D9BC1A68BC2F136810112ADD60988B
|
|
||||||
eclipse.preferences.version=1
|
|
||||||
-128
@@ -1,128 +0,0 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
|
||||||
ADC1.IPParameters=NbrOfConversionFlag,master,SelectedChannel
|
|
||||||
ADC1.NbrOfConversionFlag=0
|
|
||||||
ADC1.SelectedChannel=ADC_CHANNEL_8
|
|
||||||
ADC1.master=1
|
|
||||||
CAD.formats=
|
|
||||||
CAD.pinconfig=
|
|
||||||
CAD.provider=
|
|
||||||
File.Version=6
|
|
||||||
KeepUserPlacement=false
|
|
||||||
Mcu.CPN=STM32C011J6M6
|
|
||||||
Mcu.Family=STM32C0
|
|
||||||
Mcu.IP0=ADC1
|
|
||||||
Mcu.IP1=CORTEX_M0+
|
|
||||||
Mcu.IP2=DEBUG
|
|
||||||
Mcu.IP3=NVIC
|
|
||||||
Mcu.IP4=RCC
|
|
||||||
Mcu.IP5=SPI1
|
|
||||||
Mcu.IP6=SYS
|
|
||||||
Mcu.IPNb=7
|
|
||||||
Mcu.Name=STM32C011J(4-6)Mx
|
|
||||||
Mcu.Package=SO8N
|
|
||||||
Mcu.Pin0=PC14-OSCX_IN (PC14)
|
|
||||||
Mcu.Pin1=PB7
|
|
||||||
Mcu.Pin2=PA1
|
|
||||||
Mcu.Pin3=PA8
|
|
||||||
Mcu.Pin4=PA11 [PA9]
|
|
||||||
Mcu.Pin5=PA12 [PA10]
|
|
||||||
Mcu.Pin6=PA13
|
|
||||||
Mcu.Pin7=PA14-BOOT0
|
|
||||||
Mcu.Pin8=VP_SYS_VS_Systick
|
|
||||||
Mcu.PinsNb=9
|
|
||||||
Mcu.ThirdPartyNb=0
|
|
||||||
Mcu.UserConstants=
|
|
||||||
Mcu.UserName=STM32C011J6Mx
|
|
||||||
MxCube.Version=6.15.0
|
|
||||||
MxDb.Version=DB.6.0.150
|
|
||||||
NVIC.ForceEnableDMAVector=true
|
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
|
||||||
NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:true
|
|
||||||
NVIC.SysTick_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:false
|
|
||||||
PA1.Mode=TX_Only_Simplex_Unidirect_Master
|
|
||||||
PA1.Signal=SPI1_SCK
|
|
||||||
PA11\ [PA9].Locked=true
|
|
||||||
PA12\ [PA10].Mode=TX_Only_Simplex_Unidirect_Master
|
|
||||||
PA12\ [PA10].Signal=SPI1_MOSI
|
|
||||||
PA13.Mode=Serial_Wire
|
|
||||||
PA13.Signal=DEBUG_SWDIO
|
|
||||||
PA14-BOOT0.Mode=Serial_Wire
|
|
||||||
PA14-BOOT0.Signal=DEBUG_SWCLK
|
|
||||||
PA8.Locked=true
|
|
||||||
PA8.Mode=IN8
|
|
||||||
PA8.Signal=ADC1_IN8
|
|
||||||
PA8__PA11\ [PA9].StandardMode=true
|
|
||||||
PB7.Locked=true
|
|
||||||
PC14-OSCX_IN\ (PC14).GPIOParameters=GPIO_Label
|
|
||||||
PC14-OSCX_IN\ (PC14).GPIO_Label=FSYNC
|
|
||||||
PC14-OSCX_IN\ (PC14).Locked=true
|
|
||||||
PC14-OSCX_IN\ (PC14).Signal=GPIO_Output
|
|
||||||
PC14-OSCX_IN\ (PC14)__PB7.StandardMode=true
|
|
||||||
PC15-OSCX_OUT\ (PC15)__PA14-BOOT0__PB6.StandardMode=true
|
|
||||||
PF2-NRST__PA0__PA1__PA2.StandardMode=true
|
|
||||||
PinOutPanel.RotationAngle=0
|
|
||||||
ProjectManager.AskForMigrate=true
|
|
||||||
ProjectManager.BackupPrevious=false
|
|
||||||
ProjectManager.CompilerLinker=GCC
|
|
||||||
ProjectManager.CompilerOptimize=6
|
|
||||||
ProjectManager.ComputerToolchain=false
|
|
||||||
ProjectManager.CoupleFile=false
|
|
||||||
ProjectManager.CustomerFirmwarePackage=
|
|
||||||
ProjectManager.DefaultFWLocation=true
|
|
||||||
ProjectManager.DeletePrevious=true
|
|
||||||
ProjectManager.DeviceId=STM32C011J6Mx
|
|
||||||
ProjectManager.FirmwarePackage=STM32Cube FW_C0 V1.4.0
|
|
||||||
ProjectManager.FreePins=false
|
|
||||||
ProjectManager.HalAssertFull=false
|
|
||||||
ProjectManager.HeapSize=0x200
|
|
||||||
ProjectManager.KeepUserCode=true
|
|
||||||
ProjectManager.LastFirmware=true
|
|
||||||
ProjectManager.LibraryCopy=1
|
|
||||||
ProjectManager.MainLocation=Core/Src
|
|
||||||
ProjectManager.NoMain=false
|
|
||||||
ProjectManager.PreviousToolchain=
|
|
||||||
ProjectManager.ProjectBuild=false
|
|
||||||
ProjectManager.ProjectFileName=C64PSU.ioc
|
|
||||||
ProjectManager.ProjectName=C64PSU
|
|
||||||
ProjectManager.ProjectStructure=
|
|
||||||
ProjectManager.RegisterCallBack=
|
|
||||||
ProjectManager.StackSize=0x400
|
|
||||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
|
||||||
ProjectManager.ToolChainLocation=
|
|
||||||
ProjectManager.UAScriptAfterPath=
|
|
||||||
ProjectManager.UAScriptBeforePath=
|
|
||||||
ProjectManager.UnderRoot=true
|
|
||||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_SPI1_Init-SPI1-false-HAL-true,0-MX_CORTEX_M0+_Init-CORTEX_M0+-false-HAL-true
|
|
||||||
RCC.ADCFreq_Value=12000000
|
|
||||||
RCC.AHBFreq_Value=12000000
|
|
||||||
RCC.APBFreq_Value=12000000
|
|
||||||
RCC.APBTimFreq_Value=12000000
|
|
||||||
RCC.CortexFreq_Value=12000000
|
|
||||||
RCC.EXTERNAL_CLOCK_VALUE=12288000
|
|
||||||
RCC.FCLKCortexFreq_Value=12000000
|
|
||||||
RCC.FamilyName=M
|
|
||||||
RCC.HCLKFreq_Value=12000000
|
|
||||||
RCC.HSE_VALUE=8000000
|
|
||||||
RCC.HSI_VALUE=48000000
|
|
||||||
RCC.I2C1Freq_Value=12000000
|
|
||||||
RCC.I2S1Freq_Value=12000000
|
|
||||||
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APBFreq_Value,APBTimFreq_Value,CortexFreq_Value,EXTERNAL_CLOCK_VALUE,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2S1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MCO2PinFreq_Value,PWRFreq_Value,SYSCLKFreq_VALUE,USART1Freq_Value
|
|
||||||
RCC.LSCOPinFreq_Value=32000
|
|
||||||
RCC.LSE_VALUE=32768
|
|
||||||
RCC.LSI_VALUE=32000
|
|
||||||
RCC.MCO1PinFreq_Value=12000000
|
|
||||||
RCC.MCO2PinFreq_Value=12000000
|
|
||||||
RCC.PWRFreq_Value=12000000
|
|
||||||
RCC.SYSCLKFreq_VALUE=12000000
|
|
||||||
RCC.USART1Freq_Value=12000000
|
|
||||||
SPI1.CalculateBaudRate=6.0 MBits/s
|
|
||||||
SPI1.Direction=SPI_DIRECTION_2LINES
|
|
||||||
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
|
|
||||||
SPI1.Mode=SPI_MODE_MASTER
|
|
||||||
SPI1.VirtualType=VM_MASTER
|
|
||||||
VP_SYS_VS_Systick.Mode=SysTick
|
|
||||||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
|
||||||
board=custom
|
|
||||||
isbadioc=false
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file : main.h
|
|
||||||
* @brief : Header for main.c file.
|
|
||||||
* This file contains the common defines of the application.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
||||||
#ifndef __MAIN_H
|
|
||||||
#define __MAIN_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
|
||||||
#include "stm32c0xx_hal.h"
|
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Includes */
|
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN ET */
|
|
||||||
|
|
||||||
/* USER CODE END ET */
|
|
||||||
|
|
||||||
/* Exported constants --------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN EC */
|
|
||||||
|
|
||||||
/* USER CODE END EC */
|
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN EM */
|
|
||||||
|
|
||||||
/* USER CODE END EM */
|
|
||||||
|
|
||||||
/* Exported functions prototypes ---------------------------------------------*/
|
|
||||||
void Error_Handler(void);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN EFP */
|
|
||||||
|
|
||||||
/* USER CODE END EFP */
|
|
||||||
|
|
||||||
/* Private defines -----------------------------------------------------------*/
|
|
||||||
#define FSYNC_Pin GPIO_PIN_14
|
|
||||||
#define FSYNC_GPIO_Port GPIOC
|
|
||||||
|
|
||||||
/* USER CODE BEGIN Private defines */
|
|
||||||
|
|
||||||
/* USER CODE END Private defines */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __MAIN_H */
|
|
||||||
@@ -1,274 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file stm32c0xx_hal_conf.h
|
|
||||||
* @author MCD Application Team
|
|
||||||
* @brief HAL configuration template file.
|
|
||||||
* This file should be copied to the application folder and renamed
|
|
||||||
* to stm32c0xx_hal_conf.h.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2021 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
||||||
#ifndef STM32C0xx_HAL_CONF_H
|
|
||||||
#define STM32C0xx_HAL_CONF_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
|
||||||
/* Exported constants --------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* ########################## Module Selection ############################## */
|
|
||||||
/**
|
|
||||||
* @brief This is the list of modules to be used in the HAL driver
|
|
||||||
*/
|
|
||||||
#define HAL_MODULE_ENABLED
|
|
||||||
#define HAL_ADC_MODULE_ENABLED
|
|
||||||
/* #define HAL_CRC_MODULE_ENABLED */
|
|
||||||
/* #define HAL_CRYP_MODULE_ENABLED */
|
|
||||||
/* #define HAL_I2C_MODULE_ENABLED */
|
|
||||||
/* #define HAL_I2S_MODULE_ENABLED */
|
|
||||||
/* #define HAL_IWDG_MODULE_ENABLED */
|
|
||||||
/* #define HAL_IRDA_MODULE_ENABLED */
|
|
||||||
/* #define HAL_PCD_MODULE_ENABLED */
|
|
||||||
/* #define HAL_RNG_MODULE_ENABLED */
|
|
||||||
/* #define HAL_RTC_MODULE_ENABLED */
|
|
||||||
/* #define HAL_SMARTCARD_MODULE_ENABLED */
|
|
||||||
/* #define HAL_SMBUS_MODULE_ENABLED */
|
|
||||||
#define HAL_SPI_MODULE_ENABLED
|
|
||||||
/* #define HAL_TIM_MODULE_ENABLED */
|
|
||||||
/* #define HAL_UART_MODULE_ENABLED */
|
|
||||||
/* #define HAL_USART_MODULE_ENABLED */
|
|
||||||
/* #define HAL_WWDG_MODULE_ENABLED */
|
|
||||||
#define HAL_GPIO_MODULE_ENABLED
|
|
||||||
#define HAL_EXTI_MODULE_ENABLED
|
|
||||||
#define HAL_DMA_MODULE_ENABLED
|
|
||||||
#define HAL_RCC_MODULE_ENABLED
|
|
||||||
#define HAL_FLASH_MODULE_ENABLED
|
|
||||||
#define HAL_PWR_MODULE_ENABLED
|
|
||||||
#define HAL_CORTEX_MODULE_ENABLED
|
|
||||||
/* ########################## Register Callbacks selection ############################## */
|
|
||||||
/**
|
|
||||||
* @brief Set below the peripheral configuration to "1U" to add the support
|
|
||||||
* of HAL callback registration/unregistration feature for the HAL
|
|
||||||
* driver(s). This allows user application to provide specific callback
|
|
||||||
* functions thanks to HAL_PPP_RegisterCallback() rather than overwriting
|
|
||||||
* the default weak callback functions (see each stm32c0xx_hal_ppp.h file
|
|
||||||
* for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
|
|
||||||
* for each PPP peripheral).
|
|
||||||
*/
|
|
||||||
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
|
|
||||||
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
|
|
||||||
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
|
|
||||||
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
|
|
||||||
#define USE_HAL_IWDG_REGISTER_CALLBACKS 0U /* IWDG register callback disabled */
|
|
||||||
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
|
|
||||||
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
|
|
||||||
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
|
|
||||||
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
|
|
||||||
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
|
|
||||||
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
|
|
||||||
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
|
|
||||||
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
|
|
||||||
|
|
||||||
/* ########################## Oscillator Values adaptation ####################*/
|
|
||||||
/**
|
|
||||||
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
|
||||||
* This value is used by the RCC HAL module to compute the system frequency
|
|
||||||
* (when HSE is used as system clock source, directly or through the PLL).
|
|
||||||
*/
|
|
||||||
#if !defined (HSE_VALUE)
|
|
||||||
#define HSE_VALUE (8000000U) /*!< Value of the External oscillator in Hz */
|
|
||||||
#endif /* HSE_VALUE */
|
|
||||||
|
|
||||||
#if !defined (HSE_STARTUP_TIMEOUT)
|
|
||||||
#define HSE_STARTUP_TIMEOUT (100UL) /*!< Time out for HSE start up, in ms */
|
|
||||||
#endif /* HSE_STARTUP_TIMEOUT */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Internal High Speed oscillator (HSI) value.
|
|
||||||
* This value is used by the RCC HAL module to compute the system frequency
|
|
||||||
* (when HSI is used as system clock source, directly or through the PLL).
|
|
||||||
*/
|
|
||||||
#if !defined (HSI_VALUE)
|
|
||||||
#define HSI_VALUE (48000000UL) /*!< Value of the Internal oscillator in Hz*/
|
|
||||||
#endif /* HSI_VALUE */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Internal Low Speed oscillator (LSI) value.
|
|
||||||
*/
|
|
||||||
#if !defined (LSI_VALUE)
|
|
||||||
#define LSI_VALUE (32000UL) /*!< LSI Typical Value in Hz*/
|
|
||||||
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
|
|
||||||
The real value may vary depending on the variations
|
|
||||||
in voltage and temperature.*/
|
|
||||||
#if !defined (LSI_STARTUP_TIME)
|
|
||||||
#define LSI_STARTUP_TIME 130UL /*!< Time out for LSI start up, in ms */
|
|
||||||
#endif /* LSI_STARTUP_TIME */
|
|
||||||
/**
|
|
||||||
* @brief External Low Speed oscillator (LSE) value.
|
|
||||||
* This value is used by the UART, RTC HAL module to compute the system frequency
|
|
||||||
*/
|
|
||||||
#if !defined (LSE_VALUE)
|
|
||||||
#define LSE_VALUE (32768UL) /*!< Value of the External oscillator in Hz*/
|
|
||||||
#endif /* LSE_VALUE */
|
|
||||||
|
|
||||||
#if !defined (LSE_STARTUP_TIMEOUT)
|
|
||||||
#define LSE_STARTUP_TIMEOUT (5000UL) /*!< Time out for LSE start up, in ms */
|
|
||||||
#endif /* LSE_STARTUP_TIMEOUT */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief External clock source for I2S1 peripheral
|
|
||||||
* This value is used by the RCC HAL module to compute the I2S1 clock source
|
|
||||||
* frequency.
|
|
||||||
*/
|
|
||||||
#if !defined (EXTERNAL_I2S1_CLOCK_VALUE)
|
|
||||||
#define EXTERNAL_I2S1_CLOCK_VALUE (12288000UL) /*!< Value of the I2S1 External clock source in Hz*/
|
|
||||||
#endif /* EXTERNAL_I2S1_CLOCK_VALUE */
|
|
||||||
|
|
||||||
/* Tip: To avoid modifying this file each time you need to use different HSE,
|
|
||||||
=== you can define the HSE value in your toolchain compiler preprocessor. */
|
|
||||||
|
|
||||||
/* ########################### System Configuration ######################### */
|
|
||||||
/**
|
|
||||||
* @brief This is the HAL system configuration section
|
|
||||||
*/
|
|
||||||
#define VDD_VALUE (3300UL) /*!< Value of VDD in mv */
|
|
||||||
#define TICK_INT_PRIORITY 3U /*!< tick interrupt priority */
|
|
||||||
#define USE_RTOS 0U
|
|
||||||
#define PREFETCH_ENABLE 0U
|
|
||||||
#define INSTRUCTION_CACHE_ENABLE 1U
|
|
||||||
|
|
||||||
/* ########################## Assert Selection ############################## */
|
|
||||||
/**
|
|
||||||
* @brief Uncomment the line below to expanse the "assert_param" macro in the
|
|
||||||
* HAL drivers code
|
|
||||||
*/
|
|
||||||
/* #define USE_FULL_ASSERT 1U */
|
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
|
||||||
/**
|
|
||||||
* @brief Include modules header file
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef HAL_RCC_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_rcc.h"
|
|
||||||
#endif /* HAL_RCC_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_GPIO_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_gpio.h"
|
|
||||||
#endif /* HAL_GPIO_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_DMA_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_dma.h"
|
|
||||||
#endif /* HAL_DMA_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_CORTEX_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_cortex.h"
|
|
||||||
#endif /* HAL_CORTEX_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_ADC_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_adc.h"
|
|
||||||
#include "stm32c0xx_hal_adc_ex.h"
|
|
||||||
#endif /* HAL_ADC_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_CRC_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_crc.h"
|
|
||||||
#endif /* HAL_CRC_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_EXTI_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_exti.h"
|
|
||||||
#endif /* HAL_EXTI_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_FLASH_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_flash.h"
|
|
||||||
#endif /* HAL_FLASH_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_I2C_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_i2c.h"
|
|
||||||
#endif /* HAL_I2C_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_I2S_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_i2s.h"
|
|
||||||
#endif /* HAL_I2S_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_IRDA_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_irda.h"
|
|
||||||
#endif /* HAL_IRDA_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_IWDG_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_iwdg.h"
|
|
||||||
#endif /* HAL_IWDG_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_PWR_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_pwr.h"
|
|
||||||
#endif /* HAL_PWR_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_RTC_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_rtc.h"
|
|
||||||
#endif /* HAL_RTC_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_SMARTCARD_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_smartcard.h"
|
|
||||||
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_SMBUS_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_smbus.h"
|
|
||||||
#endif /* HAL_SMBUS_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_SPI_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_spi.h"
|
|
||||||
#endif /* HAL_SPI_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_TIM_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_tim.h"
|
|
||||||
#endif /* HAL_TIM_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_UART_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_uart.h"
|
|
||||||
#endif /* HAL_UART_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_USART_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_usart.h"
|
|
||||||
#endif /* HAL_USART_MODULE_ENABLED */
|
|
||||||
|
|
||||||
#ifdef HAL_WWDG_MODULE_ENABLED
|
|
||||||
#include "stm32c0xx_hal_wwdg.h"
|
|
||||||
#endif /* HAL_WWDG_MODULE_ENABLED */
|
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
|
||||||
#ifdef USE_FULL_ASSERT
|
|
||||||
/**
|
|
||||||
* @brief The assert_param macro is used for functions parameters check.
|
|
||||||
* @param expr If expr is false, it calls assert_failed function
|
|
||||||
* which reports the name of the source file and the source
|
|
||||||
* line number of the call that failed.
|
|
||||||
* If expr is true, it returns no value.
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
|
|
||||||
/* Exported functions ------------------------------------------------------- */
|
|
||||||
void assert_failed(uint8_t *file, uint32_t line);
|
|
||||||
#else
|
|
||||||
#define assert_param(expr) ((void)0U)
|
|
||||||
#endif /* USE_FULL_ASSERT */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* STM32C0xx_HAL_CONF_H */
|
|
||||||
|
|
||||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file stm32c0xx_it.h
|
|
||||||
* @brief This file contains the headers of the interrupt handlers.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
||||||
#ifndef __STM32C0xx_IT_H
|
|
||||||
#define __STM32C0xx_IT_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Includes */
|
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN ET */
|
|
||||||
|
|
||||||
/* USER CODE END ET */
|
|
||||||
|
|
||||||
/* Exported constants --------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN EC */
|
|
||||||
|
|
||||||
/* USER CODE END EC */
|
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN EM */
|
|
||||||
|
|
||||||
/* USER CODE END EM */
|
|
||||||
|
|
||||||
/* Exported functions prototypes ---------------------------------------------*/
|
|
||||||
void NMI_Handler(void);
|
|
||||||
void HardFault_Handler(void);
|
|
||||||
void SVC_Handler(void);
|
|
||||||
void PendSV_Handler(void);
|
|
||||||
void SysTick_Handler(void);
|
|
||||||
/* USER CODE BEGIN EFP */
|
|
||||||
|
|
||||||
/* USER CODE END EFP */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __STM32C0xx_IT_H */
|
|
||||||
@@ -1,313 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file : main.c
|
|
||||||
* @brief : Main program body
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Includes */
|
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PTD */
|
|
||||||
|
|
||||||
/* USER CODE END PTD */
|
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PD */
|
|
||||||
|
|
||||||
/* USER CODE END PD */
|
|
||||||
|
|
||||||
/* Private macro -------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PM */
|
|
||||||
|
|
||||||
/* USER CODE END PM */
|
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
|
||||||
ADC_HandleTypeDef hadc1;
|
|
||||||
|
|
||||||
SPI_HandleTypeDef hspi1;
|
|
||||||
|
|
||||||
/* USER CODE BEGIN PV */
|
|
||||||
|
|
||||||
/* USER CODE END PV */
|
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
|
||||||
void SystemClock_Config(void);
|
|
||||||
static void MX_GPIO_Init(void);
|
|
||||||
static void MX_SPI1_Init(void);
|
|
||||||
static void MX_ADC1_Init(void);
|
|
||||||
/* USER CODE BEGIN PFP */
|
|
||||||
|
|
||||||
/* USER CODE END PFP */
|
|
||||||
|
|
||||||
/* Private user code ---------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN 0 */
|
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief The application entry point.
|
|
||||||
* @retval int
|
|
||||||
*/
|
|
||||||
int main(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 1 */
|
|
||||||
|
|
||||||
/* USER CODE END 1 */
|
|
||||||
|
|
||||||
/* MCU Configuration--------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
|
|
||||||
HAL_Init();
|
|
||||||
|
|
||||||
/* USER CODE BEGIN Init */
|
|
||||||
|
|
||||||
/* USER CODE END Init */
|
|
||||||
|
|
||||||
/* Configure the system clock */
|
|
||||||
SystemClock_Config();
|
|
||||||
|
|
||||||
/* USER CODE BEGIN SysInit */
|
|
||||||
|
|
||||||
/* USER CODE END SysInit */
|
|
||||||
|
|
||||||
/* Initialize all configured peripherals */
|
|
||||||
MX_GPIO_Init();
|
|
||||||
MX_SPI1_Init();
|
|
||||||
MX_ADC1_Init();
|
|
||||||
/* USER CODE BEGIN 2 */
|
|
||||||
|
|
||||||
/* USER CODE END 2 */
|
|
||||||
|
|
||||||
/* Infinite loop */
|
|
||||||
/* USER CODE BEGIN WHILE */
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
/* USER CODE END WHILE */
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 3 */
|
|
||||||
}
|
|
||||||
/* USER CODE END 3 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief System Clock Configuration
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void SystemClock_Config(void)
|
|
||||||
{
|
|
||||||
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
|
|
||||||
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
|
|
||||||
|
|
||||||
__HAL_FLASH_SET_LATENCY(FLASH_LATENCY_0);
|
|
||||||
|
|
||||||
/** Initializes the RCC Oscillators according to the specified parameters
|
|
||||||
* in the RCC_OscInitTypeDef structure.
|
|
||||||
*/
|
|
||||||
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
|
|
||||||
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
|
|
||||||
RCC_OscInitStruct.HSIDiv = RCC_HSI_DIV4;
|
|
||||||
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
|
|
||||||
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Initializes the CPU, AHB and APB buses clocks
|
|
||||||
*/
|
|
||||||
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|
|
||||||
|RCC_CLOCKTYPE_PCLK1;
|
|
||||||
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
|
|
||||||
RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
|
|
||||||
RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV1;
|
|
||||||
RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV1;
|
|
||||||
|
|
||||||
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ADC1 Initialization Function
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
static void MX_ADC1_Init(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ADC1_Init 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_Init 0 */
|
|
||||||
|
|
||||||
ADC_ChannelConfTypeDef sConfig = {0};
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ADC1_Init 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_Init 1 */
|
|
||||||
|
|
||||||
/** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
|
|
||||||
*/
|
|
||||||
hadc1.Instance = ADC1;
|
|
||||||
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV1;
|
|
||||||
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
|
|
||||||
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
|
|
||||||
hadc1.Init.ScanConvMode = ADC_SCAN_SEQ_FIXED;
|
|
||||||
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
|
|
||||||
hadc1.Init.LowPowerAutoWait = DISABLE;
|
|
||||||
hadc1.Init.LowPowerAutoPowerOff = DISABLE;
|
|
||||||
hadc1.Init.ContinuousConvMode = DISABLE;
|
|
||||||
hadc1.Init.NbrOfConversion = 1;
|
|
||||||
hadc1.Init.DiscontinuousConvMode = DISABLE;
|
|
||||||
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
|
|
||||||
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
|
|
||||||
hadc1.Init.DMAContinuousRequests = DISABLE;
|
|
||||||
hadc1.Init.Overrun = ADC_OVR_DATA_PRESERVED;
|
|
||||||
hadc1.Init.SamplingTimeCommon1 = ADC_SAMPLETIME_1CYCLE_5;
|
|
||||||
hadc1.Init.OversamplingMode = DISABLE;
|
|
||||||
hadc1.Init.TriggerFrequencyMode = ADC_TRIGGER_FREQ_HIGH;
|
|
||||||
if (HAL_ADC_Init(&hadc1) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Configure Regular Channel
|
|
||||||
*/
|
|
||||||
sConfig.Channel = ADC_CHANNEL_8;
|
|
||||||
sConfig.Rank = ADC_RANK_CHANNEL_NUMBER;
|
|
||||||
if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
/* USER CODE BEGIN ADC1_Init 2 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_Init 2 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief SPI1 Initialization Function
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
static void MX_SPI1_Init(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* USER CODE BEGIN SPI1_Init 0 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_Init 0 */
|
|
||||||
|
|
||||||
/* USER CODE BEGIN SPI1_Init 1 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_Init 1 */
|
|
||||||
/* SPI1 parameter configuration*/
|
|
||||||
hspi1.Instance = SPI1;
|
|
||||||
hspi1.Init.Mode = SPI_MODE_MASTER;
|
|
||||||
hspi1.Init.Direction = SPI_DIRECTION_2LINES;
|
|
||||||
hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
|
|
||||||
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
|
|
||||||
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
|
|
||||||
hspi1.Init.NSS = SPI_NSS_SOFT;
|
|
||||||
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
|
|
||||||
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
|
|
||||||
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
|
|
||||||
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
|
|
||||||
hspi1.Init.CRCPolynomial = 7;
|
|
||||||
hspi1.Init.CRCLength = SPI_CRC_LENGTH_DATASIZE;
|
|
||||||
hspi1.Init.NSSPMode = SPI_NSS_PULSE_ENABLE;
|
|
||||||
if (HAL_SPI_Init(&hspi1) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
/* USER CODE BEGIN SPI1_Init 2 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_Init 2 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief GPIO Initialization Function
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
static void MX_GPIO_Init(void)
|
|
||||||
{
|
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
|
||||||
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
|
||||||
|
|
||||||
/* USER CODE END MX_GPIO_Init_1 */
|
|
||||||
|
|
||||||
/* GPIO Ports Clock Enable */
|
|
||||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
|
||||||
|
|
||||||
/*Configure GPIO pin Output Level */
|
|
||||||
HAL_GPIO_WritePin(FSYNC_GPIO_Port, FSYNC_Pin, GPIO_PIN_RESET);
|
|
||||||
|
|
||||||
/*Configure GPIO pin : FSYNC_Pin */
|
|
||||||
GPIO_InitStruct.Pin = FSYNC_Pin;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
|
||||||
HAL_GPIO_Init(FSYNC_GPIO_Port, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
/**/
|
|
||||||
HAL_SYSCFG_SetPinBinding(HAL_BIND_SO8_PIN1_PC14);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
|
||||||
|
|
||||||
/* USER CODE END MX_GPIO_Init_2 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 4 */
|
|
||||||
|
|
||||||
/* USER CODE END 4 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This function is executed in case of error occurrence.
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void Error_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN Error_Handler_Debug */
|
|
||||||
/* User can add his own implementation to report the HAL error return state */
|
|
||||||
__disable_irq();
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/* USER CODE END Error_Handler_Debug */
|
|
||||||
}
|
|
||||||
#ifdef USE_FULL_ASSERT
|
|
||||||
/**
|
|
||||||
* @brief Reports the name of the source file and the source line number
|
|
||||||
* where the assert_param error has occurred.
|
|
||||||
* @param file: pointer to the source file name
|
|
||||||
* @param line: assert_param error line source number
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void assert_failed(uint8_t *file, uint32_t line)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN 6 */
|
|
||||||
/* User can add his own implementation to report the file name and line number,
|
|
||||||
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
|
|
||||||
/* USER CODE END 6 */
|
|
||||||
}
|
|
||||||
#endif /* USE_FULL_ASSERT */
|
|
||||||
@@ -1,236 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file stm32c0xx_hal_msp.c
|
|
||||||
* @brief This file provides code for the MSP Initialization
|
|
||||||
* and de-Initialization codes.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
|
||||||
#include "main.h"
|
|
||||||
/* USER CODE BEGIN Includes */
|
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN TD */
|
|
||||||
|
|
||||||
/* USER CODE END TD */
|
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Define */
|
|
||||||
|
|
||||||
/* USER CODE END Define */
|
|
||||||
|
|
||||||
/* Private macro -------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Macro */
|
|
||||||
|
|
||||||
/* USER CODE END Macro */
|
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PV */
|
|
||||||
|
|
||||||
/* USER CODE END PV */
|
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PFP */
|
|
||||||
|
|
||||||
/* USER CODE END PFP */
|
|
||||||
|
|
||||||
/* External functions --------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN ExternalFunctions */
|
|
||||||
|
|
||||||
/* USER CODE END ExternalFunctions */
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 0 */
|
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
|
||||||
/**
|
|
||||||
* Initializes the Global MSP.
|
|
||||||
*/
|
|
||||||
void HAL_MspInit(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* USER CODE BEGIN MspInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END MspInit 0 */
|
|
||||||
|
|
||||||
__HAL_RCC_SYSCFG_CLK_ENABLE();
|
|
||||||
__HAL_RCC_PWR_CLK_ENABLE();
|
|
||||||
|
|
||||||
/* System interrupt init*/
|
|
||||||
|
|
||||||
/* USER CODE BEGIN MspInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END MspInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ADC MSP Initialization
|
|
||||||
* This function configures the hardware resources used in this example
|
|
||||||
* @param hadc: ADC handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
|
|
||||||
{
|
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
|
||||||
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
|
|
||||||
if(hadc->Instance==ADC1)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN ADC1_MspInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_MspInit 0 */
|
|
||||||
|
|
||||||
/** Initializes the peripherals clocks
|
|
||||||
*/
|
|
||||||
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
|
|
||||||
PeriphClkInit.AdcClockSelection = RCC_ADCCLKSOURCE_SYSCLK;
|
|
||||||
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Peripheral clock enable */
|
|
||||||
__HAL_RCC_ADC_CLK_ENABLE();
|
|
||||||
|
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
|
||||||
/**ADC1 GPIO Configuration
|
|
||||||
PA8 ------> ADC1_IN8
|
|
||||||
*/
|
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_8;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
HAL_SYSCFG_SetPinBinding(HAL_BIND_SO8_PIN5_PA8);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ADC1_MspInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_MspInit 1 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief ADC MSP De-Initialization
|
|
||||||
* This function freeze the hardware resources used in this example
|
|
||||||
* @param hadc: ADC handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
|
|
||||||
{
|
|
||||||
if(hadc->Instance==ADC1)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN ADC1_MspDeInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_MspDeInit 0 */
|
|
||||||
/* Peripheral clock disable */
|
|
||||||
__HAL_RCC_ADC_CLK_DISABLE();
|
|
||||||
|
|
||||||
/**ADC1 GPIO Configuration
|
|
||||||
PA8 ------> ADC1_IN8
|
|
||||||
*/
|
|
||||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_8);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN ADC1_MspDeInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END ADC1_MspDeInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief SPI MSP Initialization
|
|
||||||
* This function configures the hardware resources used in this example
|
|
||||||
* @param hspi: SPI handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi)
|
|
||||||
{
|
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
|
||||||
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
|
|
||||||
if(hspi->Instance==SPI1)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN SPI1_MspInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_MspInit 0 */
|
|
||||||
|
|
||||||
/** Initializes the peripherals clocks
|
|
||||||
*/
|
|
||||||
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2S1;
|
|
||||||
PeriphClkInit.I2s1ClockSelection = RCC_I2S1CLKSOURCE_SYSCLK;
|
|
||||||
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
|
|
||||||
{
|
|
||||||
Error_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Peripheral clock enable */
|
|
||||||
__HAL_RCC_SPI1_CLK_ENABLE();
|
|
||||||
|
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
|
||||||
/**SPI1 GPIO Configuration
|
|
||||||
PA1 ------> SPI1_SCK
|
|
||||||
PA12 [PA10] ------> SPI1_MOSI
|
|
||||||
*/
|
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_12;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF0_SPI1;
|
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
HAL_SYSCFG_SetPinBinding(HAL_BIND_SO8_PIN4_PA1);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN SPI1_MspInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_MspInit 1 */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief SPI MSP De-Initialization
|
|
||||||
* This function freeze the hardware resources used in this example
|
|
||||||
* @param hspi: SPI handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_SPI_MspDeInit(SPI_HandleTypeDef* hspi)
|
|
||||||
{
|
|
||||||
if(hspi->Instance==SPI1)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN SPI1_MspDeInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_MspDeInit 0 */
|
|
||||||
/* Peripheral clock disable */
|
|
||||||
__HAL_RCC_SPI1_CLK_DISABLE();
|
|
||||||
|
|
||||||
/**SPI1 GPIO Configuration
|
|
||||||
PA1 ------> SPI1_SCK
|
|
||||||
PA12 [PA10] ------> SPI1_MOSI
|
|
||||||
*/
|
|
||||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_1|GPIO_PIN_12);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN SPI1_MspDeInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END SPI1_MspDeInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 1 */
|
|
||||||
|
|
||||||
/* USER CODE END 1 */
|
|
||||||
@@ -1,145 +0,0 @@
|
|||||||
/* USER CODE BEGIN Header */
|
|
||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file stm32c0xx_it.c
|
|
||||||
* @brief Interrupt Service Routines.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
/* USER CODE END Header */
|
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
|
||||||
#include "main.h"
|
|
||||||
#include "stm32c0xx_it.h"
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN Includes */
|
|
||||||
/* USER CODE END Includes */
|
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN TD */
|
|
||||||
|
|
||||||
/* USER CODE END TD */
|
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PD */
|
|
||||||
|
|
||||||
/* USER CODE END PD */
|
|
||||||
|
|
||||||
/* Private macro -------------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PM */
|
|
||||||
|
|
||||||
/* USER CODE END PM */
|
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PV */
|
|
||||||
|
|
||||||
/* USER CODE END PV */
|
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN PFP */
|
|
||||||
|
|
||||||
/* USER CODE END PFP */
|
|
||||||
|
|
||||||
/* Private user code ---------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN 0 */
|
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
|
||||||
|
|
||||||
/* External variables --------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* USER CODE BEGIN EV */
|
|
||||||
|
|
||||||
/* USER CODE END EV */
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
/* Cortex Processor Interruption and Exception Handlers */
|
|
||||||
/******************************************************************************/
|
|
||||||
/**
|
|
||||||
* @brief This function handles Non maskable interrupt.
|
|
||||||
*/
|
|
||||||
void NMI_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
|
|
||||||
|
|
||||||
/* USER CODE END NonMaskableInt_IRQn 0 */
|
|
||||||
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
/* USER CODE END NonMaskableInt_IRQn 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This function handles Hard fault interrupt.
|
|
||||||
*/
|
|
||||||
void HardFault_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN HardFault_IRQn 0 */
|
|
||||||
|
|
||||||
/* USER CODE END HardFault_IRQn 0 */
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
|
|
||||||
/* USER CODE END W1_HardFault_IRQn 0 */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This function handles System service call via SWI instruction.
|
|
||||||
*/
|
|
||||||
void SVC_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN SVC_IRQn 0 */
|
|
||||||
|
|
||||||
/* USER CODE END SVC_IRQn 0 */
|
|
||||||
/* USER CODE BEGIN SVC_IRQn 1 */
|
|
||||||
|
|
||||||
/* USER CODE END SVC_IRQn 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This function handles Pendable request for system service.
|
|
||||||
*/
|
|
||||||
void PendSV_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN PendSV_IRQn 0 */
|
|
||||||
|
|
||||||
/* USER CODE END PendSV_IRQn 0 */
|
|
||||||
/* USER CODE BEGIN PendSV_IRQn 1 */
|
|
||||||
|
|
||||||
/* USER CODE END PendSV_IRQn 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This function handles System tick timer.
|
|
||||||
*/
|
|
||||||
void SysTick_Handler(void)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN SysTick_IRQn 0 */
|
|
||||||
|
|
||||||
/* USER CODE END SysTick_IRQn 0 */
|
|
||||||
HAL_IncTick();
|
|
||||||
/* USER CODE BEGIN SysTick_IRQn 1 */
|
|
||||||
|
|
||||||
/* USER CODE END SysTick_IRQn 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************************************************************/
|
|
||||||
/* STM32C0xx Peripheral Interrupt Handlers */
|
|
||||||
/* Add here the Interrupt Handlers for the used peripherals. */
|
|
||||||
/* For the available peripheral interrupt handler names, */
|
|
||||||
/* please refer to the startup file (startup_stm32c0xx.s). */
|
|
||||||
/******************************************************************************/
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 1 */
|
|
||||||
|
|
||||||
/* USER CODE END 1 */
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file syscalls.c
|
|
||||||
* @author Auto-generated by STM32CubeIDE
|
|
||||||
* @brief STM32CubeIDE Minimal System calls file
|
|
||||||
*
|
|
||||||
* For more information about which c-functions
|
|
||||||
* need which of these lowlevel functions
|
|
||||||
* please consult the Newlib libc-manual
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2020-2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Includes */
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/times.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* Variables */
|
|
||||||
extern int __io_putchar(int ch) __attribute__((weak));
|
|
||||||
extern int __io_getchar(void) __attribute__((weak));
|
|
||||||
|
|
||||||
|
|
||||||
char *__env[1] = { 0 };
|
|
||||||
char **environ = __env;
|
|
||||||
|
|
||||||
|
|
||||||
/* Functions */
|
|
||||||
void initialise_monitor_handles()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int _getpid(void)
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _kill(int pid, int sig)
|
|
||||||
{
|
|
||||||
(void)pid;
|
|
||||||
(void)sig;
|
|
||||||
errno = EINVAL;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void _exit (int status)
|
|
||||||
{
|
|
||||||
_kill(status, -1);
|
|
||||||
while (1) {} /* Make sure we hang here */
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((weak)) int _read(int file, char *ptr, int len)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
int DataIdx;
|
|
||||||
|
|
||||||
for (DataIdx = 0; DataIdx < len; DataIdx++)
|
|
||||||
{
|
|
||||||
*ptr++ = __io_getchar();
|
|
||||||
}
|
|
||||||
|
|
||||||
return len;
|
|
||||||
}
|
|
||||||
|
|
||||||
__attribute__((weak)) int _write(int file, char *ptr, int len)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
int DataIdx;
|
|
||||||
|
|
||||||
for (DataIdx = 0; DataIdx < len; DataIdx++)
|
|
||||||
{
|
|
||||||
__io_putchar(*ptr++);
|
|
||||||
}
|
|
||||||
return len;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _close(int file)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int _fstat(int file, struct stat *st)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
st->st_mode = S_IFCHR;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _isatty(int file)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _lseek(int file, int ptr, int dir)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
(void)ptr;
|
|
||||||
(void)dir;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _open(char *path, int flags, ...)
|
|
||||||
{
|
|
||||||
(void)path;
|
|
||||||
(void)flags;
|
|
||||||
/* Pretend like we always fail */
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _wait(int *status)
|
|
||||||
{
|
|
||||||
(void)status;
|
|
||||||
errno = ECHILD;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _unlink(char *name)
|
|
||||||
{
|
|
||||||
(void)name;
|
|
||||||
errno = ENOENT;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _times(struct tms *buf)
|
|
||||||
{
|
|
||||||
(void)buf;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _stat(char *file, struct stat *st)
|
|
||||||
{
|
|
||||||
(void)file;
|
|
||||||
st->st_mode = S_IFCHR;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _link(char *old, char *new)
|
|
||||||
{
|
|
||||||
(void)old;
|
|
||||||
(void)new;
|
|
||||||
errno = EMLINK;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _fork(void)
|
|
||||||
{
|
|
||||||
errno = EAGAIN;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int _execve(char *name, char **argv, char **env)
|
|
||||||
{
|
|
||||||
(void)name;
|
|
||||||
(void)argv;
|
|
||||||
(void)env;
|
|
||||||
errno = ENOMEM;
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file sysmem.c
|
|
||||||
* @author Generated by STM32CubeIDE
|
|
||||||
* @brief STM32CubeIDE System Memory calls file
|
|
||||||
*
|
|
||||||
* For more information about which C functions
|
|
||||||
* need which of these lowlevel functions
|
|
||||||
* please consult the newlib libc manual
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2025 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Includes */
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Pointer to the current high watermark of the heap usage
|
|
||||||
*/
|
|
||||||
static uint8_t *__sbrk_heap_end = NULL;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief _sbrk() allocates memory to the newlib heap and is used by malloc
|
|
||||||
* and others from the C library
|
|
||||||
*
|
|
||||||
* @verbatim
|
|
||||||
* ############################################################################
|
|
||||||
* # .data # .bss # newlib heap # MSP stack #
|
|
||||||
* # # # # Reserved by _Min_Stack_Size #
|
|
||||||
* ############################################################################
|
|
||||||
* ^-- RAM start ^-- _end _estack, RAM end --^
|
|
||||||
* @endverbatim
|
|
||||||
*
|
|
||||||
* This implementation starts allocating at the '_end' linker symbol
|
|
||||||
* The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
|
|
||||||
* The implementation considers '_estack' linker symbol to be RAM end
|
|
||||||
* NOTE: If the MSP stack, at any point during execution, grows larger than the
|
|
||||||
* reserved size, please increase the '_Min_Stack_Size'.
|
|
||||||
*
|
|
||||||
* @param incr Memory size
|
|
||||||
* @return Pointer to allocated memory
|
|
||||||
*/
|
|
||||||
void *_sbrk(ptrdiff_t incr)
|
|
||||||
{
|
|
||||||
extern uint8_t _end; /* Symbol defined in the linker script */
|
|
||||||
extern uint8_t _estack; /* Symbol defined in the linker script */
|
|
||||||
extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
|
|
||||||
const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
|
|
||||||
const uint8_t *max_heap = (uint8_t *)stack_limit;
|
|
||||||
uint8_t *prev_heap_end;
|
|
||||||
|
|
||||||
/* Initialize heap end at first call */
|
|
||||||
if (NULL == __sbrk_heap_end)
|
|
||||||
{
|
|
||||||
__sbrk_heap_end = &_end;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Protect heap from growing into the reserved MSP stack */
|
|
||||||
if (__sbrk_heap_end + incr > max_heap)
|
|
||||||
{
|
|
||||||
errno = ENOMEM;
|
|
||||||
return (void *)-1;
|
|
||||||
}
|
|
||||||
|
|
||||||
prev_heap_end = __sbrk_heap_end;
|
|
||||||
__sbrk_heap_end += incr;
|
|
||||||
|
|
||||||
return (void *)prev_heap_end;
|
|
||||||
}
|
|
||||||
@@ -1,246 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file system_stm32c0xx.c
|
|
||||||
* @author MCD Application Team
|
|
||||||
* @brief CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File
|
|
||||||
*
|
|
||||||
* This file provides two functions and one global variable to be called from
|
|
||||||
* user application:
|
|
||||||
* - SystemInit(): This function is called at startup just after reset and
|
|
||||||
* before branch to main program. This call is made inside
|
|
||||||
* the "startup_stm32c0xx.s" file.
|
|
||||||
*
|
|
||||||
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
|
|
||||||
* by the user application to setup the SysTick
|
|
||||||
* timer or configure other parameters.
|
|
||||||
*
|
|
||||||
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
|
|
||||||
* be called whenever the core clock is changed
|
|
||||||
* during program execution.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2022 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup CMSIS
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup stm32c0xx_system
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_Includes
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "stm32c0xx.h"
|
|
||||||
|
|
||||||
#if !defined (HSE_VALUE)
|
|
||||||
#define HSE_VALUE (48000000UL) /*!< Value of the External oscillator in Hz */
|
|
||||||
#endif /* HSE_VALUE */
|
|
||||||
|
|
||||||
#if !defined (HSI_VALUE)
|
|
||||||
#define HSI_VALUE (48000000UL) /*!< Value of the Internal oscillator in Hz*/
|
|
||||||
#endif /* HSI_VALUE */
|
|
||||||
|
|
||||||
#if !defined (LSI_VALUE)
|
|
||||||
#define LSI_VALUE (32000UL) /*!< Value of LSI in Hz*/
|
|
||||||
#endif /* LSI_VALUE */
|
|
||||||
|
|
||||||
#if !defined (LSE_VALUE)
|
|
||||||
#define LSE_VALUE (32768UL) /*!< Value of LSE in Hz*/
|
|
||||||
#endif /* LSE_VALUE */
|
|
||||||
|
|
||||||
#if defined(RCC_HSI48_SUPPORT)
|
|
||||||
#if !defined (HSI48_VALUE)
|
|
||||||
#define HSI48_VALUE 48000000U /*!< Value of the HSI48 oscillator in Hz */
|
|
||||||
#endif /* HSI48_VALUE */
|
|
||||||
#endif /* RCC_HSI48_SUPPORT */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_TypesDefinitions
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_Defines
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/************************* Miscellaneous Configuration ************************/
|
|
||||||
/*!< Uncomment the following line if you need to relocate your vector Table in
|
|
||||||
Internal SRAM. */
|
|
||||||
//#define VECT_TAB_SRAM
|
|
||||||
#define VECT_TAB_OFFSET 0x0U /*!< Vector Table base offset field.
|
|
||||||
This value must be a multiple of 0x100. */
|
|
||||||
/******************************************************************************/
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_Macros
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_Variables
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
/* The SystemCoreClock variable is updated in three ways:
|
|
||||||
1) by calling CMSIS function SystemCoreClockUpdate()
|
|
||||||
2) by calling HAL API function HAL_RCC_GetHCLKFreq()
|
|
||||||
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
|
|
||||||
Note: If you use this function to configure the system clock; then there
|
|
||||||
is no need to call the 2 first functions listed above, since SystemCoreClock
|
|
||||||
variable is updated automatically.
|
|
||||||
*/
|
|
||||||
uint32_t SystemCoreClock = 12000000UL;
|
|
||||||
|
|
||||||
const uint32_t AHBPrescTable[16UL] = {0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 1UL, 2UL, 3UL, 4UL, 6UL, 7UL, 8UL, 9UL};
|
|
||||||
const uint32_t APBPrescTable[8UL] = {0UL, 0UL, 0UL, 0UL, 1UL, 2UL, 3UL, 4UL};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_FunctionPrototypes
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Private_Functions
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Setup the microcontroller system.
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void SystemInit(void)
|
|
||||||
{
|
|
||||||
|
|
||||||
/* Configure the Vector Table location add offset address ------------------*/
|
|
||||||
#ifdef VECT_TAB_SRAM
|
|
||||||
SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
|
|
||||||
#else
|
|
||||||
SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Update SystemCoreClock variable according to Clock Register Values.
|
|
||||||
* The SystemCoreClock variable contains the core clock (HCLK), it can
|
|
||||||
* be used by the user application to setup the SysTick timer or configure
|
|
||||||
* other parameters.
|
|
||||||
*
|
|
||||||
* @note Each time the core clock (HCLK) changes, this function must be called
|
|
||||||
* to update SystemCoreClock variable value. Otherwise, any configuration
|
|
||||||
* based on this variable will be incorrect.
|
|
||||||
*
|
|
||||||
* @note - The system frequency computed by this function is not the real
|
|
||||||
* frequency in the chip. It is calculated based on the predefined
|
|
||||||
* constant and the selected clock source:
|
|
||||||
*
|
|
||||||
* - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(**) / HSI division factor
|
|
||||||
*
|
|
||||||
* - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(***)
|
|
||||||
*
|
|
||||||
* - If SYSCLK source is LSI, SystemCoreClock will contain the LSI_VALUE
|
|
||||||
*
|
|
||||||
* - If SYSCLK source is LSE, SystemCoreClock will contain the LSE_VALUE
|
|
||||||
*
|
|
||||||
* (**) HSI_VALUE is a constant defined in stm32c0xx_hal_conf.h file (default value
|
|
||||||
* 48 MHz) but the real value may vary depending on the variations
|
|
||||||
* in voltage and temperature.
|
|
||||||
*
|
|
||||||
* (***) HSE_VALUE is a constant defined in stm32c0xx_hal_conf.h file (default value
|
|
||||||
* 48 MHz), user has to ensure that HSE_VALUE is same as the real
|
|
||||||
* frequency of the crystal used. Otherwise, this function may
|
|
||||||
* have wrong result.
|
|
||||||
*
|
|
||||||
* - The result of this function could be not correct when using fractional
|
|
||||||
* value for HSE crystal.
|
|
||||||
*
|
|
||||||
* @param None
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void SystemCoreClockUpdate(void)
|
|
||||||
{
|
|
||||||
uint32_t tmp;
|
|
||||||
uint32_t hsidiv;
|
|
||||||
uint32_t sysdiv;
|
|
||||||
#if defined(RCC_CR_SYSDIV)
|
|
||||||
sysdiv = (uint32_t)(((RCC->CR & RCC_CR_SYSDIV) >> RCC_CR_SYSDIV_Pos) + 1U);
|
|
||||||
#else
|
|
||||||
sysdiv = 1U;
|
|
||||||
#endif /* RCC_CR_SYSDIV */
|
|
||||||
|
|
||||||
/* Get SYSCLK source -------------------------------------------------------*/
|
|
||||||
switch (RCC->CFGR & RCC_CFGR_SWS)
|
|
||||||
{
|
|
||||||
case RCC_CFGR_SWS_0: /* HSE used as system clock */
|
|
||||||
SystemCoreClock = (HSE_VALUE / sysdiv);
|
|
||||||
break;
|
|
||||||
|
|
||||||
#if defined(RCC_HSI48_SUPPORT)
|
|
||||||
case RCC_CFGR_SW_1: /* HSI48 used as system clock */
|
|
||||||
SystemCoreClock = (HSI48_VALUE / sysdiv);
|
|
||||||
break;
|
|
||||||
#endif /* RCC_HSI48_SUPPORT */
|
|
||||||
|
|
||||||
case (RCC_CFGR_SWS_1 | RCC_CFGR_SWS_0): /* LSI used as system clock */
|
|
||||||
SystemCoreClock = (LSI_VALUE / sysdiv);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case RCC_CFGR_SWS_2: /* LSE used as system clock */
|
|
||||||
SystemCoreClock = (LSE_VALUE / sysdiv);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 0x00000000U: /* HSI used as system clock */
|
|
||||||
default: /* HSI used as system clock */
|
|
||||||
hsidiv = (1UL << ((READ_BIT(RCC->CR, RCC_CR_HSIDIV))>> RCC_CR_HSIDIV_Pos));
|
|
||||||
SystemCoreClock = ((HSI_VALUE / sysdiv) / hsidiv);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
/* Compute HCLK clock frequency --------------------------------------------*/
|
|
||||||
/* Get HCLK prescaler */
|
|
||||||
tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos)];
|
|
||||||
/* HCLK clock frequency */
|
|
||||||
SystemCoreClock >>= tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
@@ -1,259 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file startup_stm32c011xx.s
|
|
||||||
* @author MCD Application Team
|
|
||||||
* @brief STM32C011xx devices vector table GCC toolchain.
|
|
||||||
* This module performs:
|
|
||||||
* - Set the initial SP
|
|
||||||
* - Set the initial PC == Reset_Handler,
|
|
||||||
* - Set the vector table entries with the exceptions ISR address,
|
|
||||||
* - Configure the clock system
|
|
||||||
* - Branches to main in the C library (which eventually
|
|
||||||
* calls main()).
|
|
||||||
* After Reset the Cortex-M0+ processor is in Thread mode,
|
|
||||||
* priority is Privileged, and the Stack is set to Main.
|
|
||||||
*******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2022 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
*******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
.syntax unified
|
|
||||||
.cpu cortex-m0plus
|
|
||||||
.fpu softvfp
|
|
||||||
.thumb
|
|
||||||
|
|
||||||
.global g_pfnVectors
|
|
||||||
.global Default_Handler
|
|
||||||
|
|
||||||
/* start address for the initialization values of the .data section.
|
|
||||||
defined in linker script */
|
|
||||||
.word _sidata
|
|
||||||
/* start address for the .data section. defined in linker script */
|
|
||||||
.word _sdata
|
|
||||||
/* end address for the .data section. defined in linker script */
|
|
||||||
.word _edata
|
|
||||||
/* start address for the .bss section. defined in linker script */
|
|
||||||
.word _sbss
|
|
||||||
/* end address for the .bss section. defined in linker script */
|
|
||||||
.word _ebss
|
|
||||||
|
|
||||||
.section .text.Reset_Handler
|
|
||||||
.weak Reset_Handler
|
|
||||||
.type Reset_Handler, %function
|
|
||||||
Reset_Handler:
|
|
||||||
ldr r0, =_estack
|
|
||||||
mov sp, r0 /* set stack pointer */
|
|
||||||
/* Call the clock system initialization function.*/
|
|
||||||
bl SystemInit
|
|
||||||
|
|
||||||
/* Copy the data segment initializers from flash to SRAM */
|
|
||||||
movs r1, #0
|
|
||||||
b LoopCopyDataInit
|
|
||||||
|
|
||||||
CopyDataInit:
|
|
||||||
ldr r3, =_sidata
|
|
||||||
ldr r3, [r3, r1]
|
|
||||||
str r3, [r0, r1]
|
|
||||||
adds r1, r1, #4
|
|
||||||
|
|
||||||
LoopCopyDataInit:
|
|
||||||
ldr r0, =_sdata
|
|
||||||
ldr r3, =_edata
|
|
||||||
adds r2, r0, r1
|
|
||||||
cmp r2, r3
|
|
||||||
bcc CopyDataInit
|
|
||||||
ldr r2, =_sbss
|
|
||||||
b LoopFillZerobss
|
|
||||||
/* Zero fill the bss segment. */
|
|
||||||
FillZerobss:
|
|
||||||
movs r3, #0
|
|
||||||
str r3, [r2]
|
|
||||||
adds r2, r2, #4
|
|
||||||
|
|
||||||
|
|
||||||
LoopFillZerobss:
|
|
||||||
ldr r3, = _ebss
|
|
||||||
cmp r2, r3
|
|
||||||
bcc FillZerobss
|
|
||||||
|
|
||||||
|
|
||||||
/* Call static constructors */
|
|
||||||
bl __libc_init_array
|
|
||||||
/* Call the application's entry point.*/
|
|
||||||
bl main
|
|
||||||
|
|
||||||
LoopForever:
|
|
||||||
b LoopForever
|
|
||||||
|
|
||||||
|
|
||||||
.size Reset_Handler, .-Reset_Handler
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief This is the code that gets called when the processor receives an
|
|
||||||
* unexpected interrupt. This simply enters an infinite loop, preserving
|
|
||||||
* the system state for examination by a debugger.
|
|
||||||
*
|
|
||||||
* @param None
|
|
||||||
* @retval : None
|
|
||||||
*/
|
|
||||||
.section .text.Default_Handler,"ax",%progbits
|
|
||||||
Default_Handler:
|
|
||||||
Infinite_Loop:
|
|
||||||
b Infinite_Loop
|
|
||||||
.size Default_Handler, .-Default_Handler
|
|
||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* The minimal vector table for a Cortex M0. Note that the proper constructs
|
|
||||||
* must be placed on this to ensure that it ends up at physical address
|
|
||||||
* 0x0000.0000.
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
.section .isr_vector,"a",%progbits
|
|
||||||
.type g_pfnVectors, %object
|
|
||||||
|
|
||||||
|
|
||||||
g_pfnVectors:
|
|
||||||
.word _estack
|
|
||||||
.word Reset_Handler
|
|
||||||
.word NMI_Handler
|
|
||||||
.word HardFault_Handler
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word SVC_Handler
|
|
||||||
.word 0
|
|
||||||
.word 0
|
|
||||||
.word PendSV_Handler
|
|
||||||
.word SysTick_Handler
|
|
||||||
.word WWDG_IRQHandler /* Window WatchDog */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word RTC_IRQHandler /* RTC through the EXTI line */
|
|
||||||
.word FLASH_IRQHandler /* FLASH */
|
|
||||||
.word RCC_IRQHandler /* RCC */
|
|
||||||
.word EXTI0_1_IRQHandler /* EXTI Line 0 and 1 */
|
|
||||||
.word EXTI2_3_IRQHandler /* EXTI Line 2 and 3 */
|
|
||||||
.word EXTI4_15_IRQHandler /* EXTI Line 4 to 15 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word DMA1_Channel1_IRQHandler /* DMA1 Channel 1 */
|
|
||||||
.word DMA1_Channel2_3_IRQHandler /* DMA1 Channel 2 and Channel 3 */
|
|
||||||
.word DMAMUX1_IRQHandler /* DMAMUX1 */
|
|
||||||
.word ADC1_IRQHandler /* ADC1 */
|
|
||||||
.word TIM1_BRK_UP_TRG_COM_IRQHandler /* TIM1 Break, Update, Trigger and Commutation */
|
|
||||||
.word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word TIM3_IRQHandler /* TIM3 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word TIM14_IRQHandler /* TIM14 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word TIM16_IRQHandler /* TIM16 */
|
|
||||||
.word TIM17_IRQHandler /* TIM17 */
|
|
||||||
.word I2C1_IRQHandler /* I2C1 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word SPI1_IRQHandler /* SPI1 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word USART1_IRQHandler /* USART1 */
|
|
||||||
.word USART2_IRQHandler /* USART2 */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
.word 0 /* reserved */
|
|
||||||
|
|
||||||
.size g_pfnVectors, .-g_pfnVectors
|
|
||||||
/*******************************************************************************
|
|
||||||
*
|
|
||||||
* Provide weak aliases for each Exception handler to the Default_Handler.
|
|
||||||
* As they are weak aliases, any function with the same name will override
|
|
||||||
* this definition.
|
|
||||||
*
|
|
||||||
*******************************************************************************/
|
|
||||||
|
|
||||||
.weak NMI_Handler
|
|
||||||
.thumb_set NMI_Handler,Default_Handler
|
|
||||||
|
|
||||||
.weak HardFault_Handler
|
|
||||||
.thumb_set HardFault_Handler,Default_Handler
|
|
||||||
|
|
||||||
.weak SVC_Handler
|
|
||||||
.thumb_set SVC_Handler,Default_Handler
|
|
||||||
|
|
||||||
.weak PendSV_Handler
|
|
||||||
.thumb_set PendSV_Handler,Default_Handler
|
|
||||||
|
|
||||||
.weak SysTick_Handler
|
|
||||||
.thumb_set SysTick_Handler,Default_Handler
|
|
||||||
|
|
||||||
.weak WWDG_IRQHandler
|
|
||||||
.thumb_set WWDG_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak RTC_IRQHandler
|
|
||||||
.thumb_set RTC_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak FLASH_IRQHandler
|
|
||||||
.thumb_set FLASH_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak RCC_IRQHandler
|
|
||||||
.thumb_set RCC_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak EXTI0_1_IRQHandler
|
|
||||||
.thumb_set EXTI0_1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak EXTI2_3_IRQHandler
|
|
||||||
.thumb_set EXTI2_3_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak EXTI4_15_IRQHandler
|
|
||||||
.thumb_set EXTI4_15_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak DMA1_Channel1_IRQHandler
|
|
||||||
.thumb_set DMA1_Channel1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak DMA1_Channel2_3_IRQHandler
|
|
||||||
.thumb_set DMA1_Channel2_3_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak DMAMUX1_IRQHandler
|
|
||||||
.thumb_set DMAMUX1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak ADC1_IRQHandler
|
|
||||||
.thumb_set ADC1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM1_BRK_UP_TRG_COM_IRQHandler
|
|
||||||
.thumb_set TIM1_BRK_UP_TRG_COM_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM1_CC_IRQHandler
|
|
||||||
.thumb_set TIM1_CC_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM3_IRQHandler
|
|
||||||
.thumb_set TIM3_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM14_IRQHandler
|
|
||||||
.thumb_set TIM14_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM16_IRQHandler
|
|
||||||
.thumb_set TIM16_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak TIM17_IRQHandler
|
|
||||||
.thumb_set TIM17_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak I2C1_IRQHandler
|
|
||||||
.thumb_set I2C1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak SPI1_IRQHandler
|
|
||||||
.thumb_set SPI1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak USART1_IRQHandler
|
|
||||||
.thumb_set USART1_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
.weak USART2_IRQHandler
|
|
||||||
.thumb_set USART2_IRQHandler,Default_Handler
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,226 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file stm32c0xx.h
|
|
||||||
* @author MCD Application Team
|
|
||||||
* @brief CMSIS STM32C0xx Device Peripheral Access Layer Header File.
|
|
||||||
*
|
|
||||||
* The file is the unique include file that the application programmer
|
|
||||||
* is using in the C source code, usually in main.c. This file contains:
|
|
||||||
* - Configuration section that allows to select:
|
|
||||||
* - The STM32C0xx device used in the target application
|
|
||||||
* - To use or not the peripherals drivers in application code(i.e.
|
|
||||||
* code will be based on direct access to peripherals registers
|
|
||||||
* rather than drivers API), this option is controlled by
|
|
||||||
* "#define USE_HAL_DRIVER"
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2022 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup CMSIS
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup stm32c0xx
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef STM32C0xx_H
|
|
||||||
#define STM32C0xx_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
/** @addtogroup Library_configuration_section
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief STM32 Family
|
|
||||||
*/
|
|
||||||
#if !defined (STM32C0)
|
|
||||||
#define STM32C0
|
|
||||||
#endif /* STM32C0 */
|
|
||||||
|
|
||||||
/* Uncomment the line below according to the target STM32C0 device used in your
|
|
||||||
application
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if !defined (STM32C011xx) && !defined (STM32C031xx) \
|
|
||||||
&& !defined (STM32C051xx) && !defined (STM32C071xx) \
|
|
||||||
&& !defined (STM32C091xx) && !defined (STM32C092xx)
|
|
||||||
/* #define STM32C011xx */ /*!< STM32C011xx Devices */
|
|
||||||
/* #define STM32C031xx */ /*!< STM32C031xx Devices */
|
|
||||||
/* #define STM32C051xx */ /*!< STM32C051xx Devices */
|
|
||||||
/* #define STM32C071xx */ /*!< STM32C071xx Devices */
|
|
||||||
/* #define STM32C091xx */ /*!< STM32C091xx Devices */
|
|
||||||
/* #define STM32C092xx */ /*!< STM32C092xx Devices */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Tip: To avoid modifying this file each time you need to switch between these
|
|
||||||
devices, you can define the device in your toolchain compiler preprocessor.
|
|
||||||
*/
|
|
||||||
#if !defined (USE_HAL_DRIVER)
|
|
||||||
/**
|
|
||||||
* @brief Comment the line below if you will not use the peripherals drivers.
|
|
||||||
In this case, these drivers will not be included and the application code will
|
|
||||||
be based on direct access to peripherals registers
|
|
||||||
*/
|
|
||||||
/*#define USE_HAL_DRIVER */
|
|
||||||
#endif /* USE_HAL_DRIVER */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief CMSIS Device version number V1.0.0
|
|
||||||
*/
|
|
||||||
#define __STM32C0_CMSIS_VERSION_MAIN (0x01U) /*!< [31:24] main version */
|
|
||||||
#define __STM32C0_CMSIS_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
|
|
||||||
#define __STM32C0_CMSIS_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
|
|
||||||
#define __STM32C0_CMSIS_VERSION_RC (0x00U) /*!< [7:0] release candidate */
|
|
||||||
#define __STM32C0_CMSIS_VERSION ((__STM32C0_CMSIS_VERSION_MAIN << 24)\
|
|
||||||
|(__STM32C0_CMSIS_VERSION_SUB1 << 16)\
|
|
||||||
|(__STM32C0_CMSIS_VERSION_SUB2 << 8 )\
|
|
||||||
|(__STM32C0_CMSIS_VERSION_RC))
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup Device_Included
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(STM32C011xx)
|
|
||||||
#include "stm32c011xx.h"
|
|
||||||
#elif defined(STM32C031xx)
|
|
||||||
#include "stm32c031xx.h"
|
|
||||||
#elif defined(STM32C051xx)
|
|
||||||
#include "stm32c051xx.h"
|
|
||||||
#elif defined(STM32C071xx)
|
|
||||||
#include "stm32c071xx.h"
|
|
||||||
#elif defined(STM32C091xx)
|
|
||||||
#include "stm32c091xx.h"
|
|
||||||
#elif defined(STM32C092xx)
|
|
||||||
#include "stm32c092xx.h"
|
|
||||||
#else
|
|
||||||
#error "Please select first the target STM32C0xx device used in your application (in stm32c0xx.h file)"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup Exported_types
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
RESET = 0,
|
|
||||||
SET = !RESET
|
|
||||||
} FlagStatus, ITStatus;
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
DISABLE = 0,
|
|
||||||
ENABLE = !DISABLE
|
|
||||||
} FunctionalState;
|
|
||||||
#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
SUCCESS = 0,
|
|
||||||
ERROR = !SUCCESS
|
|
||||||
} ErrorStatus;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup Exported_macros
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#define SET_BIT(REG, BIT) ((REG) |= (BIT))
|
|
||||||
|
|
||||||
#define CLEAR_BIT(REG, BIT) ((REG) &= ~(BIT))
|
|
||||||
|
|
||||||
#define READ_BIT(REG, BIT) ((REG) & (BIT))
|
|
||||||
|
|
||||||
#define CLEAR_REG(REG) ((REG) = (0x0))
|
|
||||||
|
|
||||||
#define WRITE_REG(REG, VAL) ((REG) = (VAL))
|
|
||||||
|
|
||||||
#define READ_REG(REG) ((REG))
|
|
||||||
|
|
||||||
#define MODIFY_REG(REG, CLEARMASK, SETMASK) WRITE_REG((REG), (((READ_REG(REG)) & (~(CLEARMASK))) | (SETMASK)))
|
|
||||||
|
|
||||||
/* Use of interrupt control for register exclusive access */
|
|
||||||
/* Atomic 32-bit register access macro to set one or several bits */
|
|
||||||
#define ATOMIC_SET_BIT(REG, BIT) \
|
|
||||||
do { \
|
|
||||||
uint32_t primask; \
|
|
||||||
primask = __get_PRIMASK(); \
|
|
||||||
__set_PRIMASK(1); \
|
|
||||||
SET_BIT((REG), (BIT)); \
|
|
||||||
__set_PRIMASK(primask); \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
/* Atomic 32-bit register access macro to clear one or several bits */
|
|
||||||
#define ATOMIC_CLEAR_BIT(REG, BIT) \
|
|
||||||
do { \
|
|
||||||
uint32_t primask; \
|
|
||||||
primask = __get_PRIMASK(); \
|
|
||||||
__set_PRIMASK(1); \
|
|
||||||
CLEAR_BIT((REG), (BIT)); \
|
|
||||||
__set_PRIMASK(primask); \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
/* Atomic 32-bit register access macro to clear and set one or several bits */
|
|
||||||
#define ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \
|
|
||||||
do { \
|
|
||||||
uint32_t primask; \
|
|
||||||
primask = __get_PRIMASK(); \
|
|
||||||
__set_PRIMASK(1); \
|
|
||||||
MODIFY_REG((REG), (CLEARMSK), (SETMASK)); \
|
|
||||||
__set_PRIMASK(primask); \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
/* Atomic 16-bit register access macro to set one or several bits */
|
|
||||||
#define ATOMIC_SETH_BIT(REG, BIT) ATOMIC_SET_BIT(REG, BIT) \
|
|
||||||
|
|
||||||
/* Atomic 16-bit register access macro to clear one or several bits */
|
|
||||||
#define ATOMIC_CLEARH_BIT(REG, BIT) ATOMIC_CLEAR_BIT(REG, BIT) \
|
|
||||||
|
|
||||||
/* Atomic 16-bit register access macro to clear and set one or several bits */
|
|
||||||
#define ATOMIC_MODIFYH_REG(REG, CLEARMSK, SETMASK) ATOMIC_MODIFY_REG(REG, CLEARMSK, SETMASK) \
|
|
||||||
|
|
||||||
#define POSITION_VAL(VAL) (__CLZ(__RBIT(VAL)))
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined (USE_HAL_DRIVER)
|
|
||||||
#include "stm32c0xx_hal.h"
|
|
||||||
#endif /* USE_HAL_DRIVER */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif /* __cplusplus */
|
|
||||||
|
|
||||||
#endif /* STM32C0xx_H */
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
@@ -1,105 +0,0 @@
|
|||||||
/**
|
|
||||||
******************************************************************************
|
|
||||||
* @file system_stm32c0xx.h
|
|
||||||
* @author MCD Application Team
|
|
||||||
* @brief CMSIS Cortex-M0+ Device System Source File for STM32C0xx devices.
|
|
||||||
******************************************************************************
|
|
||||||
* @attention
|
|
||||||
*
|
|
||||||
* Copyright (c) 2022 STMicroelectronics.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
|
||||||
* in the root directory of this software component.
|
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
|
||||||
*
|
|
||||||
******************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup CMSIS
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup stm32c0xx_system
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define to prevent recursive inclusion
|
|
||||||
*/
|
|
||||||
#ifndef SYSTEM_STM32C0XX_H
|
|
||||||
#define SYSTEM_STM32C0XX_H
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Includes
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Exported_types
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
/* This variable is updated in three ways:
|
|
||||||
1) by calling CMSIS function SystemCoreClockUpdate()
|
|
||||||
2) by calling HAL API function HAL_RCC_GetSysClockFreq()
|
|
||||||
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
|
|
||||||
Note: If you use this function to configure the system clock; then there
|
|
||||||
is no need to call the 2 first functions listed above, since SystemCoreClock
|
|
||||||
variable is updated automatically.
|
|
||||||
*/
|
|
||||||
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
|
|
||||||
|
|
||||||
extern const uint32_t AHBPrescTable[16]; /*!< AHB prescalers table values */
|
|
||||||
extern const uint32_t APBPrescTable[8]; /*!< APB prescalers table values */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Exported_Constants
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Exported_Macros
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @addtogroup STM32C0xx_System_Exported_Functions
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
extern void SystemInit(void);
|
|
||||||
extern void SystemCoreClockUpdate(void);
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /*SYSTEM_STM32C0XX_H */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @}
|
|
||||||
*/
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user