36 Commits

Author SHA1 Message Date
Gonçalo Pereira
df15ebf8d6 EMI and buck layout placement 2024-05-23 17:58:24 +01:00
Gonçalo Pereira
d4feff9014 Adjust simulation 2024-05-13 21:39:25 +01:00
Gonçalo Pereira
7365b8ebfe Add phase to EMI filter simulation results 2024-05-13 21:36:42 +01:00
Gonçalo Pereira
8deef1b8a6 Update EMI filter schematic according to simulation results 2024-05-13 21:28:44 +01:00
Gonçalo Pereira
6f9030cc3c EMI filter simulation 2024-05-13 21:25:08 +01:00
Gonçalo Pereira
b9990c4e48 UART ESD protection 2024-05-10 08:28:21 +01:00
Gonçalo Pereira
66db62f22b Revert "UART connector study"
This reverts commit 1600af9792.
2024-05-10 08:16:44 +01:00
Gonçalo Pereira
1600af9792 UART connector study 2024-05-08 08:32:52 +01:00
Gonçalo Pereira
1eabcf49dd Connectors ESD protection 2024-05-08 08:30:05 +01:00
Gonçalo Pereira
2a7a18f6bb ESD protection 2024-05-08 08:03:07 +01:00
Gonçalo Pereira
77d1be4582 Update FeederFloor to KiCAD 8 2024-05-07 08:05:16 +01:00
Gonçalo Pereira
af70a0e265 Fix libraries 2024-05-02 07:47:10 +01:00
Gonçalo Pereira
9dcfcc7592 Buck converter schematic complete 2024-04-27 02:06:01 +01:00
Gonçalo Pereira
221738351d Selected another buck converter 2024-04-27 01:36:56 +01:00
Gonçalo Pereira
f72b464060 Update to KiCAD 8 2024-04-23 18:17:11 +01:00
Gonçalo Pereira
cdb099adfd Update to KiCAD 8 2024-04-23 07:48:10 +01:00
Stephen Hawes
4999d443f7 taking Justins advice and adding a special note to prevent inquiry about board space 2023-06-28 14:07:25 -04:00
Stephen Hawes
77ff8dadfb updates silk to reference the fact this is a rev13 beta 0 2023-06-20 12:22:55 -05:00
Stephen Hawes
160c84925c adds thimble to bom 2023-05-25 11:21:59 -04:00
Stephen Hawes
a497fa53e1 actually adding the spring line in the BOM, accidentally did not include it in the last commit 2023-05-24 17:22:17 -04:00
Stephen Hawes
422563d96f fixes links to fasteners, adds spring to bom 2023-05-24 17:18:38 -04:00
Stephen Hawes
205fea5cea adds pcb info to bom 2023-05-22 10:31:22 -04:00
Stephen Hawes
4937b46ded adds wheel glueing to design decisions 2023-05-22 10:31:13 -04:00
Stephen Hawes
8c4869fb68 implements atanisoft's solution of converting copper to zone rule areas to make removing countersink copper much easier 2023-05-19 11:33:49 -04:00
Stephen Hawes
dc2f205042 removes copper pour from the nub protecting the spring pins to reduce the chance of exposed copper 2023-05-18 17:29:08 -04:00
Stephen Hawes
f93ddf28f0 adds annotations to many sections of the schematic 2023-05-17 14:22:33 -04:00
Stephen Hawes
ce0884c780 makes schematic page larger, rearranges components for readability 2023-05-17 14:12:14 -04:00
Stephen Hawes
d77f599cce adds dedicated symbol for push buttons. adds them to the board 2023-05-17 13:40:47 -04:00
Stephen Hawes
af06af9a1b fixes #19. adds X and Y caps on RS485 bus. 2023-05-17 12:59:16 -04:00
Stephen Hawes
b06d74ba60 fixes #16. adds cap to reset line for EMI hardening 2023-05-17 12:05:46 -04:00
Stephen Hawes
d3189ef4d0 helps address #13. motor driver decoupling caps match the DRV8837s recommended values in the datasheet. adds dedicated cap for the rs485 transceiver. improves routing from motor driver caps to power pads 2023-05-17 11:53:09 -04:00
Stephen Hawes
ce71b40a86 fixes #9. marks LED_RGBA_ALT as DNP, adds custom symbol for MHS110FRGBCT LED 2023-05-17 11:24:14 -04:00
Stephen Hawes
a2f9e1068f fixes #14. removes vias from all pads. updates STM32 QFN footprint to not have any paste layer for stencil export 2023-05-17 11:02:24 -04:00
Stephen Hawes
4a230d6c4d fixes #22. adds reasonable default design rule constraints. circular keepouts are already present for the countersink, and they're much bigger than the max diameter of the countersink 2023-05-17 10:33:53 -04:00
Stephen Hawes
749bfe5bb2 small routing tweaks 2023-05-15 12:08:43 -04:00
Stephen Hawes
4d84a8e0f6 adds inductor inline with the 24v rail to limit inrush current 2023-05-11 14:41:13 -04:00
416 changed files with 136841 additions and 312700 deletions

View File

@@ -0,0 +1,20 @@
---
name: Electrical Design
about: Issue Template for the feeder's Electrical Design
title: ''
labels: triage
assignees: ''
---
# Version Number
What is the latest known version number where this issue is present?
# Bugfix or Enhancement
Is this issue a bug with the feeder, or a potential enhancement?
# Description
Please describe the issue. Be sure to include relevant parts and photos/video if possible.
# Suggested Solution
Please describe a suggested solution, if you have one in mind.

View File

@@ -0,0 +1,20 @@
---
name: Mechanical Design
about: Issue Template for the feeder's Mechanical Design
title: ''
labels: triage
assignees: ''
---
# Version Number
What is the latest known version number where this issue is present?
# Bugfix or Enhancement
Is this issue a bug with the feeder, or a potential enhancement?
# Description
Please describe the issue. Be sure to include relevant parts and photos/video if possible.
# Suggested Solution
Please describe a suggested solution, if you have one in mind.

111
.github/workflows/export-bom.yaml vendored Normal file
View File

@@ -0,0 +1,111 @@
name: Export BOM
on:
workflow_dispatch:
release:
types: [ published ]
jobs:
generate-bom:
name: Generate BOM
runs-on: ubuntu-20.04
steps:
- name: Generate Short SHA Environment Variable
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
- name: Install Python
run: |
sudo apt install python3
- name: Download repository
uses: actions/checkout@v2
- name: Generate BOM HTML Page for Release
if: github.event_name == 'release'
run: |
python3 .github/workflows/scripts/export-bom.py ${{ github.event.release.tag_name }}
- name: Generate BOM HTML Page for Workflow Dispatch
if: github.event_name != 'release'
run: |
python3 .github/workflows/scripts/export-bom.py ${SHORT_SHA}
- name: Install FreeCAD Python library
run: |
sudo apt -qq update
sudo apt-get -qq -y install python3
sudo apt-get -qq -y install python3-pip
sudo apt-get -qq -y install qt5-default
python3 -m pip install --upgrade pip
pip install pyside2==5.12.6
- name: Fetch FreeCAD
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "FreeCAD/FreeCAD"
version: "tags/0.19.2"
file: "FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage"
target: "FreeCAD.AppImage"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install FreeCad
run: |
sudo chown runner:docker FreeCAD.AppImage
pwd
chmod +x FreeCAD.AppImage
./FreeCAD.AppImage --appimage-extract > /dev/null
- name: Generate STL files
run: |
cd .github/workflows/scripts
python3 export-stl.py
ls -al
- name: Install OpenSCAD
run: |
sudo add-apt-repository ppa:openscad/releases
sudo apt-get update
sudo apt-get install openscad
- name: Generate STL Images for Release
if: github.event_name == 'release'
run: |
sudo apt-get install xvfb
Xvfb :5 -screen 0 800x600x24 &
export DISPLAY=:5
python3 .github/workflows/scripts/generate-stl-img.py ${{ github.event.release.tag_name }}
- name: Generate STL Images for Workflow Dispatch
if: github.event_name != 'release'
run: |
sudo apt-get install xvfb
Xvfb :5 -screen 0 800x600x24 &
export DISPLAY=:5
python3 .github/workflows/scripts/generate-stl-img.py ${SHORT_SHA}
- name: Zip BOM Directory for Workflow Dispatch
if: github.event_name != 'release'
run: |
zip -r Feeder-BOM.zip Feeder-${SHORT_SHA} Feeder-${SHORT_SHA}/img
ls -al
- name: Zip BOM Directory for Release
if: github.event_name == 'release'
run: |
zip -r Feeder-BOM-${{ github.event.release.tag_name }}.zip Feeder-${{ github.event.release.tag_name }} Feeder-${{ github.event.release.tag_name }}/img
- name: upload BOM results
if: github.event_name != 'release'
uses: actions/upload-artifact@v2
with:
name: Feeder-BOM
path: Feeder-BOM.zip
- name: Upload Artifacts to Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'release'
with:
files: |
Feeder-BOM-${{ github.event.release.tag_name }}.zip

118
.github/workflows/export-ecad.yaml vendored Normal file
View File

@@ -0,0 +1,118 @@
name: Export ECAD
on:
workflow_dispatch:
release:
types: [ published ]
jobs:
export-ecad:
name: Export ECAD
runs-on: ubuntu-latest
container: setsoft/kicad_auto:ki7
steps:
- name: Generate Short SHA Environment Variable
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
- name: Update system repositories, Install Required Libraries and Initialize git-lfs
run: |
apt update
apt -y install git git-lfs zip librsvg2-bin imagemagick
git lfs install
- name: Checkout Repository
uses: actions/checkout@v2
with:
lfs: true
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Update the PCBs with on default branch with git hash
if: github.event_name == 'release' || steps.extract_branch.outputs.branch == env.main_branch
run: |
export COMMIT=$(git rev-parse --short HEAD)
echo "COMMIT = ${COMMIT}"
echo "ref: ${{ github.ref }}"
echo "default: ${{ env.default }}"
sed -i "s!<<hash>>!${COMMIT}!" pcb/mobo/mobo.kicad_pcb
sed -i "s!<<hash>>!${COMMIT}!" pcb/feederFloor/feederFloor.kicad_pcb
sed -i "s!<<hash>>!${COMMIT}!" pcb/indexingWheel/indexingWheel.kicad_pcb
sed -i "s!<<hash>>!${COMMIT}!" pcb/light-diffusion/light-diffusion.kicad_pcb
sed -i "s!<<hash>>!${COMMIT}!" pcb/photon-8mm-fid/photon-8mm-fid.kicad_pcb
- name: Update the PCBs with the git hash and BETA.
if: steps.extract_branch.outputs.branch != env.main_branch
run: |
export COMMIT=$(git rev-parse --short HEAD)
echo "COMMIT = ${COMMIT}"
sed -i "s!<<hash>>!BETA-${COMMIT}!" pcb/mobo/mobo.kicad_pcb
sed -i "s!<<hash>>!BETA-${COMMIT}!" pcb/feederFloor/feederFloor.kicad_pcb
sed -i "s!<<hash>>!BETA-${COMMIT}!" pcb/indexingWheel/indexingWheel.kicad_pcb
sed -i "s!<<hash>>!BETA-${COMMIT}!" pcb/light-diffusion/light-diffusion.kicad_pcb
sed -i "s!<<hash>>!BETA-${COMMIT}!" pcb/photon-8mm-fid/fiducialBoard.kicad_pcb
- name: Generate Mobo Export Files
run: |
cd pcb/mobo
rm -rf mobo/
kibot -c ../../.github/workflows/scripts/kibot/config-2layer.kibot.yaml -e mobo.kicad_sch -b mobo.kicad_pcb -d mobo
zip -r -j mobo.zip mobo/
- name: Generate Slot Export Files
run: |
cd pcb/feederFloor
rm -rf feeder-floor/
kibot -c ../../.github/workflows/scripts/kibot/config-2layer.kibot.yaml -e feederFloor.kicad_sch -b feederFloor.kicad_pcb -d slot
zip -r -j slot.zip slot/
- name: Generate Indexing Wheel Export Files
run: |
cd pcb/indexingWheel
rm -rf indexing-wheel/
kibot -c ../../.github/workflows/scripts/kibot/config-2layer.kibot.yaml -e indexingWheel.kicad_sch -b indexingWheel.kicad_pcb -d indexing-wheel
zip -r -j indexing-wheel.zip indexing-wheel/
- name: Generate Light Diffusion Export Files
run: |
cd pcb/light-diffusion
rm -rf light-diffusion/
kibot -c ../../.github/workflows/scripts/kibot/config-2layer.kibot.yaml -e light-diffusion.kicad_sch -b light-diffusion.kicad_pcb -d light-diffusion
zip -r -j light-diffusion.zip light-diffusion/
- name: Generate Photon 8mm Fiducial Export Files
run: |
cd pcb/photon-8mm-fid
rm -rf photon-8mm-fid/
kibot -c ../../.github/workflows/scripts/kibot/config-2layer.kibot.yaml -e fiducialBoard.kicad_sch -b fiducialBoard.kicad_pcb -d photon-8mm-fid
zip -r -j photon-8mm-fid.zip photon-8mm-fid/
- name: Zip PCB Export Files for Artifacts
run: |
cd pcb/
zip -r -j Feeder-PCBs.zip photon-8mm-fid/photon-8mm-fid.zip light-diffusion/light-diffusion.zip indexingWheel/indexing-wheel.zip feederFloor/slot.zip mobo/mobo.zip
- name: Zip PCB Export Files for Release
run: |
cd pcb/
zip -r -j Feeder-PCBs-${{ github.event.release.tag_name }}.zip photon-8mm-fid/photon-8mm-fid.zip light-diffusion/light-diffusion.zip indexingWheel/indexing-wheel.zip feederFloor/slot.zip mobo/mobo.zip
- name: Upload PCB Export Files as Artifacts
uses: actions/upload-artifact@v2
with:
name: Feeder-PCBs.zip
path: pcb/Feeder-PCBs.zip
if-no-files-found: error
retention-days: 60
- name: Upload Artifacts to Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'release'
with:
files: |
pcb/Feeder-PCBs-${{ github.event.release.tag_name }}.zip

98
.github/workflows/export-mcad.yaml vendored Normal file
View File

@@ -0,0 +1,98 @@
name: Export MCAD
on:
release:
types: [ published ]
workflow_dispatch:
jobs:
export-mcad:
name: Export MCAD
runs-on: ubuntu-20.04
steps:
- name: Generate Short SHA Environment Variable
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
- name: Download repository
uses: actions/checkout@v2
- name: Install FreeCAD Python library
run: |
sudo apt -qq update
sudo apt-get -qq -y install python3
sudo apt-get -qq -y install python3-pip
sudo apt-get -qq -y install qt5-default
python3 -m pip install --upgrade pip
pip install pyside2==5.12.6
- name: Fetch FreeCAD
uses: dsaltares/fetch-gh-release-asset@master
with:
repo: "FreeCAD/FreeCAD"
version: "tags/0.19.2"
file: "FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage"
target: "FreeCAD.AppImage"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install FreeCad
run: |
sudo chown runner:docker FreeCAD.AppImage
pwd
chmod +x FreeCAD.AppImage
./FreeCAD.AppImage --appimage-extract > /dev/null
- name: Generate DXF files
run: |
cd .github/workflows/scripts
python3 export-csm.py
pwd
ls -al
cd csm-export
ls -al
env:
LD_LIBRARY_PATH: /home/runner/work/feeder/feeder/squashfs-root/usr/lib
- name: Generate STL files
run: |
cd .github/workflows/scripts
python3 export-stl.py
- name: Compress STL and DXF files for Release
if: github.event_name == 'release'
run: |
cd .github/workflows/scripts/stl-export
zip -9 -j /home/runner/work/feeder/feeder/Feeder-STLs-${{ github.event.release.tag_name }}.zip *.stl
cd ../csm-export
- name: Compress STL and DXF files for Artifacts
if: github.event_name != 'release'
run: |
cd .github/workflows/scripts/stl-export
zip -9 -j ~/Feeder-STLs.zip *.stl
cd /home/runner/work/feeder/feeder/.github/workflows/scripts/csm-export
- name: Upload STLs as Artifacts
if: github.event_name != 'release'
uses: actions/upload-artifact@v2
with:
name: Feeder-STLs
path: ~/Feeder-STLs.zip
if-no-files-found: error
retention-days: 60
- name: Upload DXFs as Artifacts
if: github.event_name != 'release'
uses: actions/upload-artifact@v2
with:
name: Feeder-DXFs
path: ~/Feeder-DXFs.zip
if-no-files-found: warn
retention-days: 60
- name: Upload STLs and DXFs Release
uses: softprops/action-gh-release@v1
if: github.event_name == 'release'
with:
files: Feeder-STLs-${{ github.event.release.tag_name }}.zip

120
.github/workflows/scripts/export-bom.py vendored Normal file
View File

@@ -0,0 +1,120 @@
#!/usr/bin/python3
import os
from platform import release
import sys
import csv
# make directory for bom html file and assets
dirName = "Feeder-" + sys.argv[1]
if not os.path.exists(dirName):
os.mkdir(dirName)
print("Directory " , dirName , " Created ")
else:
print("Directory " , dirName , " already exists")
# make html file that will become our BOM
f = open(dirName + "/bom_" + sys.argv[1] + ".html", "w")
f.write("""
<!DOCTYPE html>
<head>
<style>
body {
background-color: #222;
padding: 30px;
font-family: helvetica;
color: #fff
}
table {
width: 100%;
position: relative;
border-collapse: collapse;
}
h1 {
color:white;
}
.optional {
background-color: #430;
}
tr.titlerow th {
background-color: goldenrod;
position: sticky;
top: 0;
}
th, td {
padding: 10px;
text-align: left;
border-bottom: 2px solid #fff
}
a {
color:goldenrod;
}
img {
width: 150px;
}
#logo {
width: 250px;
position: absolute;
top: 30px;
right: 50px;
}
tr:hover {
background-color: #444;
}
</style>
</head>
<body>
<h1>
""")
#write page title based on script
f.write("LumenPnP Feeder BOM " + sys.argv[1])
#write the beginning of table, and row for header
f.write("</h1><a href='https://www.github.com/opulo-inc/feeder/releases/' target='_blank' rel='noopener noreferrer'><h2>Download the Source Here</h2></a><a href='https://www.opulo.io/' target='_blank' rel='noopener noreferrer'><img src='https://cdn.shopify.com/s/files/1/0570/4256/7355/files/opulo-white-alpha_1200x1200.png?v=1644515300' id='logo'/></a><table>")
with open('bom.csv') as bom:
csv_reader = csv.reader(bom, delimiter=',')
line_count = 0
for row in csv_reader:
column = 0
if line_count == 0: #if header row, just print what's there
f.write("<tr class='titlerow'>")
while column < len(row):
f.write("<th style='color:black;'>" + row[column] + "</th>")
column += 1
else: #if content row
if row[6] != "":
f.write("<tr class='optional'>")
else:
f.write("<tr>")
while column < len(row):
# handling images
if column == 1 and row[3] != "FDM":
f.write("<th><img src='" + row[column] + "' /></th>")
elif column == 1 and row[3] == "FDM":
f.write("<th><img src='img/" + row[0] + ".png' /></th>")
# handling links
elif (column == 4 or column == 5) and row[3] != "FDM" and row[column] != "":
f.write("<th><a href='" + row[column] + "' target='_blank' rel='noopener noreferrer'/>Link</a></th>")
# all other cells
else:
f.write("<th>" + row[column] + "</th>")
column += 1
f.write("</tr>")
line_count += 1
f.write("</table></body></html>")
f.close()

127
.github/workflows/scripts/export-csm.py vendored Normal file
View File

@@ -0,0 +1,127 @@
#!/usr/bin/python3
import math
import os
import sys
import traceback
from pathlib import Path
from typing import List
import time
freecad_paths = [
'/home/runner/work/feeder/feeder/squashfs-root/usr/lib', # For CI when using AppImage
'/usr/lib/freecad/lib/', # For CI
'/usr/lib/freecad-daily-python3/lib/', # For Ubuntu
'/usr/lib64/freecad/lib64/', # For Fedora
'/Applications/FreeCAD.app/Contents/MacOS', # For Mac OS X
'c:/Program Files/FreeCAD 0.18/bin/', # For Windows
'c:/Program Files/FreeCAD 0.19/bin/', # For Windows
]
# Font file relative to this python script
font_folder = '../../../lib/fonts'
for path in freecad_paths:
if os.path.exists(path):
print(f"Added possible FreeCAD path: {path}")
sys.path.append(path)
# Must be after sys.path.append above...
import FreeCAD
import importDXF
print('Python version:',sys.version,'FreeCAD version:',FreeCAD.Version())
def process_csm_file(cad_file: Path, output_folder: Path):
print("Processing " + cad_file.name)
doc = FreeCAD.open(str(cad_file.absolute()))
name = cad_file.name[:-6]
# name_options = [obj.String for obj in doc.Objects if
# obj.isDerivedFrom("Part::Part2DObject") and obj.Label == "PN"]
# if name_options:
# name = name_options[0]
# else:
# # If there is no part number embossed throw error
# raise ValueError("Part " + cad_file.name + " doesn't have a ShapeString called PN for part number emboss")
output_file=os.path.join(output_folder,name+'.dxf')
print("Output file "+output_file)
#output_file=os.path.join(output_folder,os.path.splitext(os.path.basename(cad_file))[0]+'.dxf')
# if cad_file.name[:8] != name[:8]:
# # STL model file name does not match the part number embedded in the file
# raise ValueError(
# "Part " + cad_file.name[:8] + " doesn't match the part number in the FreeCad model - " + name[:8])
body = [obj for obj in doc.Objects if obj.Label == "Body"]
if len(body) == 0:
print(f"Cannot find body object. {len(doc.Objects)} objects present")
for obj in doc.Objects:
print(f"- {obj.Label}")
raise Exception(f"Object named 'Body' not found in model {cad_file.name}")
body = body[0]
# Find font references in the model and ensure they point to the correct font file
fonts = [obj for obj in doc.Objects if
obj.isDerivedFrom("Part::Part2DObject") and hasattr(obj, "FontFile")]
for obj in fonts:
font_file_property = obj.getPropertyByName('FontFile')
new_font_file = os.path.join(font_folder, os.path.split(font_file_property)[1])
if not os.path.isfile(new_font_file):
raise FileNotFoundError(f"Cannot find font file {new_font_file}")
if new_font_file != font_file_property:
print(f"\tCorrected '{obj.Label}' font file name from {font_file_property}")
setattr(obj, "FontFile", new_font_file)
obj.touch()
# Recompute the model to ensure its valid and does not contain broken references or edges
# Mark each object as "changed"
for obj in doc.Objects:
obj.touch()
# Recompute the entire document
t0 = time.perf_counter()
doc.recompute(None, True, True)
t1 = time.perf_counter()
total = t1 - t0
print(f"\tRecompute of model took {total:3f}s")
__objs__=[]
__objs__.append(body)
importDXF.export(__objs__,output_file)
if __name__ == '__main__':
# Create output folder if needed
output_directory = Path('csm-export')
output_directory.mkdir(parents=True, exist_ok=True)
csm_path = Path('../../../src/cad/CSM')
files = sorted(csm_path.glob('*.FCStd'))
exceptions: List[Exception] = []
for f in files:
try:
process_csm_file(f, output_directory)
except Exception as ex:
print(f"****")
print(f"\tAn error occurred while processing {str(f)}:")
print(f"\t{ex}")
traceback.print_exc()
print(f"****")
exceptions.append(ex)
if exceptions:
verb = "was" if len(exceptions) == 1 else "were"
noun = "exception" if len(exceptions) == 1 else "exceptions"
print(f"There {verb} {len(exceptions)} {noun}")
assert len(exceptions) == 0

196
.github/workflows/scripts/export-stl.py vendored Normal file
View File

@@ -0,0 +1,196 @@
#!/usr/bin/python3
import math
import os
import sys
import traceback
from pathlib import Path
from typing import List
import time
import csv
freecad_paths = [
'/home/runner/work/feeder/feeder/squashfs-root/usr/lib', # For CI when using AppImage
'/usr/lib/freecad/lib/', # For CI
'/usr/lib/freecad-daily-python3/lib/', # For Ubuntu
'/usr/lib64/freecad/lib64/', # For Fedora
'/Applications/FreeCAD.app/Contents/MacOS', # For Mac OS X
'c:/Program Files/FreeCAD 0.18/bin/', # For Windows
'c:/Program Files/FreeCAD 0.19/bin/', # For Windows
]
# Font file relative to this python script
font_folder = '../../../lib/fonts'
for path in freecad_paths:
if os.path.exists(path):
print(f"Added possible FreeCAD path: {path}")
sys.path.append(path)
import FreeCAD
import MeshPart
print('Python version:')
print(sys.version)
print('FreeCAD version:')
print(FreeCAD.Version())
def process_file(cad_file: Path):
print("Processing " + cad_file.name)
doc = FreeCAD.open(str(cad_file.absolute()))
bom = open("../../../bom.csv")
csv_reader = csv.reader(bom, delimiter=',')
count = 0
flag = False
for row in csv_reader:
if row[0] == cad_file.name[:-6]:
print("found a part!")
print(row[0])
count = row[2]
print(count)
if count != "-" and count != "":
flag = True
break
#generates name with quantity
if flag:
name = cad_file.name[:-6] + "_" + count + "x"
print("making count name")
else:
name = cad_file.name[:-6]
print("making no count name")
# # Getting file name from part number emboss
# name_options = [obj.String for obj in doc.Objects if
# obj.isDerivedFrom("Part::Part2DObject") and obj.Label == "PN"]
# if name_options:
# name = name_options[0]
# else:
# # If there is no part number embossed throw error
# raise ValueError("Part " + cad_file.name + " doesn't have a ShapeString called PN for part number emboss")
# if cad_file.name[:8] != name[:8]:
# # STL model file name does not match the part number embedded in the file
# raise ValueError(
# "Part " + cad_file.name[:8] + " doesn't match the part number in the FreeCad model - " + name[:8])
body = [obj for obj in doc.Objects if obj.Label == "Body"]
if len(body) == 0:
print(f"Cannot find body object. {len(doc.Objects)} objects present")
for obj in doc.Objects:
print(f"- {obj.Label}")
raise Exception(f"Object named 'Body' not found in model {cad_file.name}")
body = body[0]
# Find font references in the model and ensure they point to the correct font file
fonts = [obj for obj in doc.Objects if
obj.isDerivedFrom("Part::Part2DObject") and hasattr(obj, "FontFile")]
for obj in fonts:
font_file_property = obj.getPropertyByName('FontFile')
new_font_file = os.path.join(font_folder, os.path.split(font_file_property)[1])
if not os.path.isfile(new_font_file):
raise FileNotFoundError(f"Cannot find font file {new_font_file}")
if new_font_file != font_file_property:
print(f"\tCorrected '{obj.Label}' font file name from {font_file_property}")
setattr(obj, "FontFile", new_font_file)
obj.touch()
# Recompute the model to ensure its valid and does not contain broken references or edges
# Mark each object as "changed"
for obj in doc.Objects:
obj.touch()
# Recompute the entire document
t0 = time.perf_counter()
doc.recompute(None, True, True)
t1 = time.perf_counter()
total = t1 - t0
print(f"\tRecompute of model took {total:3f}s")
# Now check for any invalid shapes
# for obj in doc.Objects:
# if 'Invalid' in obj.State:
# raise Exception(f"Shape '{obj.Name}' in model '{cad_file.name}' is invalid")
shape = body.Shape.copy(False)
print_planes = [obj for obj in doc.Objects if obj.Label == "PrintPlane"]
if print_planes:
plane = print_planes[0]
matrix = plane.Placement.Matrix.inverse()
matrix.rotateX(math.pi)
shape = shape.transformShape(matrix)
# Very useful debug info if shape orientation gets funky
# print(f"\t\tShape Placement: {shape.Placement}")
# print(f"\t\tPlane Placement: {plane.Placement}")
# print(f"\t\tPlane Offset: {plane.AttachmentOffset}")
# print(f"\t\tMin X: {round(min(v.Point.x for v in shape.Vertexes), 2)}")
# print(f"\t\tMax X: {round(max(v.Point.x for v in shape.Vertexes), 2)}")
# print(f"\t\tMin Y: {round(min(v.Point.y for v in shape.Vertexes), 2)}")
# print(f"\t\tMax Y: {round(max(v.Point.y for v in shape.Vertexes), 2)}")
# print(f"\t\tMin Z: {round(min(v.Point.z for v in shape.Vertexes), 2)}")
# print(f"\t\tMax Z: {round(max(v.Point.z for v in shape.Vertexes), 2)}")
else:
print(f"\tWarning, missing PrintPlane object in file {cad_file.name}")
# Delete any STL files with similar names (to cater for increments in version number)
delete_files = Path('stl-export').glob(name[0:9] + '??.stl')
for to_delete in delete_files:
print(f"\tDeleting previous STL model {to_delete}")
os.remove(to_delete)
# Generate STL
mesh = doc.addObject("Mesh::Feature", "Mesh")
mesh.Mesh = MeshPart.meshFromShape(Shape=shape, LinearDeflection=0.01, AngularDeflection=0.025, Relative=False)
mesh.Mesh.write("stl-export/" + name + ".stl")
FreeCAD.closeDocument(doc.Name)
print(f"\tGenerated file 3D-Prints/{name}.stl")
if __name__ == '__main__':
# Create output folder if needed
output_directory = Path('stl-export')
output_directory.mkdir(parents=True, exist_ok=True)
fdm_path = Path('../../../cad/FDM')
exceptions: List[Exception] = []
# Use command line supplied file list if we have one
files = []
for p in sys.argv[1:]:
# Strip any folder names from parameter and assume it's a file in FDM folder
files.append(fdm_path.joinpath(Path(Path(p).name)))
# If no command line, scan the folder
if len(files) == 0:
files = sorted(fdm_path.glob('*.FCStd'))
for f in files:
try:
process_file(f)
except Exception as ex:
print(f"****")
print(f"\tAn error occurred while processing {str(f)}:")
print(f"\t{ex}")
traceback.print_exc()
print(f"****")
exceptions.append(ex)
if exceptions:
verb = "was" if len(exceptions) == 1 else "were"
noun = "exception" if len(exceptions) == 1 else "exceptions"
print(f"There {verb} {len(exceptions)} {noun}")
assert len(exceptions) == 0

View File

@@ -0,0 +1,42 @@
#
# Exports 3D STL files to a static image for documentation
#
import glob
import subprocess
import os
import sys
dirName = "Feeder-" + sys.argv[1] + "/img"
if not os.path.exists(dirName):
os.mkdir(dirName)
print("Directory " , dirName , " Created ")
else:
print("Directory " , dirName , " already exists")
for name in glob.glob(".github/workflows/scripts/stl-export/*.stl"):
print(name)
file=os.path.abspath(name)
f = open("./render_image.scad", "w")
f.write("import(\"")
f.write(file)
f.write("\", convexity=3);")
f.close()
base = os.path.splitext(file)[0]
base = dirName + "/" + os.path.basename(name)
base = base[:-4]
print(base)
head, sep, tail = base.partition('_')
base = head
subprocess.call(["openscad","-o",base+".png", "--quiet", "--render", "--projection=o", "--viewall","--colorscheme","BeforeDawn", "--imgsize", "512,512", "--hardwarnings", "./render_image.scad" ])
#subprocess.call(["/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD","-o",base+".png", "--quiet", "--render", "--projection=o", "--viewall","--colorscheme","BeforeDawn", "--imgsize", "512,512", "--hardwarnings", "./render_image.scad" ])
if os.path.exists("./render_image.scad"):
os.remove("./render_image.scad")

View File

@@ -0,0 +1,144 @@
# Example KiPlot config file
kibot:
version: 1
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
preflight:
# Disable ERC for now while GPereira updates these items.
run_erc: false
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'ibom'
comment: 'Interactive Bill of Materials'
type: ibom
dir: ibom
- name: 'bom'
comment: 'Bill of Materials'
type: bom
dir: .
options:
csv:
hide_pcb_info: true
hide_stats_info: true
format: CSV
- name: 'html_bom'
comment: 'HTML BOM'
type: bom
dir: .
options:
html:
datasheet_as_link: Datasheet
digikey_link: Digikey
title: 'Bill of Materials'
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
#removing to prevent ci from hanging while exporting pdf
# - name: 'print_front'
# comment: "Print F.Cu+Dwgs.User"
# type: pdf_pcb_print
# dir: .
# options:
# output_name: PCB.pdf
# separated: true
# layers:
# - layer: F.Cu
# description: 'Front Copper'
# - layer: B.Cu
# description: 'Back Copper'
# - layer: F.SilkS
# description: 'Front Silk'
# - layer: B.SilkS
# description: 'Rear Silk'
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .

View File

@@ -0,0 +1,175 @@
# Example KiPlot config file
kibot:
version: 1
filters:
- name: only_jlc_parts
comment: 'Only parts with JLC code'
type: 'generic'
include_only:
- column: 'JLCPCB'
regex: '^C\d+'
- name: fix_rotation
comment: 'Adjust rotation for JLC'
type: rot_footprint
rotations:
- ["^TI_SO-", 270.0]
- ["^SO-", 270.0]
- ["^HTSSOP-", 270.0]
- ["^SSOP-", 270.0]
- ["^MSOP-", 270.0]
- ["^USB_C_Receptacle_Palconn", 180.0]
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
- name: jlcpcb
comment: 'JLCPCB requires some rotational transforms'
type: kibom
variant: jlcpcb
pre_transform: fix_rotation
preflight:
run_erc: true
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'ibom'
comment: 'Interactive Bill of Materials'
type: ibom
dir: ibom
- name: 'bom'
comment: 'Bill of Materials'
type: bom
dir: .
options:
csv:
hide_pcb_info: true
hide_stats_info: true
format: CSV
- name: 'html_bom'
comment: 'HTML BOM'
type: bom
dir: .
options:
html:
datasheet_as_link: Datasheet
digikey_link: Digikey
title: 'Index MOBO Bill of Materials'
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
# removing to prevent ci from hanging from long export time
# - name: 'print_front'
# comment: "Print F.Cu+Dwgs.User"
# type: pdf_pcb_print
# dir: .
# options:
# output_name: PCB.pdf
# separated: true
# layers:
# - layer: F.Cu
# description: 'Front Copper'
# - layer: In1.Cu
# description: 'Layer 2'
# - layer: In2.Cu
# description: 'Layer 3'
# - layer: B.Cu
# description: 'Back Copper'
# - layer: F.SilkS
# description: 'Front Silk'
# - layer: B.SilkS
# description: 'Rear Silk'
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: In1.Cu
suffix: G2L
- layer: In2.Cu
suffix: G3L
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .

View File

@@ -0,0 +1,95 @@
# Example KiPlot config file
kibot:
version: 1
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
preflight:
# Disable ERC for now while GPereira updates these items.
run_erc: false
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .

View File

@@ -0,0 +1,229 @@
# Example KiPlot config file
kibot:
version: 1
filters:
- name: only_jlc_parts
comment: 'Only parts with JLC code'
type: 'generic'
include_only:
- column: 'JLCPCB'
regex: '^C\d+'
- name: fix_rotation
comment: 'Adjust rotation for JLC'
type: rot_footprint
rotations:
- ["^TI_SO-", 270.0]
- ["^SO-", 270.0]
- ["^HTSSOP-", 270.0]
global:
variant: default
variants:
- name: default
comment: 'Just a place holder for the rotation filter'
type: kibom
variant: default
- name: jlcpcb
comment: 'JLCPCB requires some rotational transforms'
type: kibom
variant: jlcpcb
pre_transform: fix_rotation
preflight:
# Disable ERC for now while GPereira updates these items.
run_erc: false
update_xml: true
# Disable DRC for now while GPereira updates these items.
run_drc: false
check_zone_fills: true
ignore_unconnected: false
outputs:
- name: 'ibom'
comment: 'Interactive Bill of Materials'
type: ibom
dir: ibom
- name: 'bom'
comment: 'Bill of Materials'
type: bom
dir: .
options:
csv:
hide_pcb_info: true
hide_stats_info: true
format: CSV
- name: 'html_bom'
comment: 'HTML BOM'
type: bom
dir: .
options:
html:
datasheet_as_link: Datasheet
digikey_link: Digikey
title: 'Index MOBO Bill of Materials'
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
options:
output: Schematic.pdf
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
options:
output_name: PCB.pdf
separated: true
layers:
- layer: F.Cu
description: 'Front Copper'
- layer: B.Cu
description: 'Back Copper'
- layer: F.SilkS
description: 'Front Silk'
- layer: B.SilkS
description: 'Rear Silk'
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: false
use_gerber_net_attributes: false
output: '%f.%i'
layers:
# When Moving to Four Layer, Set G2L and G3L as the suffixes
- layer: F.Cu
suffix: GTL
- layer: B.Cu
suffix: GBL
- layer: F.SilkS
suffix: GTO
- layer: B.SilkS
suffix: GBO
- layer: F.Mask
suffix: GTS
- layer: B.Mask
suffix: GBS
- layer: Edge.Cuts
suffix: GKO
- layer: F.Paste
suffix: GTP
- layer: B.Paste
suffix: GBP
- name: 'drill_file'
comment: 'Drill file for Board House'
type: excellon
dir: gerbers
options:
metric_units: false
pth_and_npth_single_file: true
- name: board_top
comment: "Top layer view"
type: pcbdraw
dir: .
options:
format: png
show_components: all
style:
board: '#242424'
copper: '#404040'
silk: '#ffffff'
pads: '#bfbfbf'
- name: board_bottom
comment: "Bottom layer view"
type: pcbdraw
dir: .
options:
format: png
bottom: true
show_components: all
style:
board: '#242424'
copper: '#404040'
silk: '#ffffff'
pads: '#bfbfbf'
- name: 'pick_and_place_file'
comment: 'Pick and Place Location File'
type: position
dir: gerbers
options:
format: CSV
- name: 'bom_jlc'
comment: "BoM for JLC"
type: bom
options:
output: '%f_bom_jlc.%x'
# exclude_filter: only_jlc_parts
ref_separator: ','
columns:
- field: Value
name: Comment
- field: References
name: Designator
- field: Footprint
name: Footprint
- field: JLCPCB
name: 'LCSC Part #'
csv:
hide_pcb_info: true
hide_stats_info: true
quote_all: true
- name: 'pick_and_place_jlc'
comment: 'Pick and place file, JLC style'
type: position
options:
output: '%f_cpl_jlc.%x'
format: CSV
units: millimeters
separate_files_for_front_and_back: false
only_smd: true
variant: jlcpcb
columns:
- id: Ref
name: Designator
- id: PosX
name: "Mid X"
- id: PosY
name: "Mid Y"
- id: Side
name: Layer
- id: Rot
name: Rotation
- name: 'step_file'
comment: 'STEP file generation'
type: step
dir: .

8
.gitignore vendored
View File

@@ -1,11 +1,3 @@
# STM32CubeIDE build and metadata
code/Debug/
code/Release/
code/.metadata/
code/.settings/
code/.claude/
code/nul
# For PCBs designed using KiCad: http://www.kicad-pcb.org/
# Format documentation: http://kicad-pcb.org/help/file-formats/
.DS_Store

View File

@@ -48,6 +48,12 @@ The third reason is that with an encoder, we can move arbitrary distances. With
However, this all assumes that the encoder on the output wheel is comprised of a slotted PCB with a reflective sensor. Very thin encoder wheels and sensors exist, and might be a reasonable option for feeder tape positioning. We decided against this approach due to the lower resolution, cost, and likely need for customization that would make homebrew builds more difficult. They're also susceptible to errors due to light bleed.
### Why glue the shaft collar to the Drive Wheel?
Ideally, affixing the shaft collar to the Drive Wheel uses mechanical coupling, as glue can be finicky. We tried a screw-affixed design, but in order to have the screws fit without hitting the motor the PCB needed to be countersunk. That countersink added a bump to the opposite side of the board. When the shaft collar was mounted to it, we saw a very high sinusoidal variation in the tape position throughout the rotation of the wheel because the collar and wheel weren't coplanar anymore. Glue ended up being the most consistent approach in terms of tape positional accuracy.
We used to have a D-shaft cutout in the center of the wheel, we found that it was over-constraining the glueing process so we removed it. If we're going to glue, we should reference it to the outer profile of the teeth as much as possible, which is really what matters in this application.
## Peel Subsystem
The Peel Subsystem is comprised of a standard N20 motor with a 1:210 gear ratio, with a printed worm gear attached to the output shaft. This worm gear interfaces with a gearbox used for peeling the film. The two straight gears that perform the peeling are mounted with a positive interface, ensuring the frame holding them in place is constantly applying pressure between them. This interface is what grips the film and pulls it away from the tape.
@@ -146,21 +152,3 @@ An STM32F031C6T6 was chosen for the feeder's microcontroller. There were a few r
As a bonus, the chip's sibling, the STM32F031K6U6, has the same die as the C6T6 but with a smaller package. This means that by using the smaller chip's GPIO count as a constraint, we have a binary-compatible drop in replacement part to help alleviate availability issues.
Although a separate EEPROM chip or a software-defined UUID could solve the same problem as having a factory-burned UUID, having it in the chip prevents UUID erasure upon reprogramming, and fewer parts in the BOM.
## ID Fiducial Board
There's a small board on the nose of the feeder with three fiducials on it. The center one is for identifying location, and the other, smaller fiducials on either side identify what type of feeder it is.
**This is not currently used. This board was shipped with all feeder hardware to support potential future features.**
### Can it be used for setting pick position?
It could be used for *generalized* pick position. In general, there's too much variability in the precise placement of the PCB in the print from human error and print defects. If OpenPnP can scan for the fiducial and then apply a general offset to find the broad pick position, computer vision can find the precise pick position, provided it's paper tape. Plastic tape would likely need the precise pick position set manually.
### Can it be used for identifying feeder width?
Absolutely! The distance the two smaller fiducials are away from the larger centered one encodes what feeder type, or width, it is. Ideally the firmware image is the same across feeder widths, and it can't hurt to have the fiducial encode that information. OpenPnP doesn't actually care that much what width a feeder is if the fiducial <-> pick position offset is set correctly.
### Can it be used for setting slot location?
It can, but it might not be useful in most circumstances. In a world where slots are always mounted in the same location, OpenPnP could always know where the slot locations are on a LumenPnP. However, if builders have a different slot setup, or folks trying to squeeze out every last mm of feeder space are adjusting their slot locations to accommodate wider feeders, it could be useful. OpenPnP could use vision across a given Y position and in conjunction with the slot addresses of the feeders it found over RS485, automatically set slot positions.

675
LICENSE
View File

@@ -1,17 +1,674 @@
# Opulo LumenPnP Feeder License and Copyright Notices
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
LumenPnP is (c) by Opulo
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This notice must be included in any distributions of this project or derivative works.
Preamble
Because this project consists of many types of source, individual parts of the project are made available under different licenses.
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
1. The hardware designs located at `./cad` and `./pcb` are available under the CERN-OHL-W v2 license. Full text is available at https://cern.ch/cern-ohl.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
2. The software located at `./.github/workflows` is available under Mozilla MPL v2.0. Full text is available at https://www.mozilla.org/en-US/MPL/2.0/.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
3. The KiCAD libraries located at `./lib/kicad/` are available under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Full text available at https://creativecommons.org/licenses/by-sa/4.0/
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
4. Opulo's logo, branding, and other media is used throughout this project. This is Copyright (c) Opulo and all rights are reserved. You may not distribute derivative works or products bearing the Opulo logo, icon, or other relevant mark. Derivative works should remove Opulo branding.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
5. The name `Opulo` and `LumenPnP` are trademarked, and only to be used by Opulo. Any derivative works should remove both marks.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

Binary file not shown.

34
bom.csv
View File

@@ -1,22 +1,28 @@
Part Name,Image,Quantity,Part Type,Source 1,Source 2,Optional,Note
frame-8,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
frame,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
drive-motor-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
drive-motor-cover,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
peel-gear-frame-8-12,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
peel-gear-frame,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
peel-gear,,2,FDM,Download all 3D printed parts at the link at the top of the page.,,,
peel-worm-gear,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
release-lever,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
spool-holder,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
thimble,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
tape-guide,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,Yes,Replaces the spool arm and thimble. Used to guide tape into feeder for spools mounted beneath the machine.
PLA-filament ,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/filament.png?v=1686314492,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg.
M3x14mm-flat-head,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/M3x14mm.png?v=1686314903,3,FST,https://www.mcmaster.com/91294A133/,,,
M3x12mm-self-tapping-flat-head,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/M3x12-self-tapping-flat-head.png?v=1686314903,11,FST,https://www.mcmaster.com/95893A403/,,,
feeder-compression-spring,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/feeder-compression-spring.png?v=1691004799,1,MISC,https://www.leespring.com/compression-springs?search=LC026C06M,,,
mobo,,1,PCA,,,,Click link above to download source
drive-wheel,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/drive-wheel.png?v=1736458393,1,MISC,https://www.opulo.io/products/feeder-part-kit,,,Click link above to download source - This is made out of tumbled laser cut brass
light-diffusion,,1,PCB,,,,Click link above to download source
photon-8mm-fid,,1,PCB,,,,Click link above to download source
n20-motor,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/peel-motor.png?v=1736457933,1,MISC,https://www.opulo.io/products/feeder-part-kit,https://www.servocity.com/110-rpm-micro-gear-motor/,,1:210 gear ratio.
right-angle-n20,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/drive-motor_b5743809-ea03-461a-ab2a-760804040bd6.png?v=1736458345,1,MISC,https://www.opulo.io/products/feeder-part-kit,https://www.aliexpress.us/item/3256805361367595.html,,14-tick per revolution encoder. 1:1030 gear ratio gearbox.
shaft-collar,https://cdn.shopify.com/s/files/1/0570/4256/7355/files/shaft-collar.jpg?v=1686329653,1,MISC,https://www.opulo.io/products/feeder-part-kit,https://www.amazon.com/gp/product/B01EA912P8,,
slot-bracket,,1,FDM,Download all 3D printed parts at the link at the top of the page.,,,
"PLA-filament ",https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg,1.2,FIL,https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs),,,Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
M3-hex-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/905/90592A085p1-b01-digitall@4x_636713274654410000.png?ver=ImageNotFound,8,FST,https://www.mcmaster.com/90592A085/,,,ISO4032
M5-t-slot-nut,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound,1,FST,https://www.mcmaster.com/94645A102/,,,
M3x12mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A181p1-b01-digitall@2x_636621119072096469.png,2,FST,https://www.mcmaster.com/91294A132/,,,
M3x14mm-flat-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A168p1-b01-digitall@2x_636621121852034289.png,2,FST,https://www.mcmaster.com/91294A133/,,,
M3x15mm-flat-head,https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/912/91292a115-@4x_637619456157301135.png,9,FST,https://www.mcmaster.com/92125A103/,,,
M5x10mm-socket-head,https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png,1,FST,https://www.mcmaster.com/90128A234/,,,ISO4762
mobo,,1,PCA,,,,"Click link above to download source. 1.6mm PCB, 2 layer, Black Soldermask, White Silkscreen, ENIG "
slot,,1,PCA,,,,"Click link above to download source. 1.6mm PCB, 2, layer, Black Soldermask, White Silkscreen, ENIG"
drive-wheel,,1,PCB,,,,"Click link above to download source. 1mm PCB, 2 layer, Any Color Soldermask, White Silkscreen, ENIG"
light-diffusion,,1,PCB,,,,"Click link above to download source. 0.6mm PCB, 2 layer, Matte Black Soldermask. Board has no silkscreen or copper. Only soldermask on the front and back."
photon-8mm-fid,,1,PCB,,,,"Click link above to download source. 1mm PCB, 2 layer, Matte Black Soldermask, White Silkscreen, ENIG"
slot-harness,,1,CHA,,,,Click link above to download source
spring,https://www.leespring.com/sites/default/files/inline-images/226%C3%97113_Compression_HomePage_2.jpg,1,MISC,https://www.leespring.com/compression-springs?search=LC026C06M,,,
n20-motor,https://www.makerfabs.com/image/cache/makerfabs/N20%20DC%20Gear%20Motor/N20%20DC%20Gear%20Motor_3-1000x750.jpg,4,MISC,https://www.servocity.com/110-rpm-micro-gear-motor/,,,1:210 gear ratio.
right-angle-n20,https://sharvielectronics.com/wp-content/uploads/2022/06/N20-3V-50-RPM-Micro-Metal-Gear-Motor-With-Encoder_-Sharvielectronics.jpg,2,MISC,https://www.aliexpress.com/w/wholesale-worm-n20-encoder.html?catId=0&initiative_id=SB_20230324123628&SearchText=worm+n20+encoder,,,14-tick per revolution encoder. 1:1030 gear ratio gearbox.
shaft-collar,https://m.media-amazon.com/images/I/51dc5w8vG5L._AC_.jpg,2,MISC,https://www.amazon.com/gp/product/B01EA912P8/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8,,,
1 Part Name Image Quantity Part Type Source 1 Source 2 Optional Note
2 frame-8 frame 1 FDM Download all 3D printed parts at the link at the top of the page.
3 drive-motor-bracket 1 FDM Download all 3D printed parts at the link at the top of the page.
4 drive-motor-cover 1 FDM Download all 3D printed parts at the link at the top of the page.
5 peel-gear-frame-8-12 peel-gear-frame 1 FDM Download all 3D printed parts at the link at the top of the page.
6 peel-gear 2 FDM Download all 3D printed parts at the link at the top of the page.
7 peel-worm-gear 1 FDM Download all 3D printed parts at the link at the top of the page.
8 release-lever 1 FDM Download all 3D printed parts at the link at the top of the page.
9 spool-holder 1 FDM Download all 3D printed parts at the link at the top of the page.
10 thimble 1 FDM Download all 3D printed parts at the link at the top of the page.
11 tape-guide slot-bracket 1 FDM Download all 3D printed parts at the link at the top of the page. Yes Replaces the spool arm and thimble. Used to guide tape into feeder for spools mounted beneath the machine.
12 PLA-filament https://cdn.shopify.com/s/files/1/0570/4256/7355/files/filament.png?v=1686314492 https://90a1c75758623581b3f8-5c119c3de181c9857fcb2784776b17ef.ssl.cf2.rackcdn.com/611532_989269_03_front_zoom.jpg 1.2 FIL https://www.microcenter.com/product/611532/inland-175mm-black-pla-3d-printer-filament-1kg-spool-(22-lbs) Units in kg. Units in kg. Print both nozzle-rack and 2x z-gantry in a black color. Print top-light-mount and bottom-light-mount in a white color.
13 M3x14mm-flat-head M3-hex-nut https://cdn.shopify.com/s/files/1/0570/4256/7355/files/M3x14mm.png?v=1686314903 https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/905/90592A085p1-b01-digitall@4x_636713274654410000.png?ver=ImageNotFound 3 8 FST https://www.mcmaster.com/91294A133/ https://www.mcmaster.com/90592A085/ ISO4032
14 M3x12mm-self-tapping-flat-head M5-t-slot-nut https://cdn.shopify.com/s/files/1/0570/4256/7355/files/M3x12-self-tapping-flat-head.png?v=1686314903 https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/946/94645a102-@1x_637691238154449529.png?ver=ImageNotFound 11 1 FST https://www.mcmaster.com/95893A403/ https://www.mcmaster.com/94645A102/
15 feeder-compression-spring M3x12mm-flat-head https://cdn.shopify.com/s/files/1/0570/4256/7355/files/feeder-compression-spring.png?v=1691004799 https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A181p1-b01-digitall@2x_636621119072096469.png 1 2 MISC FST https://www.leespring.com/compression-springs?search=LC026C06M https://www.mcmaster.com/91294A132/
16 mobo M3x14mm-flat-head https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/920/92095A168p1-b01-digitall@2x_636621121852034289.png 1 2 PCA FST https://www.mcmaster.com/91294A133/ Click link above to download source
17 drive-wheel M3x15mm-flat-head https://cdn.shopify.com/s/files/1/0570/4256/7355/files/drive-wheel.png?v=1736458393 https://www.mcmaster.com/mvC/Contents/gfx/ImageCache/912/91292a115-@4x_637619456157301135.png 1 9 MISC FST https://www.opulo.io/products/feeder-part-kit https://www.mcmaster.com/92125A103/ Click link above to download source - This is made out of tumbled laser cut brass
18 light-diffusion M5x10mm-socket-head https://www.mcmaster.com/mvD/Contents/gfx/ImageCache/901/90128a234-@4x_637648793587366175.png 1 PCB FST https://www.mcmaster.com/90128A234/ Click link above to download source ISO4762
19 photon-8mm-fid mobo 1 PCB PCA Click link above to download source Click link above to download source. 1.6mm PCB, 2 layer, Black Soldermask, White Silkscreen, ENIG
20 n20-motor slot https://cdn.shopify.com/s/files/1/0570/4256/7355/files/peel-motor.png?v=1736457933 1 MISC PCA https://www.opulo.io/products/feeder-part-kit https://www.servocity.com/110-rpm-micro-gear-motor/ 1:210 gear ratio. Click link above to download source. 1.6mm PCB, 2, layer, Black Soldermask, White Silkscreen, ENIG
21 right-angle-n20 drive-wheel https://cdn.shopify.com/s/files/1/0570/4256/7355/files/drive-motor_b5743809-ea03-461a-ab2a-760804040bd6.png?v=1736458345 1 MISC PCB https://www.opulo.io/products/feeder-part-kit https://www.aliexpress.us/item/3256805361367595.html 14-tick per revolution encoder. 1:1030 gear ratio gearbox. Click link above to download source. 1mm PCB, 2 layer, Any Color Soldermask, White Silkscreen, ENIG
22 shaft-collar light-diffusion https://cdn.shopify.com/s/files/1/0570/4256/7355/files/shaft-collar.jpg?v=1686329653 1 MISC PCB https://www.opulo.io/products/feeder-part-kit https://www.amazon.com/gp/product/B01EA912P8 Click link above to download source. 0.6mm PCB, 2 layer, Matte Black Soldermask. Board has no silkscreen or copper. Only soldermask on the front and back.
23 photon-8mm-fid 1 PCB Click link above to download source. 1mm PCB, 2 layer, Matte Black Soldermask, White Silkscreen, ENIG
24 slot-harness 1 CHA Click link above to download source
25 spring https://www.leespring.com/sites/default/files/inline-images/226%C3%97113_Compression_HomePage_2.jpg 1 MISC https://www.leespring.com/compression-springs?search=LC026C06M
26 n20-motor https://www.makerfabs.com/image/cache/makerfabs/N20%20DC%20Gear%20Motor/N20%20DC%20Gear%20Motor_3-1000x750.jpg 4 MISC https://www.servocity.com/110-rpm-micro-gear-motor/ 1:210 gear ratio.
27 right-angle-n20 https://sharvielectronics.com/wp-content/uploads/2022/06/N20-3V-50-RPM-Micro-Metal-Gear-Motor-With-Encoder_-Sharvielectronics.jpg 2 MISC https://www.aliexpress.com/w/wholesale-worm-n20-encoder.html?catId=0&initiative_id=SB_20230324123628&SearchText=worm+n20+encoder 14-tick per revolution encoder. 1:1030 gear ratio gearbox.
28 shaft-collar https://m.media-amazon.com/images/I/51dc5w8vG5L._AC_.jpg 2 MISC https://www.amazon.com/gp/product/B01EA912P8/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cad/FDM/frame.FCStd Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cad/FDM/slot-bracket.FCStd Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
cad/diffusor.FCStd Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

BIN
cad/rail.FCStd Normal file

Binary file not shown.

Binary file not shown.

531
cad/right-angle-n20.step Normal file
View File

@@ -0,0 +1,531 @@
ISO-10303-21;
HEADER;
/* Generated by software containing ST-Developer
* from STEP Tools, Inc. (www.steptools.com)
*/
FILE_DESCRIPTION(
/* description */ (''),
/* implementation_level */ '2;1');
FILE_NAME(
/* name */ '/Users/stephen/feeder/cad/rev06/right-angle-n20.step',
/* time_stamp */ '2022-07-08T14:54:03-04:00',
/* author */ (''),
/* organization */ (''),
/* preprocessor_version */ 'ST-DEVELOPER v19',
/* originating_system */ 'Autodesk Translation Framework v11.7.0.108',
/* authorisation */ '');
FILE_SCHEMA (('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
ENDSEC;
DATA;
#10=MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION('',(#13),#444);
#11=SHAPE_REPRESENTATION_RELATIONSHIP('SRR','None',#451,#12);
#12=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#14),#443);
#13=STYLED_ITEM('',(#461),#14);
#14=MANIFOLD_SOLID_BREP('Body1',#258);
#15=FACE_BOUND('',#53,.T.);
#16=PLANE('',#276);
#17=PLANE('',#277);
#18=PLANE('',#278);
#19=PLANE('',#279);
#20=PLANE('',#280);
#21=PLANE('',#285);
#22=PLANE('',#287);
#23=PLANE('',#288);
#24=PLANE('',#289);
#25=PLANE('',#290);
#26=PLANE('',#291);
#27=PLANE('',#292);
#28=PLANE('',#295);
#29=FACE_OUTER_BOUND('',#45,.T.);
#30=FACE_OUTER_BOUND('',#46,.T.);
#31=FACE_OUTER_BOUND('',#47,.T.);
#32=FACE_OUTER_BOUND('',#48,.T.);
#33=FACE_OUTER_BOUND('',#49,.T.);
#34=FACE_OUTER_BOUND('',#50,.T.);
#35=FACE_OUTER_BOUND('',#51,.T.);
#36=FACE_OUTER_BOUND('',#52,.T.);
#37=FACE_OUTER_BOUND('',#54,.T.);
#38=FACE_OUTER_BOUND('',#55,.T.);
#39=FACE_OUTER_BOUND('',#56,.T.);
#40=FACE_OUTER_BOUND('',#57,.T.);
#41=FACE_OUTER_BOUND('',#58,.T.);
#42=FACE_OUTER_BOUND('',#59,.T.);
#43=FACE_OUTER_BOUND('',#60,.T.);
#44=FACE_OUTER_BOUND('',#61,.T.);
#45=EDGE_LOOP('',(#173,#174,#175,#176,#177));
#46=EDGE_LOOP('',(#178,#179,#180,#181));
#47=EDGE_LOOP('',(#182,#183,#184,#185));
#48=EDGE_LOOP('',(#186,#187,#188));
#49=EDGE_LOOP('',(#189,#190,#191));
#50=EDGE_LOOP('',(#192,#193,#194,#195));
#51=EDGE_LOOP('',(#196,#197,#198,#199,#200));
#52=EDGE_LOOP('',(#201,#202,#203,#204,#205,#206));
#53=EDGE_LOOP('',(#207));
#54=EDGE_LOOP('',(#208,#209,#210,#211,#212,#213));
#55=EDGE_LOOP('',(#214,#215,#216,#217,#218));
#56=EDGE_LOOP('',(#219,#220,#221));
#57=EDGE_LOOP('',(#222,#223,#224));
#58=EDGE_LOOP('',(#225,#226,#227,#228));
#59=EDGE_LOOP('',(#229,#230,#231,#232,#233));
#60=EDGE_LOOP('',(#234,#235,#236,#237));
#61=EDGE_LOOP('',(#238));
#62=CIRCLE('',#273,6.);
#63=CIRCLE('',#274,6.);
#64=CIRCLE('',#275,6.);
#65=CIRCLE('',#281,6.);
#66=CIRCLE('',#283,6.);
#67=CIRCLE('',#284,6.);
#68=CIRCLE('',#286,1.5);
#69=CIRCLE('',#294,1.5);
#70=LINE('',#375,#95);
#71=LINE('',#381,#96);
#72=LINE('',#385,#97);
#73=LINE('',#387,#98);
#74=LINE('',#388,#99);
#75=LINE('',#391,#100);
#76=LINE('',#393,#101);
#77=LINE('',#394,#102);
#78=LINE('',#397,#103);
#79=LINE('',#398,#104);
#80=LINE('',#401,#105);
#81=LINE('',#402,#106);
#82=LINE('',#411,#107);
#83=LINE('',#413,#108);
#84=LINE('',#415,#109);
#85=LINE('',#416,#110);
#86=LINE('',#422,#111);
#87=LINE('',#423,#112);
#88=LINE('',#425,#113);
#89=LINE('',#426,#114);
#90=LINE('',#428,#115);
#91=LINE('',#430,#116);
#92=LINE('',#432,#117);
#93=LINE('',#434,#118);
#94=LINE('',#438,#119);
#95=VECTOR('',#300,1.);
#96=VECTOR('',#305,1.);
#97=VECTOR('',#310,1.);
#98=VECTOR('',#311,1.);
#99=VECTOR('',#312,1.);
#100=VECTOR('',#315,1.);
#101=VECTOR('',#316,1.);
#102=VECTOR('',#317,1.);
#103=VECTOR('',#320,1.);
#104=VECTOR('',#321,1.);
#105=VECTOR('',#324,1.);
#106=VECTOR('',#325,1.);
#107=VECTOR('',#338,1.);
#108=VECTOR('',#339,1.);
#109=VECTOR('',#340,1.);
#110=VECTOR('',#341,1.);
#111=VECTOR('',#346,1.);
#112=VECTOR('',#347,1.);
#113=VECTOR('',#348,1.);
#114=VECTOR('',#349,1.);
#115=VECTOR('',#352,1.);
#116=VECTOR('',#355,1.);
#117=VECTOR('',#358,1.);
#118=VECTOR('',#361,1.);
#119=VECTOR('',#366,1.5);
#120=VERTEX_POINT('',#373);
#121=VERTEX_POINT('',#374);
#122=VERTEX_POINT('',#376);
#123=VERTEX_POINT('',#378);
#124=VERTEX_POINT('',#380);
#125=VERTEX_POINT('',#384);
#126=VERTEX_POINT('',#386);
#127=VERTEX_POINT('',#390);
#128=VERTEX_POINT('',#392);
#129=VERTEX_POINT('',#396);
#130=VERTEX_POINT('',#400);
#131=VERTEX_POINT('',#406);
#132=VERTEX_POINT('',#410);
#133=VERTEX_POINT('',#412);
#134=VERTEX_POINT('',#414);
#135=VERTEX_POINT('',#417);
#136=VERTEX_POINT('',#420);
#137=VERTEX_POINT('',#421);
#138=VERTEX_POINT('',#424);
#139=VERTEX_POINT('',#437);
#140=EDGE_CURVE('',#120,#121,#70,.T.);
#141=EDGE_CURVE('',#120,#122,#62,.T.);
#142=EDGE_CURVE('',#122,#123,#63,.T.);
#143=EDGE_CURVE('',#123,#124,#71,.T.);
#144=EDGE_CURVE('',#121,#124,#64,.T.);
#145=EDGE_CURVE('',#121,#125,#72,.T.);
#146=EDGE_CURVE('',#126,#125,#73,.T.);
#147=EDGE_CURVE('',#120,#126,#74,.T.);
#148=EDGE_CURVE('',#123,#127,#75,.T.);
#149=EDGE_CURVE('',#127,#128,#76,.T.);
#150=EDGE_CURVE('',#124,#128,#77,.T.);
#151=EDGE_CURVE('',#122,#129,#78,.T.);
#152=EDGE_CURVE('',#129,#120,#79,.T.);
#153=EDGE_CURVE('',#130,#122,#80,.T.);
#154=EDGE_CURVE('',#123,#130,#81,.T.);
#155=EDGE_CURVE('',#128,#125,#65,.T.);
#156=EDGE_CURVE('',#127,#131,#66,.T.);
#157=EDGE_CURVE('',#131,#126,#67,.T.);
#158=EDGE_CURVE('',#129,#132,#82,.T.);
#159=EDGE_CURVE('',#126,#133,#83,.T.);
#160=EDGE_CURVE('',#133,#134,#84,.T.);
#161=EDGE_CURVE('',#132,#134,#85,.T.);
#162=EDGE_CURVE('',#135,#135,#68,.T.);
#163=EDGE_CURVE('',#136,#137,#86,.T.);
#164=EDGE_CURVE('',#136,#127,#87,.T.);
#165=EDGE_CURVE('',#130,#138,#88,.T.);
#166=EDGE_CURVE('',#137,#138,#89,.T.);
#167=EDGE_CURVE('',#138,#132,#90,.T.);
#168=EDGE_CURVE('',#131,#136,#91,.T.);
#169=EDGE_CURVE('',#133,#131,#92,.T.);
#170=EDGE_CURVE('',#134,#137,#93,.T.);
#171=EDGE_CURVE('',#135,#139,#94,.T.);
#172=EDGE_CURVE('',#139,#139,#69,.T.);
#173=ORIENTED_EDGE('',*,*,#140,.F.);
#174=ORIENTED_EDGE('',*,*,#141,.T.);
#175=ORIENTED_EDGE('',*,*,#142,.T.);
#176=ORIENTED_EDGE('',*,*,#143,.T.);
#177=ORIENTED_EDGE('',*,*,#144,.F.);
#178=ORIENTED_EDGE('',*,*,#140,.T.);
#179=ORIENTED_EDGE('',*,*,#145,.T.);
#180=ORIENTED_EDGE('',*,*,#146,.F.);
#181=ORIENTED_EDGE('',*,*,#147,.F.);
#182=ORIENTED_EDGE('',*,*,#143,.F.);
#183=ORIENTED_EDGE('',*,*,#148,.T.);
#184=ORIENTED_EDGE('',*,*,#149,.T.);
#185=ORIENTED_EDGE('',*,*,#150,.F.);
#186=ORIENTED_EDGE('',*,*,#151,.F.);
#187=ORIENTED_EDGE('',*,*,#141,.F.);
#188=ORIENTED_EDGE('',*,*,#152,.F.);
#189=ORIENTED_EDGE('',*,*,#153,.F.);
#190=ORIENTED_EDGE('',*,*,#154,.F.);
#191=ORIENTED_EDGE('',*,*,#142,.F.);
#192=ORIENTED_EDGE('',*,*,#144,.T.);
#193=ORIENTED_EDGE('',*,*,#150,.T.);
#194=ORIENTED_EDGE('',*,*,#155,.T.);
#195=ORIENTED_EDGE('',*,*,#145,.F.);
#196=ORIENTED_EDGE('',*,*,#149,.F.);
#197=ORIENTED_EDGE('',*,*,#156,.T.);
#198=ORIENTED_EDGE('',*,*,#157,.T.);
#199=ORIENTED_EDGE('',*,*,#146,.T.);
#200=ORIENTED_EDGE('',*,*,#155,.F.);
#201=ORIENTED_EDGE('',*,*,#158,.F.);
#202=ORIENTED_EDGE('',*,*,#152,.T.);
#203=ORIENTED_EDGE('',*,*,#147,.T.);
#204=ORIENTED_EDGE('',*,*,#159,.T.);
#205=ORIENTED_EDGE('',*,*,#160,.T.);
#206=ORIENTED_EDGE('',*,*,#161,.F.);
#207=ORIENTED_EDGE('',*,*,#162,.T.);
#208=ORIENTED_EDGE('',*,*,#163,.F.);
#209=ORIENTED_EDGE('',*,*,#164,.T.);
#210=ORIENTED_EDGE('',*,*,#148,.F.);
#211=ORIENTED_EDGE('',*,*,#154,.T.);
#212=ORIENTED_EDGE('',*,*,#165,.T.);
#213=ORIENTED_EDGE('',*,*,#166,.F.);
#214=ORIENTED_EDGE('',*,*,#165,.F.);
#215=ORIENTED_EDGE('',*,*,#153,.T.);
#216=ORIENTED_EDGE('',*,*,#151,.T.);
#217=ORIENTED_EDGE('',*,*,#158,.T.);
#218=ORIENTED_EDGE('',*,*,#167,.F.);
#219=ORIENTED_EDGE('',*,*,#156,.F.);
#220=ORIENTED_EDGE('',*,*,#164,.F.);
#221=ORIENTED_EDGE('',*,*,#168,.F.);
#222=ORIENTED_EDGE('',*,*,#157,.F.);
#223=ORIENTED_EDGE('',*,*,#169,.F.);
#224=ORIENTED_EDGE('',*,*,#159,.F.);
#225=ORIENTED_EDGE('',*,*,#161,.T.);
#226=ORIENTED_EDGE('',*,*,#170,.T.);
#227=ORIENTED_EDGE('',*,*,#166,.T.);
#228=ORIENTED_EDGE('',*,*,#167,.T.);
#229=ORIENTED_EDGE('',*,*,#160,.F.);
#230=ORIENTED_EDGE('',*,*,#169,.T.);
#231=ORIENTED_EDGE('',*,*,#168,.T.);
#232=ORIENTED_EDGE('',*,*,#163,.T.);
#233=ORIENTED_EDGE('',*,*,#170,.F.);
#234=ORIENTED_EDGE('',*,*,#162,.F.);
#235=ORIENTED_EDGE('',*,*,#171,.T.);
#236=ORIENTED_EDGE('',*,*,#172,.F.);
#237=ORIENTED_EDGE('',*,*,#171,.F.);
#238=ORIENTED_EDGE('',*,*,#172,.T.);
#239=CYLINDRICAL_SURFACE('',#272,6.);
#240=CYLINDRICAL_SURFACE('',#282,6.);
#241=CYLINDRICAL_SURFACE('',#293,1.5);
#242=ADVANCED_FACE('',(#29),#239,.T.);
#243=ADVANCED_FACE('',(#30),#16,.T.);
#244=ADVANCED_FACE('',(#31),#17,.F.);
#245=ADVANCED_FACE('',(#32),#18,.F.);
#246=ADVANCED_FACE('',(#33),#19,.F.);
#247=ADVANCED_FACE('',(#34),#20,.F.);
#248=ADVANCED_FACE('',(#35),#240,.T.);
#249=ADVANCED_FACE('',(#36,#15),#21,.F.);
#250=ADVANCED_FACE('',(#37),#22,.F.);
#251=ADVANCED_FACE('',(#38),#23,.F.);
#252=ADVANCED_FACE('',(#39),#24,.F.);
#253=ADVANCED_FACE('',(#40),#25,.F.);
#254=ADVANCED_FACE('',(#41),#26,.T.);
#255=ADVANCED_FACE('',(#42),#27,.F.);
#256=ADVANCED_FACE('',(#43),#241,.T.);
#257=ADVANCED_FACE('',(#44),#28,.T.);
#258=CLOSED_SHELL('',(#242,#243,#244,#245,#246,#247,#248,#249,#250,#251,
#252,#253,#254,#255,#256,#257));
#259=DERIVED_UNIT_ELEMENT(#261,1.);
#260=DERIVED_UNIT_ELEMENT(#446,-3.);
#261=(
MASS_UNIT()
NAMED_UNIT(*)
SI_UNIT(.KILO.,.GRAM.)
);
#262=DERIVED_UNIT((#259,#260));
#263=MEASURE_REPRESENTATION_ITEM('density measure',
POSITIVE_RATIO_MEASURE(7850.),#262);
#264=PROPERTY_DEFINITION_REPRESENTATION(#269,#266);
#265=PROPERTY_DEFINITION_REPRESENTATION(#270,#267);
#266=REPRESENTATION('material name',(#268),#443);
#267=REPRESENTATION('density',(#263),#443);
#268=DESCRIPTIVE_REPRESENTATION_ITEM('Steel','Steel');
#269=PROPERTY_DEFINITION('material property','material name',#453);
#270=PROPERTY_DEFINITION('material property','density of part',#453);
#271=AXIS2_PLACEMENT_3D('placement',#371,#296,#297);
#272=AXIS2_PLACEMENT_3D('',#372,#298,#299);
#273=AXIS2_PLACEMENT_3D('',#377,#301,#302);
#274=AXIS2_PLACEMENT_3D('',#379,#303,#304);
#275=AXIS2_PLACEMENT_3D('',#382,#306,#307);
#276=AXIS2_PLACEMENT_3D('',#383,#308,#309);
#277=AXIS2_PLACEMENT_3D('',#389,#313,#314);
#278=AXIS2_PLACEMENT_3D('',#395,#318,#319);
#279=AXIS2_PLACEMENT_3D('',#399,#322,#323);
#280=AXIS2_PLACEMENT_3D('',#403,#326,#327);
#281=AXIS2_PLACEMENT_3D('',#404,#328,#329);
#282=AXIS2_PLACEMENT_3D('',#405,#330,#331);
#283=AXIS2_PLACEMENT_3D('',#407,#332,#333);
#284=AXIS2_PLACEMENT_3D('',#408,#334,#335);
#285=AXIS2_PLACEMENT_3D('',#409,#336,#337);
#286=AXIS2_PLACEMENT_3D('',#418,#342,#343);
#287=AXIS2_PLACEMENT_3D('',#419,#344,#345);
#288=AXIS2_PLACEMENT_3D('',#427,#350,#351);
#289=AXIS2_PLACEMENT_3D('',#429,#353,#354);
#290=AXIS2_PLACEMENT_3D('',#431,#356,#357);
#291=AXIS2_PLACEMENT_3D('',#433,#359,#360);
#292=AXIS2_PLACEMENT_3D('',#435,#362,#363);
#293=AXIS2_PLACEMENT_3D('',#436,#364,#365);
#294=AXIS2_PLACEMENT_3D('',#439,#367,#368);
#295=AXIS2_PLACEMENT_3D('',#440,#369,#370);
#296=DIRECTION('axis',(0.,0.,1.));
#297=DIRECTION('refdir',(1.,0.,0.));
#298=DIRECTION('center_axis',(0.,1.,-6.7E-16));
#299=DIRECTION('ref_axis',(-1.,4.64982555490714E-29,6.94003814165245E-14));
#300=DIRECTION('',(0.,-1.,6.7E-16));
#301=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#302=DIRECTION('ref_axis',(1.,0.,0.));
#303=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#304=DIRECTION('ref_axis',(1.,0.,0.));
#305=DIRECTION('',(0.,-1.,6.7E-16));
#306=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#307=DIRECTION('ref_axis',(1.,0.,0.));
#308=DIRECTION('center_axis',(0.,6.7E-16,1.));
#309=DIRECTION('ref_axis',(1.,0.,0.));
#310=DIRECTION('',(1.,0.,0.));
#311=DIRECTION('',(0.,-1.,6.7E-16));
#312=DIRECTION('',(1.,0.,0.));
#313=DIRECTION('center_axis',(0.,6.7E-16,1.));
#314=DIRECTION('ref_axis',(1.,0.,0.));
#315=DIRECTION('',(1.,0.,0.));
#316=DIRECTION('',(0.,-1.,6.7E-16));
#317=DIRECTION('',(1.,0.,0.));
#318=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#319=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#320=DIRECTION('',(0.,2.2E-16,1.));
#321=DIRECTION('',(1.,0.,0.));
#322=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#323=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#324=DIRECTION('',(0.,2.2E-16,1.));
#325=DIRECTION('',(-1.,0.,0.));
#326=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#327=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#328=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#329=DIRECTION('ref_axis',(1.,0.,0.));
#330=DIRECTION('center_axis',(0.,1.,-6.7E-16));
#331=DIRECTION('ref_axis',(1.,0.,0.));
#332=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#333=DIRECTION('ref_axis',(1.,0.,0.));
#334=DIRECTION('center_axis',(0.,-1.,2.2E-16));
#335=DIRECTION('ref_axis',(1.,0.,0.));
#336=DIRECTION('center_axis',(0.,-6.7E-16,-1.));
#337=DIRECTION('ref_axis',(1.,0.,0.));
#338=DIRECTION('',(0.,1.,-6.7E-16));
#339=DIRECTION('',(1.,0.,0.));
#340=DIRECTION('',(0.,1.,-6.7E-16));
#341=DIRECTION('',(1.,0.,0.));
#342=DIRECTION('center_axis',(0.,-4.4E-16,-1.));
#343=DIRECTION('ref_axis',(1.,0.,0.));
#344=DIRECTION('center_axis',(0.,6.7E-16,1.));
#345=DIRECTION('ref_axis',(-1.,0.,0.));
#346=DIRECTION('',(0.,1.,-6.7E-16));
#347=DIRECTION('',(-1.,0.,0.));
#348=DIRECTION('',(0.,1.,-6.7E-16));
#349=DIRECTION('',(-1.,0.,0.));
#350=DIRECTION('center_axis',(1.,0.,0.));
#351=DIRECTION('ref_axis',(0.,6.7E-16,1.));
#352=DIRECTION('',(0.,2.2E-16,1.));
#353=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#354=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#355=DIRECTION('',(0.,-2.2E-16,-1.));
#356=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#357=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#358=DIRECTION('',(0.,-2.2E-16,-1.));
#359=DIRECTION('center_axis',(0.,1.,-4.4E-16));
#360=DIRECTION('ref_axis',(0.,4.4E-16,1.));
#361=DIRECTION('',(0.,-2.2E-16,-1.));
#362=DIRECTION('center_axis',(-1.,0.,0.));
#363=DIRECTION('ref_axis',(0.,-6.7E-16,-1.));
#364=DIRECTION('center_axis',(0.,-4.4E-16,-1.));
#365=DIRECTION('ref_axis',(1.,0.,0.));
#366=DIRECTION('',(0.,4.4E-16,1.));
#367=DIRECTION('center_axis',(0.,2.2E-16,1.));
#368=DIRECTION('ref_axis',(1.,0.,0.));
#369=DIRECTION('center_axis',(0.,2.2E-16,1.));
#370=DIRECTION('ref_axis',(1.,0.,0.));
#371=CARTESIAN_POINT('',(0.,0.,0.));
#372=CARTESIAN_POINT('Origin',(0.,0.,0.));
#373=CARTESIAN_POINT('',(-3.316624790355,9.E-15,5.));
#374=CARTESIAN_POINT('',(-3.316624790355,-17.,5.));
#375=CARTESIAN_POINT('',(-3.316624790355,3.33E-15,5.));
#376=CARTESIAN_POINT('',(-6.,0.,-1.254291E-8));
#377=CARTESIAN_POINT('Origin',(0.,0.,0.));
#378=CARTESIAN_POINT('',(-3.316624790356,-9.E-15,-5.));
#379=CARTESIAN_POINT('Origin',(0.,0.,0.));
#380=CARTESIAN_POINT('',(-3.316624790356,-17.,-5.));
#381=CARTESIAN_POINT('',(-3.316624790356,-3.33E-15,-5.));
#382=CARTESIAN_POINT('Origin',(0.,-17.,3.552713678801E-15));
#383=CARTESIAN_POINT('Origin',(-3.316624790355,3.33E-15,5.));
#384=CARTESIAN_POINT('',(3.316624790355,-17.,5.));
#385=CARTESIAN_POINT('',(-3.316624790355,-17.,5.));
#386=CARTESIAN_POINT('',(3.316624790355,9.E-15,5.));
#387=CARTESIAN_POINT('',(3.316624790355,3.33E-15,5.));
#388=CARTESIAN_POINT('',(-3.316624790355,1.11E-15,5.));
#389=CARTESIAN_POINT('Origin',(-3.316624790356,-3.33E-15,-5.));
#390=CARTESIAN_POINT('',(3.316624790356,-9.E-15,-5.));
#391=CARTESIAN_POINT('',(-3.316624790356,-1.11E-15,-5.));
#392=CARTESIAN_POINT('',(3.316624790356,-17.,-5.));
#393=CARTESIAN_POINT('',(3.316624790356,-3.33E-15,-5.));
#394=CARTESIAN_POINT('',(-3.316624790356,-17.,-5.));
#395=CARTESIAN_POINT('Origin',(0.,0.,0.));
#396=CARTESIAN_POINT('',(-6.,7.E-15,5.));
#397=CARTESIAN_POINT('',(-6.,-1.11E-15,-5.));
#398=CARTESIAN_POINT('',(-6.,1.11E-15,5.));
#399=CARTESIAN_POINT('Origin',(0.,0.,0.));
#400=CARTESIAN_POINT('',(-6.,-7.E-15,-5.));
#401=CARTESIAN_POINT('',(-6.,-1.11E-15,-5.));
#402=CARTESIAN_POINT('',(6.,-1.11E-15,-5.));
#403=CARTESIAN_POINT('Origin',(-7.64E-15,-17.,3.19744231092E-14));
#404=CARTESIAN_POINT('Origin',(0.,-17.,3.552713678801E-15));
#405=CARTESIAN_POINT('Origin',(0.,0.,0.));
#406=CARTESIAN_POINT('',(6.,0.,4.E-15));
#407=CARTESIAN_POINT('Origin',(0.,0.,0.));
#408=CARTESIAN_POINT('Origin',(0.,0.,0.));
#409=CARTESIAN_POINT('Origin',(-6.,3.33E-15,5.));
#410=CARTESIAN_POINT('',(-6.,18.,5.));
#411=CARTESIAN_POINT('',(-6.,3.33E-15,5.));
#412=CARTESIAN_POINT('',(6.,7.E-15,5.));
#413=CARTESIAN_POINT('',(-6.,1.11E-15,5.));
#414=CARTESIAN_POINT('',(6.,18.,5.));
#415=CARTESIAN_POINT('',(6.,3.33E-15,5.));
#416=CARTESIAN_POINT('',(-6.,18.,5.));
#417=CARTESIAN_POINT('',(-1.5,14.,5.));
#418=CARTESIAN_POINT('Origin',(0.,14.,5.));
#419=CARTESIAN_POINT('Origin',(6.,-3.33E-15,-5.));
#420=CARTESIAN_POINT('',(6.,-7.E-15,-5.));
#421=CARTESIAN_POINT('',(6.,18.,-5.));
#422=CARTESIAN_POINT('',(6.,-3.33E-15,-5.));
#423=CARTESIAN_POINT('',(6.,-1.11E-15,-5.));
#424=CARTESIAN_POINT('',(-6.,18.,-5.));
#425=CARTESIAN_POINT('',(-6.,-3.33E-15,-5.));
#426=CARTESIAN_POINT('',(6.,18.,-5.));
#427=CARTESIAN_POINT('Origin',(-6.,-3.33E-15,-5.));
#428=CARTESIAN_POINT('',(-6.,18.,-5.));
#429=CARTESIAN_POINT('Origin',(0.,0.,0.));
#430=CARTESIAN_POINT('',(6.,1.11E-15,5.));
#431=CARTESIAN_POINT('Origin',(0.,0.,0.));
#432=CARTESIAN_POINT('',(6.,1.11E-15,5.));
#433=CARTESIAN_POINT('Origin',(0.,18.,-7.105427357601E-15));
#434=CARTESIAN_POINT('',(6.,18.,5.));
#435=CARTESIAN_POINT('Origin',(6.,3.33E-15,5.));
#436=CARTESIAN_POINT('Origin',(0.,14.,-6.22E-15));
#437=CARTESIAN_POINT('',(-1.5,14.,13.));
#438=CARTESIAN_POINT('',(-1.5,14.,-6.22E-15));
#439=CARTESIAN_POINT('Origin',(0.,14.,13.));
#440=CARTESIAN_POINT('Origin',(-1.1E-16,14.,13.));
#441=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.01),#445,
'DISTANCE_ACCURACY_VALUE',
'Maximum model space distance between geometric entities at asserted c
onnectivities');
#442=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(0.01),#445,
'DISTANCE_ACCURACY_VALUE',
'Maximum model space distance between geometric entities at asserted c
onnectivities');
#443=(
GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#441))
GLOBAL_UNIT_ASSIGNED_CONTEXT((#445,#447,#448))
REPRESENTATION_CONTEXT('','3D')
);
#444=(
GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#442))
GLOBAL_UNIT_ASSIGNED_CONTEXT((#445,#447,#448))
REPRESENTATION_CONTEXT('','3D')
);
#445=(
LENGTH_UNIT()
NAMED_UNIT(*)
SI_UNIT(.MILLI.,.METRE.)
);
#446=(
LENGTH_UNIT()
NAMED_UNIT(*)
SI_UNIT($,.METRE.)
);
#447=(
NAMED_UNIT(*)
PLANE_ANGLE_UNIT()
SI_UNIT($,.RADIAN.)
);
#448=(
NAMED_UNIT(*)
SI_UNIT($,.STERADIAN.)
SOLID_ANGLE_UNIT()
);
#449=SHAPE_DEFINITION_REPRESENTATION(#450,#451);
#450=PRODUCT_DEFINITION_SHAPE('',$,#453);
#451=SHAPE_REPRESENTATION('',(#271),#443);
#452=PRODUCT_DEFINITION_CONTEXT('part definition',#457,'design');
#453=PRODUCT_DEFINITION('right-angle-n20-Body',
'right-angle-n20-Body v1',#454,#452);
#454=PRODUCT_DEFINITION_FORMATION('',$,#459);
#455=PRODUCT_RELATED_PRODUCT_CATEGORY('right-angle-n20-Body v1',
'right-angle-n20-Body v1',(#459));
#456=APPLICATION_PROTOCOL_DEFINITION('international standard',
'automotive_design',2009,#457);
#457=APPLICATION_CONTEXT(
'Core Data for Automotive Mechanical Design Process');
#458=PRODUCT_CONTEXT('part definition',#457,'mechanical');
#459=PRODUCT('right-angle-n20-Body','right-angle-n20-Body v1',$,(#458));
#460=PRESENTATION_STYLE_ASSIGNMENT((#462));
#461=PRESENTATION_STYLE_ASSIGNMENT((#463));
#462=SURFACE_STYLE_USAGE(.BOTH.,#464);
#463=SURFACE_STYLE_USAGE(.BOTH.,#465);
#464=SURFACE_SIDE_STYLE('',(#466));
#465=SURFACE_SIDE_STYLE('',(#467));
#466=SURFACE_STYLE_FILL_AREA(#468);
#467=SURFACE_STYLE_FILL_AREA(#469);
#468=FILL_AREA_STYLE('Steel - Satin',(#470));
#469=FILL_AREA_STYLE('Opaque(204,204,204)',(#471));
#470=FILL_AREA_STYLE_COLOUR('Steel - Satin',#472);
#471=FILL_AREA_STYLE_COLOUR('Opaque(204,204,204)',#473);
#472=COLOUR_RGB('Steel - Satin',0.627450980392157,0.627450980392157,0.627450980392157);
#473=COLOUR_RGB('Opaque(204,204,204)',0.8,0.8,0.8);
ENDSEC;
END-ISO-10303-21;

BIN
cad/slotPCB.FCStd Normal file

Binary file not shown.

View File

@@ -1,329 +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.2123927809">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2123927809" 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.2123927809" 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.2123927809." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.742156129" 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.1388565936" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C051C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.252839491" 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.589816474" 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.455796363" 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.417545264" 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 || STM32C051C6Tx || 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 | STM32C051xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.1216937249" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="48" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.591428385" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/feeder_mk2}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1512446835" 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.1681031685" 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.361630091" 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.371520687" 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.1275212645" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.288588021" 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.1195911872" 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.479801723" name="Optimization level" 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.oz" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.1746005180" 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="STM32C051xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1853824475" 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.1620160994" 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.1492629481" 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.1993343380" 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.2097082520" 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.546898380" 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.1886210733" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.261574862" 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.1968949857" 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.1035873196" 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.479512980" 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.150265153" 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.1700608086" 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.1252711542" 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.257806696" 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.997006273" 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.1753742789" 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.749563602">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.749563602" 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.749563602" 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.749563602." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.1719776956" 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.95773864" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C051C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.337106446" 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.2104311438" 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.1932361446" 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.282411569" 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 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32C051C6Tx || 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 | STM32C051xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.743590200" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="48" valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1241986810" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/feeder_mk2}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.189486637" 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.469570881" 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.1409120056" 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.g0" valueType="enumerated"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1350547342" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.833784897" 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.1950948351" 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.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.60763210" name="Optimization level" 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.2064160852" 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="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32C051xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.359433534" 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.865476332" 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.937925286" 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.1144563673" 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.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.637665107" name="Optimization level" 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.77660645" 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.1452135767" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.376051529" 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.645652288" 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.767039415" 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.281989519" 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.1770052718" 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.42077702" 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.2057677230" 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.1963644445" 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.1019997968" 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.218538622" 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.debug.1773838781">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1773838781" 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.1773838781" 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.1773838781." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.534348417" 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.849888053" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C051C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.109976386" 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.1271013541" 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.1345114919" 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.1700257373" 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 || STM32C051C6Tx || 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 | STM32C051xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.599884550" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/feeder_mk2}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1109463696" 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.1289664662" 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.1121963870" 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.1100620306" 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.16753259" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.897816544" 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.2124147385" 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.813582153" 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.209402282" 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="STM32C051xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.80289720" 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.861865851" 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.1336897310" 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.1512288779" 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.1559001255" 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.969750042" 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.1802035541" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.936374392" 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.1101107984" 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.1417240254" 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.939197912" 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.1966442015" 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.738252076" 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.160627994" 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.1964737266" 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.894667566" 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.820229172" 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.1813768786">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1813768786" 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.1813768786" 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.1813768786." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.594971184" 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.631510249" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32C051C6Tx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1777976030" 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.71133310" 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.992413084" 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.116796964" 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 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32C051C6Tx || 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 | STM32C051xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1962359373" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/feeder_mk2}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.649701287" 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.121254354" 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.615900473" 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.g0" valueType="enumerated"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1576766624" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1690084034" 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.1261288323" 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.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.719313019" name="Optimization level" 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.1660359632" 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="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32C051xx"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.328209715" 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.1727265949" 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.844134411" 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.1314731639" 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.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.743635977" name="Optimization level" 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.1128945908" 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.108416306" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32C051C6TX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.input.1670379260" 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.867981434" 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.1631136431" 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.1288403363" 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.1588691822" 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.1068439113" 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.917191787" 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.1974550249" 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.38306311" 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.613648352" 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="feeder_mk2.null.1318808794" name="feeder_mk2"/>
</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.2123927809;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.2123927809.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.288588021;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1620160994">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.749563602;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.749563602.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.833784897;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.865476332">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1813768786;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1813768786.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.1690084034;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1727265949">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1773838781;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1773838781.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.897816544;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.861865851">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="refreshScope"/>
</cproject>

File diff suppressed because one or more lines are too long

View File

@@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>feeder_mk2</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>

View File

@@ -1,4 +0,0 @@
66BE74F758C12D739921AEA421D593D3=2
8DF89ED150041C4CBC7CB9A9CAA90856=D23DC690AD53E33F3DEB60F5E0B05235
DC22A860405A8BF2F2C095E5B6529F12=D23DC690AD53E33F3DEB60F5E0B05235
eclipse.preferences.version=1

View File

@@ -1,26 +0,0 @@
/*
* crc.h
*
* Created on: 19 Dec 2025
* Author: janik
*/
#ifndef INC_CRC_H_
#define INC_CRC_H_
#include <stdint.h>
#include <stddef.h>
typedef struct {
uint32_t crc;
} CRC8_107;
static inline void CRC8_107_init(CRC8_107 *ctx)
{
ctx->crc = 0x0u;
}
void CRC8_107_add(CRC8_107 *ctx, uint8_t data);
uint8_t CRC8_107_getChecksum(const CRC8_107 *ctx);
#endif /* INC_CRC_H_ */

View File

@@ -1,103 +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 */
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
#define USART2_NRE_Pin GPIO_PIN_0
#define USART2_NRE_GPIO_Port GPIOA
#define PEEL1_Pin GPIO_PIN_2
#define PEEL1_GPIO_Port GPIOA
#define PEEL2_Pin GPIO_PIN_3
#define PEEL2_GPIO_Port GPIOA
#define ONEWIRE_Pin GPIO_PIN_6
#define ONEWIRE_GPIO_Port GPIOA
#define IPROP_PEEL_Pin GPIO_PIN_7
#define IPROP_PEEL_GPIO_Port GPIOA
#define IPROP_DRIVE_Pin GPIO_PIN_12
#define IPROP_DRIVE_GPIO_Port GPIOB
#define DRIVE1_Pin GPIO_PIN_8
#define DRIVE1_GPIO_Port GPIOA
#define DRIVE2_Pin GPIO_PIN_9
#define DRIVE2_GPIO_Port GPIOA
#define QUAD_A_Pin GPIO_PIN_6
#define QUAD_A_GPIO_Port GPIOC
#define QUAD_B_Pin GPIO_PIN_7
#define QUAD_B_GPIO_Port GPIOC
#define LED_R_Pin GPIO_PIN_3
#define LED_R_GPIO_Port GPIOB
#define LED_B_Pin GPIO_PIN_4
#define LED_B_GPIO_Port GPIOB
#define LED_G_Pin GPIO_PIN_5
#define LED_G_GPIO_Port GPIOB
#define SW2_Pin GPIO_PIN_8
#define SW2_GPIO_Port GPIOB
#define SW2_EXTI_IRQn EXTI4_15_IRQn
#define SW1_Pin GPIO_PIN_9
#define SW1_GPIO_Port GPIOB
#define SW1_EXTI_IRQn EXTI4_15_IRQn
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
#ifdef __cplusplus
}
#endif
#endif /* __MAIN_H */

View File

@@ -1,140 +0,0 @@
/*
* photon_protocol.h
*
* Created on: 19 Dec 2025
* Author: janik
*/
#ifndef INC_PHOTON_PROTOCOL_H_
#define INC_PHOTON_PROTOCOL_H_
#define UUID_LENGTH 12 // 12 8bit values
#define PHOTON_NETWORK_CONTROLLER_ADDRESS 0x00
#define PHOTON_NETWORK_BROADCAST_ADDRESS 0xFF
#define VENDOR_SPECIFIC_OPTIONS_LENGTH 20
typedef enum {
STATUS_OK = 0x00,
STATUS_WRONG_FEEDER_ID = 0x01,
STATUS_COULDNT_REACH = 0x02,
STATUS_UNINITIALIZED_FEEDER = 0x03,
STATUS_FEEDING_IN_PROGRESS = 0x04,
STATUS_FAIL = 0x05,
STATUS_TIMEOUT = 0xFE,
STATUS_UNKNOWN_ERROR = 0xFF
} FeederStatus;
typedef enum {
// Unicast Commands
GET_FEEDER_ID = 0x01,
INITIALIZE_FEEDER = 0x02,
GET_VERSION = 0x03,
MOVE_FEED_FORWARD = 0x04,
MOVE_FEED_BACKWARD = 0x05,
MOVE_FEED_STATUS = 0x06,
VENDOR_OPTIONS = 0xbf,
// Broadcast Commands
GET_FEEDER_ADDRESS = 0xc0,
IDENTIFY_FEEDER = 0xc1,
PROGRAM_FEEDER_FLOOR = 0xc2,
UNINITIALIZED_FEEDERS_RESPOND = 0xc3
// EXTENDED_COMMAND = 0xff, Unused, reserved for future use
} FeederCommand;
/* ---------- Packet Header ---------- */
typedef struct __attribute__((packed)) {
uint8_t toAddress;
uint8_t fromAddress;
uint8_t packetId;
uint8_t payloadLength;
uint8_t crc;
} PhotonPacketHeader;
/* ---------- Command Payloads ---------- */
typedef struct __attribute__((packed)) {
uint8_t distance;
} MoveCommand;
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
} GetFeederAddressCommand;
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
} InitializeFeederCommand;
typedef struct __attribute__((packed)) {
uint8_t options[VENDOR_SPECIFIC_OPTIONS_LENGTH];
} VendorOptionsCommand;
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
uint8_t address;
} ProgramFeederFloorAddressCommand;
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
} IdentifyFeederCommand;
/* ---------- Full Command Packet ---------- */
typedef struct __attribute__((packed)) {
PhotonPacketHeader header;
uint8_t commandId;
union {
MoveCommand move;
GetFeederAddressCommand getFeederAddress;
InitializeFeederCommand initializeFeeder;
VendorOptionsCommand vendorOptions;
ProgramFeederFloorAddressCommand programFeederFloorAddress;
IdentifyFeederCommand identifyFeeder;
} payload;
} PhotonCommand;
/* ---------- Response Payloads ---------- */
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
} GetFeederIdResponse;
typedef struct __attribute__((packed)) {
uint8_t uuid[UUID_LENGTH];
} InitializeFeederResponse;
typedef struct __attribute__((packed)) {
uint8_t version;
} GetProtocolVersionResponse;
typedef struct __attribute__((packed)) {
uint16_t expectedFeedTime;
} FeedDistanceResponse;
typedef struct __attribute__((packed)) {
uint8_t options[VENDOR_SPECIFIC_OPTIONS_LENGTH];
} VendorOptionsResponse;
/* ---------- Full Response Packet ---------- */
typedef struct __attribute__((packed)) {
PhotonPacketHeader header;
uint8_t status;
union {
GetFeederIdResponse getFeederId;
InitializeFeederResponse initializeFeeder;
GetProtocolVersionResponse protocolVersion;
FeedDistanceResponse expectedTimeToFeed;
VendorOptionsResponse vendorOptions;
} payload;
} PhotonResponse;
#endif /* INC_PHOTON_PROTOCOL_H_ */

View File

@@ -1,146 +0,0 @@
/*
* pid.h
*
* Created on: 19 Dec 2025
* Author: janik
*/
#ifndef INC_PID_H_
#define INC_PID_H_
// pid_motor_wrap_i32.h
typedef struct
{
// Gains
int32_t kp;
int32_t ki;
int32_t kd;
// State
int32_t integrator;
int32_t prev_error;
// Limits
int32_t integrator_min;
int32_t integrator_max;
int32_t out_max; // max |u|, e.g. 2400
// Slew limit
int32_t max_output_step; // max |u(k) - u(k-1)| per control step
int32_t last_output; // u(k-1)
} pid_i32_t;
typedef struct
{
uint16_t pwm; // 0..out_max
uint8_t dir; // 0 or 1
} pid_motor_cmd_t;
static inline int32_t clamp_i32(int32_t x, int32_t lo, int32_t hi)
{
if (x < lo) return lo;
if (x > hi) return hi;
return x;
}
static inline void pid_init(pid_i32_t *pid,
int32_t kp,
int32_t ki,
int32_t kd,
int32_t integrator_min,
int32_t integrator_max,
int32_t out_max,
int32_t max_output_step)
{
pid->kp = kp;
pid->ki = ki;
pid->kd = kd;
pid->integrator = 0;
pid->prev_error = 0;
pid->integrator_min = integrator_min;
pid->integrator_max = integrator_max;
pid->out_max = out_max;
pid->max_output_step = max_output_step;
pid->last_output = 0;
}
static inline void pid_reset(pid_i32_t *pid)
{
pid->integrator = 0;
pid->prev_error = 0;
pid->last_output = 0;
}
static inline pid_motor_cmd_t pid_update_motor(pid_i32_t *pid,
int32_t setpoint,
int32_t position)
{
pid_motor_cmd_t cmd;
int32_t error = setpoint - position;
// Deadband: if within ±1 count (~0.005mm), hold position and reset integrator
if (error >= -1 && error <= 1) {
pid->integrator = 0;
pid->prev_error = 0;
pid->last_output = 0;
cmd.pwm = 0;
cmd.dir = 1;
return cmd;
}
int32_t p = pid->kp * error;
int32_t i = pid->integrator + pid->ki * error;
i = clamp_i32(i, pid->integrator_min, pid->integrator_max);
pid->integrator = i;
int32_t d_error = error - pid->prev_error;
int32_t d = pid->kd * d_error;
pid->prev_error = error;
// Raw control effort
int32_t u_raw = p + i + d;
// Clamp to [-out_max, +out_max]
if (u_raw > pid->out_max) u_raw = pid->out_max;
if (u_raw < -pid->out_max) u_raw = -pid->out_max;
// ---------- Slew limit: avoid instant full reverse ----------
int32_t u_prev = pid->last_output;
int32_t u = u_raw;
int32_t max_step = pid->max_output_step;
if (max_step > 0) {
int32_t du = u_raw - u_prev;
if (du > max_step) {
u = u_prev + max_step;
} else if (du < -max_step) {
u = u_prev - max_step;
} else {
u = u_raw;
}
}
// Save for next time
pid->last_output = u;
// Map signed u to dir + pwm
if (u >= 0) {
cmd.dir = 1;
cmd.pwm = (uint16_t)u;
} else {
cmd.dir = 0;
cmd.pwm = (uint16_t)(-u);
}
if (cmd.pwm > pid->out_max)
cmd.pwm = (uint16_t)pid->out_max;
return cmd;
}
#endif /* INC_PID_H_ */

View File

@@ -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****/

View File

@@ -1,69 +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);
void EXTI4_15_IRQHandler(void);
void DMA1_Channel1_IRQHandler(void);
void DMA1_Channel2_3_IRQHandler(void);
void TIM14_IRQHandler(void);
void TIM16_IRQHandler(void);
void TIM17_IRQHandler(void);
void USART2_IRQHandler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
#ifdef __cplusplus
}
#endif
#endif /* __STM32C0xx_IT_H */

View File

@@ -1,24 +0,0 @@
/*
* crc.c
*
* Created on: 19 Dec 2025
* Author: janik
*/
#include "crc.h"
void CRC8_107_add(CRC8_107 *ctx, uint8_t data)
{
ctx->crc ^= ((uint32_t)data << 8);
for (size_t bit_n = 0; bit_n < 8; bit_n++) {
if (ctx->crc & 0x8000u) {
ctx->crc ^= ((uint32_t)0x1070u << 3); // same as 0x8380
}
ctx->crc <<= 1;
}
}
uint8_t CRC8_107_getChecksum(const CRC8_107 *ctx)
{
return (uint8_t)(ctx->crc >> 8);
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,565 +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 */
extern DMA_HandleTypeDef hdma_usart2_rx;
extern DMA_HandleTypeDef hdma_usart2_tx;
/* 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 */
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
/**
* 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();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**ADC1 GPIO Configuration
PA7 ------> ADC1_IN7
PB12 ------> ADC1_IN22
*/
GPIO_InitStruct.Pin = IPROP_PEEL_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(IPROP_PEEL_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = IPROP_DRIVE_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(IPROP_DRIVE_GPIO_Port, &GPIO_InitStruct);
/* 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
PA7 ------> ADC1_IN7
PB12 ------> ADC1_IN22
*/
HAL_GPIO_DeInit(IPROP_PEEL_GPIO_Port, IPROP_PEEL_Pin);
HAL_GPIO_DeInit(IPROP_DRIVE_GPIO_Port, IPROP_DRIVE_Pin);
/* USER CODE BEGIN ADC1_MspDeInit 1 */
/* USER CODE END ADC1_MspDeInit 1 */
}
}
/**
* @brief TIM_Base MSP Initialization
* This function configures the hardware resources used in this example
* @param htim_base: TIM_Base handle pointer
* @retval None
*/
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
{
if(htim_base->Instance==TIM1)
{
/* USER CODE BEGIN TIM1_MspInit 0 */
/* USER CODE END TIM1_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM1_CLK_ENABLE();
/* USER CODE BEGIN TIM1_MspInit 1 */
/* USER CODE END TIM1_MspInit 1 */
}
else if(htim_base->Instance==TIM14)
{
/* USER CODE BEGIN TIM14_MspInit 0 */
/* USER CODE END TIM14_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM14_CLK_ENABLE();
/* TIM14 interrupt Init */
HAL_NVIC_SetPriority(TIM14_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM14_IRQn);
/* USER CODE BEGIN TIM14_MspInit 1 */
/* USER CODE END TIM14_MspInit 1 */
}
else if(htim_base->Instance==TIM16)
{
/* USER CODE BEGIN TIM16_MspInit 0 */
/* USER CODE END TIM16_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM16_CLK_ENABLE();
/* TIM16 interrupt Init */
HAL_NVIC_SetPriority(TIM16_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM16_IRQn);
/* USER CODE BEGIN TIM16_MspInit 1 */
/* USER CODE END TIM16_MspInit 1 */
}
else if(htim_base->Instance==TIM17)
{
/* USER CODE BEGIN TIM17_MspInit 0 */
/* USER CODE END TIM17_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM17_CLK_ENABLE();
/* TIM17 interrupt Init */
HAL_NVIC_SetPriority(TIM17_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(TIM17_IRQn);
/* USER CODE BEGIN TIM17_MspInit 1 */
/* USER CODE END TIM17_MspInit 1 */
}
}
/**
* @brief TIM_Encoder MSP Initialization
* This function configures the hardware resources used in this example
* @param htim_encoder: TIM_Encoder handle pointer
* @retval None
*/
void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef* htim_encoder)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(htim_encoder->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspInit 0 */
/* USER CODE END TIM3_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM3_CLK_ENABLE();
__HAL_RCC_GPIOC_CLK_ENABLE();
/**TIM3 GPIO Configuration
PC6 ------> TIM3_CH1
PC7 ------> TIM3_CH2
*/
GPIO_InitStruct.Pin = QUAD_A_Pin|QUAD_B_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF1_TIM3;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/* USER CODE BEGIN TIM3_MspInit 1 */
/* USER CODE END TIM3_MspInit 1 */
}
}
void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(htim->Instance==TIM1)
{
/* USER CODE BEGIN TIM1_MspPostInit 0 */
/* USER CODE END TIM1_MspPostInit 0 */
__HAL_RCC_GPIOA_CLK_ENABLE();
/**TIM1 GPIO Configuration
PA2 ------> TIM1_CH3
PA3 ------> TIM1_CH4
PA8 ------> TIM1_CH1
PA9 ------> TIM1_CH2
*/
GPIO_InitStruct.Pin = PEEL1_Pin|PEEL2_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF5_TIM1;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
GPIO_InitStruct.Pin = DRIVE1_Pin|DRIVE2_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF2_TIM1;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/* USER CODE BEGIN TIM1_MspPostInit 1 */
/* USER CODE END TIM1_MspPostInit 1 */
}
}
/**
* @brief TIM_Base MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param htim_base: TIM_Base handle pointer
* @retval None
*/
void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
{
if(htim_base->Instance==TIM1)
{
/* USER CODE BEGIN TIM1_MspDeInit 0 */
/* USER CODE END TIM1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM1_CLK_DISABLE();
/* USER CODE BEGIN TIM1_MspDeInit 1 */
/* USER CODE END TIM1_MspDeInit 1 */
}
else if(htim_base->Instance==TIM14)
{
/* USER CODE BEGIN TIM14_MspDeInit 0 */
/* USER CODE END TIM14_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM14_CLK_DISABLE();
/* TIM14 interrupt DeInit */
HAL_NVIC_DisableIRQ(TIM14_IRQn);
/* USER CODE BEGIN TIM14_MspDeInit 1 */
/* USER CODE END TIM14_MspDeInit 1 */
}
else if(htim_base->Instance==TIM16)
{
/* USER CODE BEGIN TIM16_MspDeInit 0 */
/* USER CODE END TIM16_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM16_CLK_DISABLE();
/* TIM16 interrupt DeInit */
HAL_NVIC_DisableIRQ(TIM16_IRQn);
/* USER CODE BEGIN TIM16_MspDeInit 1 */
/* USER CODE END TIM16_MspDeInit 1 */
}
else if(htim_base->Instance==TIM17)
{
/* USER CODE BEGIN TIM17_MspDeInit 0 */
/* USER CODE END TIM17_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM17_CLK_DISABLE();
/* TIM17 interrupt DeInit */
HAL_NVIC_DisableIRQ(TIM17_IRQn);
/* USER CODE BEGIN TIM17_MspDeInit 1 */
/* USER CODE END TIM17_MspDeInit 1 */
}
}
/**
* @brief TIM_Encoder MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param htim_encoder: TIM_Encoder handle pointer
* @retval None
*/
void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef* htim_encoder)
{
if(htim_encoder->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspDeInit 0 */
/* USER CODE END TIM3_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_TIM3_CLK_DISABLE();
/**TIM3 GPIO Configuration
PC6 ------> TIM3_CH1
PC7 ------> TIM3_CH2
*/
HAL_GPIO_DeInit(GPIOC, QUAD_A_Pin|QUAD_B_Pin);
/* USER CODE BEGIN TIM3_MspDeInit 1 */
/* USER CODE END TIM3_MspDeInit 1 */
}
}
/**
* @brief UART MSP Initialization
* This function configures the hardware resources used in this example
* @param huart: UART handle pointer
* @retval None
*/
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
if(huart->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspInit 0 */
/* USER CODE END USART1_MspInit 0 */
/** Initializes the peripherals clocks
*/
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_USART1;
PeriphClkInit.Usart1ClockSelection = RCC_USART1CLKSOURCE_PCLK1;
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
{
Error_Handler();
}
/* Peripheral clock enable */
__HAL_RCC_USART1_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**USART1 GPIO Configuration
PB6 ------> USART1_TX
PB7 ------> USART1_RX
*/
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF0_USART1;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN USART1_MspInit 1 */
/* USER CODE END USART1_MspInit 1 */
}
else if(huart->Instance==USART2)
{
/* USER CODE BEGIN USART2_MspInit 0 */
/* USER CODE END USART2_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_USART2_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
/**USART2 GPIO Configuration
PA1 ------> USART2_DE
PA4 ------> USART2_TX
PA5 ------> USART2_RX
*/
GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF1_USART2;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/* USART2 DMA Init */
/* USART2_RX Init */
hdma_usart2_rx.Instance = DMA1_Channel2;
hdma_usart2_rx.Init.Request = DMA_REQUEST_USART2_RX;
hdma_usart2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY;
hdma_usart2_rx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_usart2_rx.Init.MemInc = DMA_MINC_ENABLE;
hdma_usart2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_usart2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_usart2_rx.Init.Mode = DMA_NORMAL;
hdma_usart2_rx.Init.Priority = DMA_PRIORITY_MEDIUM;
if (HAL_DMA_Init(&hdma_usart2_rx) != HAL_OK)
{
Error_Handler();
}
__HAL_LINKDMA(huart,hdmarx,hdma_usart2_rx);
/* USART2_TX Init */
hdma_usart2_tx.Instance = DMA1_Channel1;
hdma_usart2_tx.Init.Request = DMA_REQUEST_USART2_TX;
hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE;
hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
hdma_usart2_tx.Init.Mode = DMA_NORMAL;
hdma_usart2_tx.Init.Priority = DMA_PRIORITY_HIGH;
if (HAL_DMA_Init(&hdma_usart2_tx) != HAL_OK)
{
Error_Handler();
}
__HAL_LINKDMA(huart,hdmatx,hdma_usart2_tx);
/* USART2 interrupt Init */
HAL_NVIC_SetPriority(USART2_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(USART2_IRQn);
/* USER CODE BEGIN USART2_MspInit 1 */
/* USER CODE END USART2_MspInit 1 */
}
}
/**
* @brief UART MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param huart: UART handle pointer
* @retval None
*/
void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
{
if(huart->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspDeInit 0 */
/* USER CODE END USART1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_USART1_CLK_DISABLE();
/**USART1 GPIO Configuration
PB6 ------> USART1_TX
PB7 ------> USART1_RX
*/
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6|GPIO_PIN_7);
/* USER CODE BEGIN USART1_MspDeInit 1 */
/* USER CODE END USART1_MspDeInit 1 */
}
else if(huart->Instance==USART2)
{
/* USER CODE BEGIN USART2_MspDeInit 0 */
/* USER CODE END USART2_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_USART2_CLK_DISABLE();
/**USART2 GPIO Configuration
PA1 ------> USART2_DE
PA4 ------> USART2_TX
PA5 ------> USART2_RX
*/
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5);
/* USART2 DMA DeInit */
HAL_DMA_DeInit(huart->hdmarx);
HAL_DMA_DeInit(huart->hdmatx);
/* USART2 interrupt DeInit */
HAL_NVIC_DisableIRQ(USART2_IRQn);
/* USER CODE BEGIN USART2_MspDeInit 1 */
/* USER CODE END USART2_MspDeInit 1 */
}
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@@ -1,249 +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 --------------------------------------------------------*/
extern TIM_HandleTypeDef htim14;
extern TIM_HandleTypeDef htim16;
extern TIM_HandleTypeDef htim17;
extern DMA_HandleTypeDef hdma_usart2_rx;
extern DMA_HandleTypeDef hdma_usart2_tx;
extern UART_HandleTypeDef huart2;
/* 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 SVCall_IRQn 0 */
/* USER CODE END SVCall_IRQn 0 */
/* USER CODE BEGIN SVCall_IRQn 1 */
/* USER CODE END SVCall_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). */
/******************************************************************************/
/**
* @brief This function handles EXTI line 4 to 15 interrupts.
*/
void EXTI4_15_IRQHandler(void)
{
/* USER CODE BEGIN EXTI4_15_IRQn 0 */
/* USER CODE END EXTI4_15_IRQn 0 */
HAL_GPIO_EXTI_IRQHandler(SW2_Pin);
HAL_GPIO_EXTI_IRQHandler(SW1_Pin);
/* USER CODE BEGIN EXTI4_15_IRQn 1 */
/* USER CODE END EXTI4_15_IRQn 1 */
}
/**
* @brief This function handles DMA1 channel 1 interrupt.
*/
void DMA1_Channel1_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
/* USER CODE END DMA1_Channel1_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_usart2_tx);
/* USER CODE BEGIN DMA1_Channel1_IRQn 1 */
/* USER CODE END DMA1_Channel1_IRQn 1 */
}
/**
* @brief This function handles DMA1 channel 2 and channel 3 interrupts.
*/
void DMA1_Channel2_3_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel2_3_IRQn 0 */
/* USER CODE END DMA1_Channel2_3_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_usart2_rx);
/* USER CODE BEGIN DMA1_Channel2_3_IRQn 1 */
/* USER CODE END DMA1_Channel2_3_IRQn 1 */
}
/**
* @brief This function handles TIM14 global interrupt.
*/
void TIM14_IRQHandler(void)
{
/* USER CODE BEGIN TIM14_IRQn 0 */
/* USER CODE END TIM14_IRQn 0 */
HAL_TIM_IRQHandler(&htim14);
/* USER CODE BEGIN TIM14_IRQn 1 */
/* USER CODE END TIM14_IRQn 1 */
}
/**
* @brief This function handles TIM16 global interrupt.
*/
void TIM16_IRQHandler(void)
{
/* USER CODE BEGIN TIM16_IRQn 0 */
/* USER CODE END TIM16_IRQn 0 */
HAL_TIM_IRQHandler(&htim16);
/* USER CODE BEGIN TIM16_IRQn 1 */
/* USER CODE END TIM16_IRQn 1 */
}
/**
* @brief This function handles TIM17 global interrupt.
*/
void TIM17_IRQHandler(void)
{
/* USER CODE BEGIN TIM17_IRQn 0 */
/* USER CODE END TIM17_IRQn 0 */
HAL_TIM_IRQHandler(&htim17);
/* USER CODE BEGIN TIM17_IRQn 1 */
/* USER CODE END TIM17_IRQn 1 */
}
/**
* @brief This function handles USART2 interrupt.
*/
void USART2_IRQHandler(void)
{
/* USER CODE BEGIN USART2_IRQn 0 */
/* USER CODE END USART2_IRQn 0 */
HAL_UART_IRQHandler(&huart2);
/* USER CODE BEGIN USART2_IRQn 1 */
/* USER CODE END USART2_IRQn 1 */
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/

View File

@@ -1,268 +0,0 @@
/**
******************************************************************************
* @file startup_stm32c051xx.s
* @author MCD Application Team
* @brief STM32C051xx 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_DMA1_CH4_5_IRQHandler /* DMAMUX1, DMA1 Channel 4 and 5 */
.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 TIM2_IRQHandler /* TIM2 */
.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 I2C2_IRQHandler /* I2C1 */
.word SPI1_IRQHandler /* SPI1 */
.word SPI2_IRQHandler /* SPI1 */
.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_DMA1_CH4_5_IRQHandler
.thumb_set DMAMUX1_DMA1_CH4_5_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 TIM2_IRQHandler
.thumb_set TIM2_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 I2C2_IRQHandler
.thumb_set I2C2_IRQHandler,Default_Handler
.weak SPI1_IRQHandler
.thumb_set SPI1_IRQHandler,Default_Handler
.weak SPI2_IRQHandler
.thumb_set SPI2_IRQHandler,Default_Handler
.weak USART1_IRQHandler
.thumb_set USART1_IRQHandler,Default_Handler
.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler

View File

@@ -1,2 +0,0 @@
../Core/Src/crc.c:10:6:CRC8_107_add 3
../Core/Src/crc.c:21:9:CRC8_107_getChecksum 1

View File

@@ -1,2 +0,0 @@
Core/Src/crc.o: ../Core/Src/crc.c ../Core/Inc/crc.h
../Core/Inc/crc.h:

Binary file not shown.

View File

@@ -1,2 +0,0 @@
../Core/Src/crc.c:10:6:CRC8_107_add 8 static
../Core/Src/crc.c:21:9:CRC8_107_getChecksum 0 static

View File

@@ -1,40 +0,0 @@
../Core/Src/main.c:574:6:SystemClock_Config 3
../Core/Src/main.c:1088:6:HAL_TIM_PeriodElapsedCallback 19
../Core/Src/main.c:1214:6:HAL_GPIO_EXTI_Falling_Callback 5
../Core/Src/main.c:1238:6:HAL_UARTEx_RxEventCallback 4
../Core/Src/main.c:1259:6:HAL_UART_ErrorCallback 2
../Core/Src/main.c:1271:6:set_LED 1
../Core/Src/main.c:1281:6:rs485_transmit 1
../Core/Src/main.c:1293:6:comp_crc_header 1
../Core/Src/main.c:1632:6:update_Feeder_Target 2
../Core/Src/main.c:1659:6:set_Feeder_PWM 2
../Core/Src/main.c:1674:6:peel_motor 1
../Core/Src/main.c:1679:6:peel_brake 1
../Core/Src/main.c:1684:6:peel_ramp_update 9
../Core/Src/main.c:1728:6:drive_continuous 2
../Core/Src/main.c:1737:6:halt_all 1
../Core/Src/main.c:1754:6:identify_feeder 2
../Core/Src/main.c:1766:6:show_version 1
../Core/Src/main.c:1776:9:tenths_to_counts 1
../Core/Src/main.c:1785:10:calculate_expected_feed_time 2
../Core/Src/main.c:1805:6:start_feed 3
../Core/Src/main.c:1843:6:feed_state_machine_update 29
../Core/Src/main.c:2036:6:handle_vendor_options 5
../Core/Src/main.c:2094:6:onewire_delay_us 3
../Core/Src/main.c:2114:6:onewire_drive_low 1
../Core/Src/main.c:2119:6:onewire_release 1
../Core/Src/main.c:2124:9:onewire_read_bit 1
../Core/Src/main.c:2130:9:onewire_reset 1
../Core/Src/main.c:2147:6:onewire_write_bit 2
../Core/Src/main.c:2167:9:onewire_read_bit_slot 1
../Core/Src/main.c:2184:6:onewire_write_byte 2
../Core/Src/main.c:2193:9:onewire_read_byte 2
../Core/Src/main.c:2208:9:read_floor_address 2
../Core/Src/main.c:2238:9:write_floor_address 6
../Core/Src/main.c:1313:6:handleRS485Message 44
../Core/Src/main.c:2333:9:debug_itoa 6
../Core/Src/main.c:2349:9:debug_hex8 1
../Core/Src/main.c:2357:6:debug_output 5
../Core/Src/main.c:2420:6:reset_position_if_needed 3
../Core/Src/main.c:276:5:main 69
../Core/Src/main.c:2453:6:Error_Handler 1

View File

@@ -1,74 +0,0 @@
Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h \
../Core/Inc/photon_protocol.h ../Core/Inc/pid.h ../Core/Inc/crc.h
../Core/Inc/main.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:
../Core/Inc/photon_protocol.h:
../Core/Inc/pid.h:
../Core/Inc/crc.h:

Binary file not shown.

View File

@@ -1,40 +0,0 @@
../Core/Src/main.c:574:6:SystemClock_Config 64 static,ignoring_inline_asm
../Core/Src/main.c:1088:6:HAL_TIM_PeriodElapsedCallback 24 static
../Core/Src/main.c:1214:6:HAL_GPIO_EXTI_Falling_Callback 8 static
../Core/Src/main.c:1238:6:HAL_UARTEx_RxEventCallback 16 static
../Core/Src/main.c:1259:6:HAL_UART_ErrorCallback 8 static
../Core/Src/main.c:1271:6:set_LED 16 static
../Core/Src/main.c:1281:6:rs485_transmit 16 static
../Core/Src/main.c:1293:6:comp_crc_header 16 static
../Core/Src/main.c:1632:6:update_Feeder_Target 8 static
../Core/Src/main.c:1659:6:set_Feeder_PWM 0 static
../Core/Src/main.c:1674:6:peel_motor 0 static
../Core/Src/main.c:1679:6:peel_brake 0 static
../Core/Src/main.c:1684:6:peel_ramp_update 24 static
../Core/Src/main.c:1728:6:drive_continuous 0 static
../Core/Src/main.c:1737:6:halt_all 0 static
../Core/Src/main.c:1754:6:identify_feeder 8 static
../Core/Src/main.c:1766:6:show_version 8 static
../Core/Src/main.c:1776:9:tenths_to_counts 8 static
../Core/Src/main.c:1785:10:calculate_expected_feed_time 0 static
../Core/Src/main.c:1805:6:start_feed 40 static
../Core/Src/main.c:1843:6:feed_state_machine_update 32 static
../Core/Src/main.c:2036:6:handle_vendor_options 16 static
../Core/Src/main.c:2094:6:onewire_delay_us 16 static
../Core/Src/main.c:2114:6:onewire_drive_low 0 static
../Core/Src/main.c:2119:6:onewire_release 0 static
../Core/Src/main.c:2124:9:onewire_read_bit 0 static
../Core/Src/main.c:2130:9:onewire_reset 16 static
../Core/Src/main.c:2147:6:onewire_write_bit 16 static
../Core/Src/main.c:2167:9:onewire_read_bit_slot 16 static
../Core/Src/main.c:2184:6:onewire_write_byte 16 static
../Core/Src/main.c:2193:9:onewire_read_byte 16 static
../Core/Src/main.c:2208:9:read_floor_address 8 static,ignoring_inline_asm
../Core/Src/main.c:2238:9:write_floor_address 24 static,ignoring_inline_asm
../Core/Src/main.c:1313:6:handleRS485Message 64 static
../Core/Src/main.c:2333:9:debug_itoa 48 static
../Core/Src/main.c:2349:9:debug_hex8 40 static
../Core/Src/main.c:2357:6:debug_output 32 static
../Core/Src/main.c:2420:6:reset_position_if_needed 16 static,ignoring_inline_asm
../Core/Src/main.c:276:5:main 160 static,ignoring_inline_asm
../Core/Src/main.c:2453:6:Error_Handler 0 static,ignoring_inline_asm

View File

@@ -1,10 +0,0 @@
../Core/Src/stm32c0xx_hal_msp.c:68:6:HAL_MspInit 1
../Core/Src/stm32c0xx_hal_msp.c:91:6:HAL_ADC_MspInit 3
../Core/Src/stm32c0xx_hal_msp.c:143:6:HAL_ADC_MspDeInit 2
../Core/Src/stm32c0xx_hal_msp.c:174:6:HAL_TIM_Base_MspInit 5
../Core/Src/stm32c0xx_hal_msp.c:238:6:HAL_TIM_Encoder_MspInit 2
../Core/Src/stm32c0xx_hal_msp.c:269:6:HAL_TIM_MspPostInit 2
../Core/Src/stm32c0xx_hal_msp.c:311:6:HAL_TIM_Base_MspDeInit 5
../Core/Src/stm32c0xx_hal_msp.c:375:6:HAL_TIM_Encoder_MspDeInit 2
../Core/Src/stm32c0xx_hal_msp.c:404:6:HAL_UART_MspInit 6
../Core/Src/stm32c0xx_hal_msp.c:515:6:HAL_UART_MspDeInit 3

View File

@@ -1,70 +0,0 @@
Core/Src/stm32c0xx_hal_msp.o: ../Core/Src/stm32c0xx_hal_msp.c \
../Core/Inc/main.h ../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h
../Core/Inc/main.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:

View File

@@ -1,10 +0,0 @@
../Core/Src/stm32c0xx_hal_msp.c:68:6:HAL_MspInit 8 static
../Core/Src/stm32c0xx_hal_msp.c:91:6:HAL_ADC_MspInit 80 static
../Core/Src/stm32c0xx_hal_msp.c:143:6:HAL_ADC_MspDeInit 8 static
../Core/Src/stm32c0xx_hal_msp.c:174:6:HAL_TIM_Base_MspInit 24 static
../Core/Src/stm32c0xx_hal_msp.c:238:6:HAL_TIM_Encoder_MspInit 40 static
../Core/Src/stm32c0xx_hal_msp.c:269:6:HAL_TIM_MspPostInit 32 static
../Core/Src/stm32c0xx_hal_msp.c:311:6:HAL_TIM_Base_MspDeInit 8 static
../Core/Src/stm32c0xx_hal_msp.c:375:6:HAL_TIM_Encoder_MspDeInit 8 static
../Core/Src/stm32c0xx_hal_msp.c:404:6:HAL_UART_MspInit 80 static
../Core/Src/stm32c0xx_hal_msp.c:515:6:HAL_UART_MspDeInit 8 static

View File

@@ -1,12 +0,0 @@
../Core/Src/stm32c0xx_it.c:74:6:NMI_Handler 1
../Core/Src/stm32c0xx_it.c:89:6:HardFault_Handler 1
../Core/Src/stm32c0xx_it.c:104:6:SVC_Handler 1
../Core/Src/stm32c0xx_it.c:117:6:PendSV_Handler 1
../Core/Src/stm32c0xx_it.c:130:6:SysTick_Handler 1
../Core/Src/stm32c0xx_it.c:151:6:EXTI4_15_IRQHandler 1
../Core/Src/stm32c0xx_it.c:166:6:DMA1_Channel1_IRQHandler 1
../Core/Src/stm32c0xx_it.c:180:6:DMA1_Channel2_3_IRQHandler 1
../Core/Src/stm32c0xx_it.c:194:6:TIM14_IRQHandler 1
../Core/Src/stm32c0xx_it.c:208:6:TIM16_IRQHandler 1
../Core/Src/stm32c0xx_it.c:222:6:TIM17_IRQHandler 1
../Core/Src/stm32c0xx_it.c:236:6:USART2_IRQHandler 1

View File

@@ -1,72 +0,0 @@
Core/Src/stm32c0xx_it.o: ../Core/Src/stm32c0xx_it.c ../Core/Inc/main.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h \
../Core/Inc/stm32c0xx_it.h
../Core/Inc/main.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:
../Core/Inc/stm32c0xx_it.h:

Binary file not shown.

View File

@@ -1,12 +0,0 @@
../Core/Src/stm32c0xx_it.c:74:6:NMI_Handler 0 static
../Core/Src/stm32c0xx_it.c:89:6:HardFault_Handler 0 static
../Core/Src/stm32c0xx_it.c:104:6:SVC_Handler 0 static
../Core/Src/stm32c0xx_it.c:117:6:PendSV_Handler 0 static
../Core/Src/stm32c0xx_it.c:130:6:SysTick_Handler 8 static
../Core/Src/stm32c0xx_it.c:151:6:EXTI4_15_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:166:6:DMA1_Channel1_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:180:6:DMA1_Channel2_3_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:194:6:TIM14_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:208:6:TIM16_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:222:6:TIM17_IRQHandler 8 static
../Core/Src/stm32c0xx_it.c:236:6:USART2_IRQHandler 8 static

View File

@@ -1,45 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (14.3.rel1)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/crc.c \
../Core/Src/main.c \
../Core/Src/stm32c0xx_hal_msp.c \
../Core/Src/stm32c0xx_it.c \
../Core/Src/syscalls.c \
../Core/Src/sysmem.c \
../Core/Src/system_stm32c0xx.c
OBJS += \
./Core/Src/crc.o \
./Core/Src/main.o \
./Core/Src/stm32c0xx_hal_msp.o \
./Core/Src/stm32c0xx_it.o \
./Core/Src/syscalls.o \
./Core/Src/sysmem.o \
./Core/Src/system_stm32c0xx.o
C_DEPS += \
./Core/Src/crc.d \
./Core/Src/main.d \
./Core/Src/stm32c0xx_hal_msp.d \
./Core/Src/stm32c0xx_it.d \
./Core/Src/syscalls.d \
./Core/Src/sysmem.d \
./Core/Src/system_stm32c0xx.d
# Each subdirectory must supply rules for building sources it contributes
Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32C051xx -c -I../Core/Inc -I../Drivers/STM32C0xx_HAL_Driver/Inc -I../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32C0xx/Include -I../Drivers/CMSIS/Include -Oz -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
clean: clean-Core-2f-Src
clean-Core-2f-Src:
-$(RM) ./Core/Src/crc.cyclo ./Core/Src/crc.d ./Core/Src/crc.o ./Core/Src/crc.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32c0xx_hal_msp.cyclo ./Core/Src/stm32c0xx_hal_msp.d ./Core/Src/stm32c0xx_hal_msp.o ./Core/Src/stm32c0xx_hal_msp.su ./Core/Src/stm32c0xx_it.cyclo ./Core/Src/stm32c0xx_it.d ./Core/Src/stm32c0xx_it.o ./Core/Src/stm32c0xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32c0xx.cyclo ./Core/Src/system_stm32c0xx.d ./Core/Src/system_stm32c0xx.o ./Core/Src/system_stm32c0xx.su
.PHONY: clean-Core-2f-Src

View File

@@ -1,18 +0,0 @@
../Core/Src/syscalls.c:44:6:initialise_monitor_handles 1
../Core/Src/syscalls.c:48:5:_getpid 1
../Core/Src/syscalls.c:53:5:_kill 1
../Core/Src/syscalls.c:61:6:_exit 1
../Core/Src/syscalls.c:67:27:_read 2
../Core/Src/syscalls.c:80:27:_write 2
../Core/Src/syscalls.c:92:5:_close 1
../Core/Src/syscalls.c:99:5:_fstat 1
../Core/Src/syscalls.c:106:5:_isatty 1
../Core/Src/syscalls.c:112:5:_lseek 1
../Core/Src/syscalls.c:120:5:_open 1
../Core/Src/syscalls.c:128:5:_wait 1
../Core/Src/syscalls.c:135:5:_unlink 1
../Core/Src/syscalls.c:142:5:_times 1
../Core/Src/syscalls.c:148:5:_stat 1
../Core/Src/syscalls.c:155:5:_link 1
../Core/Src/syscalls.c:163:5:_fork 1
../Core/Src/syscalls.c:169:5:_execve 1

View File

@@ -1 +0,0 @@
Core/Src/syscalls.o: ../Core/Src/syscalls.c

Binary file not shown.

View File

@@ -1,18 +0,0 @@
../Core/Src/syscalls.c:44:6:initialise_monitor_handles 0 static
../Core/Src/syscalls.c:48:5:_getpid 0 static
../Core/Src/syscalls.c:53:5:_kill 8 static
../Core/Src/syscalls.c:61:6:_exit 8 static
../Core/Src/syscalls.c:67:27:_read 16 static
../Core/Src/syscalls.c:80:27:_write 16 static
../Core/Src/syscalls.c:92:5:_close 0 static
../Core/Src/syscalls.c:99:5:_fstat 0 static
../Core/Src/syscalls.c:106:5:_isatty 0 static
../Core/Src/syscalls.c:112:5:_lseek 0 static
../Core/Src/syscalls.c:120:5:_open 0 static
../Core/Src/syscalls.c:128:5:_wait 8 static
../Core/Src/syscalls.c:135:5:_unlink 8 static
../Core/Src/syscalls.c:142:5:_times 0 static
../Core/Src/syscalls.c:148:5:_stat 0 static
../Core/Src/syscalls.c:155:5:_link 8 static
../Core/Src/syscalls.c:163:5:_fork 8 static
../Core/Src/syscalls.c:169:5:_execve 8 static

View File

@@ -1 +0,0 @@
../Core/Src/sysmem.c:53:7:_sbrk 3

View File

@@ -1 +0,0 @@
Core/Src/sysmem.o: ../Core/Src/sysmem.c

Binary file not shown.

View File

@@ -1 +0,0 @@
../Core/Src/sysmem.c:53:7:_sbrk 8 static

View File

@@ -1,2 +0,0 @@
../Core/Src/system_stm32c0xx.c:142:6:SystemInit 1
../Core/Src/system_stm32c0xx.c:190:6:SystemCoreClockUpdate 4

View File

@@ -1,69 +0,0 @@
Core/Src/system_stm32c0xx.o: ../Core/Src/system_stm32c0xx.c \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:

View File

@@ -1,2 +0,0 @@
../Core/Src/system_stm32c0xx.c:142:6:SystemInit 0 static
../Core/Src/system_stm32c0xx.c:190:6:SystemCoreClockUpdate 16 static

View File

@@ -1,2 +0,0 @@
Core/Startup/startup_stm32c051c6tx.o: \
../Core/Startup/startup_stm32c051c6tx.s

View File

@@ -1,27 +0,0 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (14.3.rel1)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../Core/Startup/startup_stm32c051c6tx.s
OBJS += \
./Core/Startup/startup_stm32c051c6tx.o
S_DEPS += \
./Core/Startup/startup_stm32c051c6tx.d
# Each subdirectory must supply rules for building sources it contributes
Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
clean: clean-Core-2f-Startup
clean-Core-2f-Startup:
-$(RM) ./Core/Startup/startup_stm32c051c6tx.d ./Core/Startup/startup_stm32c051c6tx.o
.PHONY: clean-Core-2f-Startup

View File

@@ -1,27 +0,0 @@
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:202:13:HAL_MspInit 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:213:13:HAL_MspDeInit 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:176:19:HAL_DeInit 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:236:26:HAL_InitTick 4
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:139:19:HAL_Init 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:303:13:HAL_IncTick 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:314:17:HAL_GetTick 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:323:10:HAL_GetTickPrio 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:332:19:HAL_SetTickFreq 3
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:357:21:HAL_GetTickFreq 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:373:13:HAL_Delay 3
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:399:13:HAL_SuspendTick 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:415:13:HAL_ResumeTick 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:425:10:HAL_GetHalVersion 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:434:10:HAL_GetREVID 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:443:10:HAL_GetDEVID 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:452:10:HAL_GetUIDw0 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:461:10:HAL_GetUIDw1 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:470:10:HAL_GetUIDw2 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:498:6:HAL_DBGMCU_EnableDBGStopMode 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:507:6:HAL_DBGMCU_DisableDBGStopMode 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:516:6:HAL_DBGMCU_EnableDBGStandbyMode 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:525:6:HAL_DBGMCU_DisableDBGStandbyMode 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:554:6:HAL_SYSCFG_EnableRemap 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:569:6:HAL_SYSCFG_DisableRemap 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:582:6:HAL_SYSCFG_SetPinBinding 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:595:10:HAL_SYSCFG_GetPinBinding 1

View File

@@ -1,70 +0,0 @@
Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.o: \
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:

View File

@@ -1,27 +0,0 @@
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:202:13:HAL_MspInit 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:213:13:HAL_MspDeInit 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:176:19:HAL_DeInit 8 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:236:26:HAL_InitTick 16 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:139:19:HAL_Init 8 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:303:13:HAL_IncTick 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:314:17:HAL_GetTick 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:323:10:HAL_GetTickPrio 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:332:19:HAL_SetTickFreq 16 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:357:21:HAL_GetTickFreq 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:373:13:HAL_Delay 16 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:399:13:HAL_SuspendTick 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:415:13:HAL_ResumeTick 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:425:10:HAL_GetHalVersion 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:434:10:HAL_GetREVID 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:443:10:HAL_GetDEVID 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:452:10:HAL_GetUIDw0 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:461:10:HAL_GetUIDw1 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:470:10:HAL_GetUIDw2 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:498:6:HAL_DBGMCU_EnableDBGStopMode 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:507:6:HAL_DBGMCU_DisableDBGStopMode 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:516:6:HAL_DBGMCU_EnableDBGStandbyMode 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:525:6:HAL_DBGMCU_DisableDBGStandbyMode 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:554:6:HAL_SYSCFG_EnableRemap 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:569:6:HAL_SYSCFG_DisableRemap 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:582:6:HAL_SYSCFG_SetPinBinding 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal.c:595:10:HAL_SYSCFG_GetPinBinding 0 static

View File

@@ -1,17 +0,0 @@
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:132:6:HAL_NVIC_SetPriority 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:149:6:HAL_NVIC_EnableIRQ 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:166:6:HAL_NVIC_DisableIRQ 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:179:6:HAL_NVIC_SystemReset 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:192:10:HAL_SYSTICK_Config 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:224:10:HAL_NVIC_GetPriority 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:238:6:HAL_NVIC_SetPendingIRQ 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:257:10:HAL_NVIC_GetPendingIRQ 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:274:6:HAL_NVIC_ClearPendingIRQ 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:291:6:HAL_SYSTICK_CLKSourceConfig 2
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:318:13:HAL_SYSTICK_Callback 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:309:6:HAL_SYSTICK_IRQHandler 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:337:6:HAL_MPU_Enable 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:351:6:HAL_MPU_Disable 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:364:6:HAL_MPU_EnableRegion 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:380:6:HAL_MPU_DisableRegion 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:398:6:HAL_MPU_ConfigRegion 1

View File

@@ -1,70 +0,0 @@
Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.o: \
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:

View File

@@ -1,17 +0,0 @@
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:132:6:HAL_NVIC_SetPriority 8 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:149:6:HAL_NVIC_EnableIRQ 0 static,ignoring_inline_asm
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:166:6:HAL_NVIC_DisableIRQ 0 static,ignoring_inline_asm
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:179:6:HAL_NVIC_SystemReset 0 static,ignoring_inline_asm
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:192:10:HAL_SYSTICK_Config 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:224:10:HAL_NVIC_GetPriority 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:238:6:HAL_NVIC_SetPendingIRQ 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:257:10:HAL_NVIC_GetPendingIRQ 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:274:6:HAL_NVIC_ClearPendingIRQ 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:291:6:HAL_SYSTICK_CLKSourceConfig 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:318:13:HAL_SYSTICK_Callback 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:309:6:HAL_SYSTICK_IRQHandler 8 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:337:6:HAL_MPU_Enable 0 static,ignoring_inline_asm
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:351:6:HAL_MPU_Disable 0 static,ignoring_inline_asm
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:364:6:HAL_MPU_EnableRegion 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:380:6:HAL_MPU_DisableRegion 0 static
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_cortex.c:398:6:HAL_MPU_ConfigRegion 0 static

View File

@@ -1,14 +0,0 @@
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:984:13:DMA_SetConfig 3
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:1027:13:DMA_CalcDMAMUXChannelBaseAndMask 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:151:19:HAL_DMA_Init 4
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:241:19:HAL_DMA_DeInit 3
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:345:19:HAL_DMA_Start 3
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:392:19:HAL_DMA_Start_IT 6
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:466:19:HAL_DMA_Abort 4
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:527:19:HAL_DMA_Abort_IT 4
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:592:19:HAL_DMA_PollForTransfer 13
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:724:6:HAL_DMA_IRQHandler 12
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:818:19:HAL_DMA_RegisterCallback 7
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:870:19:HAL_DMA_UnRegisterCallback 8
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:946:22:HAL_DMA_GetState 1
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c:958:10:HAL_DMA_GetError 1

View File

@@ -1,70 +0,0 @@
Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.o: \
../Drivers/STM32C0xx_HAL_Driver/Src/stm32c0xx_hal_dma.c \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h \
../Drivers/CMSIS/Include/core_cm0plus.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h \
../Core/Inc/stm32c0xx_hal_conf.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h \
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_system.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c0xx.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/stm32c051xx.h:
../Drivers/CMSIS/Include/core_cm0plus.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32C0xx/Include/system_stm32c0xx.h:
../Core/Inc/stm32c0xx_hal_conf.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_def.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_rcc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_rcc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_gpio_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_dma_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_cortex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_ll_adc.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_adc_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_exti.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_flash_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_pwr_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_tim_ex.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart.h:
../Drivers/STM32C0xx_HAL_Driver/Inc/stm32c0xx_hal_uart_ex.h:

Some files were not shown because too many files have changed in this diff Show More