mirror of
https://github.com/len0rd/personal-website.git
synced 2025-09-09 23:57:43 -04:00
happy with the blog portion. Recipes needs to be re-integrated
This commit is contained in:
parent
932c17d274
commit
67fd3d91af
29 changed files with 412 additions and 2194 deletions
|
@ -1,37 +0,0 @@
|
|||
img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-top: 2vh;
|
||||
padding-bottom: 2vh;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
iframe {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
margin-top: 2vh;
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
|
||||
p {
|
||||
padding-left: 5%;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
ol {
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
li p {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.sticky-offset {
|
||||
top: 56px !important;
|
||||
}
|
|
@ -1,65 +0,0 @@
|
|||
.icon-footer {
|
||||
padding: 3%;
|
||||
padding: 2vh;
|
||||
}
|
||||
|
||||
.bgimage {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: url('../img/logo.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.bgimage h1 {
|
||||
color: white;
|
||||
text-shadow: 2px 2px #333;
|
||||
}
|
||||
|
||||
.center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
}
|
||||
|
||||
|
||||
.cenMain {
|
||||
padding-top: 40%;
|
||||
padding-bottom: 40%;
|
||||
padding-top: 40vh;
|
||||
padding-bottom: 40vh;
|
||||
width: 60%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.container-cenMain {
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.topMargin {
|
||||
padding-top: 5%;
|
||||
padding-top: 5vh;
|
||||
width: 60%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.code {
|
||||
background-color: #09003d;
|
||||
}
|
||||
|
||||
.card-soft-link {
|
||||
color: #5AB2DA;
|
||||
padding-left: 2%;
|
||||
}
|
||||
|
||||
.card-homepage {
|
||||
background-color: rgba(0, 0, 0, 0.1) !important;
|
||||
padding: 2%;
|
||||
height: 100%;
|
||||
}
|
75
assets/diagrams/hal_concept.drawio
Normal file
75
assets/diagrams/hal_concept.drawio
Normal file
|
@ -0,0 +1,75 @@
|
|||
<mxfile host="65bd71144e">
|
||||
<diagram id="SKV8PHPIui5c4Fc6kAOh" name="Page-1">
|
||||
<mxGraphModel dx="889" dy="665" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="11" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" parent="1" source="2" target="8" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=diamond;endFill=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="2" target="12" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="460" y="100"/>
|
||||
<mxPoint x="425" y="100"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="2" value="Hardware Abstraction Layer (Interfaces of core hardware drivers)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="260" width="360" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="3" value="ISPI" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="4" value="IGPIO" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="320" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5" value="IUART" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="390" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6" value="II2C" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="460" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="7" value="..." style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="530" y="290" width="80" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="13" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" parent="1" source="8" target="12" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="8" value="Device Drivers <br>(decoupled from underlying<br>&nbsp;hardware driver implementation)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="120" width="180" height="100" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="9" value="IMU" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="180" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="10" value="etc etc" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="320" y="180" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="12" value="Libraries<br>(Business logic that uses a combination of device and<br>hardware driver interfaces)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="10" width="350" height="60" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=classicThin;endFill=0;" parent="1" source="15" target="5" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="15" value="Hardware-specific implementations of interfaces" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="245" y="370" width="360" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="17" value="MCU X<br>implementation" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="262.5" y="410" width="117.5" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="18" value="MCU Y<br>implementation" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="410" y="410" width="120" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="19" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="400" width="20" height="90" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="20" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="400" width="20" height="90" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="22" value="<h1><br></h1><div>Implementation is build-time selectable depending on your target environment</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;align=right;" parent="1" vertex="1">
|
||||
<mxGeometry x="20" y="370" width="190" height="110" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
112
assets/diagrams/hal_concept_with_board.drawio
Normal file
112
assets/diagrams/hal_concept_with_board.drawio
Normal file
|
@ -0,0 +1,112 @@
|
|||
<mxfile host="65bd71144e">
|
||||
<diagram id="SKV8PHPIui5c4Fc6kAOh" name="Page-1">
|
||||
<mxGraphModel dx="1739" dy="1765" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="30" value="Application ABC<br>- top-level execution (main())<br>- initializes libraries required for app using<br>interface references from Board Data ABC" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="155" y="-200" width="270" height="160" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="11" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" parent="1" source="2" target="8" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=diamond;endFill=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="2" target="12" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="460" y="90"/>
|
||||
<mxPoint x="470" y="90"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="2" value="Hardware Abstraction Layer (Interfaces of core hardware drivers)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="260" width="360" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="3" value="ISPI" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="4" value="IGPIO" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="320" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5" value="IUART" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="390" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6" value="II2C" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="460" y="290" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="7" value="..." style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="530" y="290" width="80" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="13" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" parent="1" source="8" target="12" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" edge="1" parent="1" source="8" target="27">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="340" y="90"/>
|
||||
<mxPoint x="290" y="90"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="8" value="Device Drivers <br>(decoupled from underlying<br>&nbsp;hardware driver implementation)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="120" width="180" height="100" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="9" value="IMU" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="250" y="180" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="10" value="etc etc" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="320" y="180" width="70" height="40" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="31" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" edge="1" parent="1" source="12" target="27">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="12" value="Libraries<br>(Business logic that uses a combination of device and<br>hardware driver interfaces)" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="325" y="10" width="290" height="60" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=classicThin;endFill=0;" parent="1" source="15" target="5" edge="1">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="26" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" edge="1" parent="1" source="15" target="23">
|
||||
<mxGeometry relative="1" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="15" value="Hardware-specific implementations of interfaces" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="245" y="370" width="360" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="17" value="MCU X<br>implementation" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="262.5" y="410" width="117.5" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="18" value="MCU Y<br>implementation" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="410" y="410" width="120" height="70" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="19" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="210" y="400" width="20" height="90" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="20" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="620" y="400" width="20" height="90" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="22" value="<h1><br></h1><div>Implementation is build-time selectable depending on your target environment</div>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;align=right;" parent="1" vertex="1">
|
||||
<mxGeometry x="20" y="370" width="190" height="110" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="29" style="edgeStyle=orthogonalEdgeStyle;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=diamond;endFill=0;" edge="1" parent="1" source="23" target="27">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="105" y="90"/>
|
||||
<mxPoint x="290" y="90"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="23" value="Board Configuration info:<br>- gpio configuration<br>- clock configuration<br>- any special bootup specifics" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="-30" y="120" width="270" height="105" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="24" value="Board A<br>Has "MCU X"" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="-20" y="200" width="120" height="60" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="25" value="Board B<br>Has "MCU Y"" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="110" y="200" width="120" height="60" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="27" value="Board Data ABC<br>- Selects board<br>- initializes board-specific drivers that are<br>required by the application" style="html=1;align=center;verticalAlign=top;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="155" y="-120" width="270" height="80" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
Loading…
Add table
Add a link
Reference in a new issue