-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an architecture chart to display project and platform specificity (…
- Loading branch information
1 parent
be96e0e
commit 4c0075e
Showing
6 changed files
with
152 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
site | ||
.venv | ||
.venv | ||
.bkp |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8" pages="2"> | ||
<diagram name="Light" id="AVefi_4B2r27eV40Z59U"> | ||
<mxGraphModel dx="989" dy="582" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0" /> | ||
<mxCell id="1" parent="0" /> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-5" value="Project&nbsp;<span style="background-color: initial;">Specific</span>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> | ||
<mxGeometry x="280" y="130" width="120" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-6" value="Project Independent" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> | ||
<mxGeometry x="500" y="130" width="160" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-7" value="Platform<div>Specific</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> | ||
<mxGeometry x="140" y="330" width="70" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-8" value="Platform<div>Independent</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> | ||
<mxGeometry x="135" y="210" width="80" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-13" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#dae8fc;opacity=60;" parent="1" vertex="1"> | ||
<mxGeometry x="210" y="280" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-14" value="Bindings" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" parent="1" vertex="1"> | ||
<mxGeometry x="220" y="280" width="230" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-15" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br></span><span style="font-weight: 400;">projects/Demo/Blink/platforms/stm32f767/bindings.cc</span><div style="text-align: left;"><span style="font-weight: 400;">projects/Demo/Blink/platforms/raspi/bindings.cc</span><span style="font-weight: normal; font-size: 10px;"><br></span></div>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" parent="1" vertex="1"> | ||
<mxGeometry x="210" y="330" width="250" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-17" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#f8cecc;opacity=60;" parent="1" vertex="1"> | ||
<mxGeometry x="460" y="280" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-18" value="MCAL<br><font style="font-size: 12px;">(MicroContoller Abstraction Layer)</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" parent="1" vertex="1"> | ||
<mxGeometry x="470" y="280" width="230" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-19" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br>mcal/stm32f767/periph/adc.h<br><div style="text-align: left;"><span style="background-color: initial;">mcal/raspi/periph/adc.h</span></div></span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" parent="1" vertex="1"> | ||
<mxGeometry x="460" y="330" width="250" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-1" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#d5e8d4;opacity=60;" parent="1" vertex="1"> | ||
<mxGeometry x="210" y="160" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-9" value="Application Code" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" parent="1" vertex="1"> | ||
<mxGeometry x="220" y="160" width="230" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-10" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br><div style="text-align: left;"><span style="background-color: initial;">projects/Demo/Blink/main.cc</span></div>projects/Demo/Blink/bindings.h</span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;labelBackgroundColor=none;textShadow=0;labelBorderColor=none;fontSize=10;" parent="1" vertex="1"> | ||
<mxGeometry x="220" y="210" width="230" height="75" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-21" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#fff2cc;opacity=60;" parent="1" vertex="1"> | ||
<mxGeometry x="460" y="160" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-22" value="Peripheral Interfaces<div style="font-size: 14px;">&amp; Shared Code&nbsp;<br style="font-size: 14px;"></div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" parent="1" vertex="1"> | ||
<mxGeometry x="470" y="160" width="230" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-23" value="<span style="font-weight: 400; font-size: 10px;">Example Paths:<br><br><div style="text-align: left;"><span style="background-color: initial;">shared/periph/adc.h</span></div></span><span style="font-weight: normal; font-size: 10px;">shared/util/mappers/lookup_table.h<br style="font-size: 10px;"></span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" parent="1" vertex="1"> | ||
<mxGeometry x="480" y="210" width="200" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-26" value="" style="endArrow=block;html=1;rounded=0;startArrow=block;startFill=1;endFill=1;" parent="1" edge="1"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="160" y="280" as="sourcePoint" /> | ||
<mxPoint x="720" y="280" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="lLjQft1QgtvO7yPWeCVP-27" value="" style="endArrow=block;html=1;rounded=0;startArrow=block;startFill=1;endFill=1;" parent="1" edge="1"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="460" y="420" as="sourcePoint" /> | ||
<mxPoint x="460" y="130" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
<diagram name="Dark" id="2UDOZF7GKoJFMiVs2ryz"> | ||
<mxGraphModel dx="989" dy="582" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" background="#000000" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-0" /> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-1" parent="tRIXiKq6z88w_5JdcBh1-0" /> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-2" value="Project&nbsp;<span style="background-color: initial;">Specific</span>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FFFFFF;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="280" y="130" width="120" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-3" value="Project Independent" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FFFFFF;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="500" y="130" width="160" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-4" value="Platform<div>Specific</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FFFFFF;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="140" y="330" width="70" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-5" value="Platform<div>Independent</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#FFFFFF;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="135" y="210" width="80" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-6" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#dae8fc;opacity=80;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="210" y="280" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-7" value="Bindings" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="300" y="280" width="70" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-8" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br></span><span style="font-weight: 400;">projects/Demo/Blink/platforms/stm32f767/bindings.cc</span><div style="text-align: left;"><span style="font-weight: 400;">projects/Demo/Blink/platforms/raspi/bindings.cc</span><span style="font-weight: normal; font-size: 10px;"><br></span></div>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="210" y="330" width="250" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-9" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#f8cecc;opacity=80;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="460" y="280" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-10" value="MCAL<br><font style="font-size: 12px;">(MicroContoller Abstraction Layer)</font>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="480" y="280" width="210" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-11" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br>mcal/stm32f767/periph/adc.h<br><div style="text-align: left;"><span style="background-color: initial;">mcal/raspi/periph/adc.h</span></div></span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="490" y="330" width="190" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-12" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#d5e8d4;opacity=80;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="210" y="160" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-13" value="Application Code" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="250" y="160" width="170" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-14" value="<span style="font-weight: normal; font-size: 10px;">Example Paths:<br><br><div style="text-align: left;"><span style="background-color: initial;">projects/Demo/Blink/main.cc</span></div>projects/Demo/Blink/bindings.h</span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;labelBackgroundColor=none;textShadow=0;labelBorderColor=none;fontSize=10;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="240" y="210" width="190" height="75" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-15" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=none;fillColor=#fff2cc;opacity=80;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="460" y="160" width="250" height="120" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-16" value="Peripheral Interfaces<div style="font-size: 14px;">&amp; Shared Code&nbsp;<br style="font-size: 14px;"></div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=14;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="510" y="160" width="150" height="40" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-17" value="<span style="font-weight: 400; font-size: 10px;">Example Paths:<br><br><div style="text-align: left;"><span style="background-color: initial;">shared/periph/adc.h</span></div></span><span style="font-weight: normal; font-size: 10px;">shared/util/mappers/lookup_table.h<br style="font-size: 10px;"></span>" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fontStyle=3;fontFamily=Helvetica;fontSize=10;" vertex="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry x="480" y="210" width="200" height="70" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-18" value="" style="endArrow=block;html=1;rounded=0;startArrow=block;startFill=1;endFill=1;strokeColor=#FFFFFF;" edge="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="160" y="280" as="sourcePoint" /> | ||
<mxPoint x="720" y="280" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="tRIXiKq6z88w_5JdcBh1-19" value="" style="endArrow=block;html=1;rounded=0;startArrow=block;startFill=1;endFill=1;strokeColor=#FFFFFF;" edge="1" parent="tRIXiKq6z88w_5JdcBh1-1"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="460" y="420" as="sourcePoint" /> | ||
<mxPoint x="460" y="130" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters