Added architecture diagram to the documentation resources.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@819 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2009-03-08 15:14:11 +00:00
parent 5a176878c4
commit d730c17bf2
3 changed files with 485 additions and 0 deletions

BIN
docs/rsc/arch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

483
docs/rsc/arch.svg Normal file
View File

@ -0,0 +1,483 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="744.09448"
height="1052.3622"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45.1"
sodipodi:docbase="D:\Progetti\ChibiOS-RT\docs\rsc"
sodipodi:docname="arch.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.0"
inkscape:export-filename="D:\Progetti\ChibiOS-RT\docs\rsc\arch.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mstart"
style="overflow:visible">
<path
id="path4176"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) translate(0,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mend"
style="overflow:visible;">
<path
id="path4179"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) rotate(180) translate(0,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;">
<path
id="path4155"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.5"
inkscape:cx="381.19461"
inkscape:cy="372.32275"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:window-width="1150"
inkscape:window-height="779"
inkscape:window-x="132"
inkscape:window-y="61"
width="744.09449px"
height="1052.3622px"
gridspacingx="5px"
gridspacingy="5px"
showgrid="true"
gridtolerance="10000"
inkscape:object-paths="false"
inkscape:grid-points="true" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Livello 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g4793">
<rect
y="912.36493"
x="199.46147"
height="30.412334"
width="390.54523"
id="rect2178"
style="fill:#e6e6e6;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<text
id="text3154"
y="932.20642"
x="368.92041"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
id="tspan3158"
y="932.20642"
x="368.92041"
sodipodi:role="line">Hardware</tspan></text>
</g>
<g
id="g4757">
<rect
y="862.96753"
x="200.00717"
height="29.387463"
width="350.00034"
id="rect3162"
style="fill:#afdde9;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<text
id="text3164"
y="882.20642"
x="348.92041"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="882.20642"
x="348.92041"
id="tspan3166"
sodipodi:role="line">Port Code</tspan></text>
</g>
<g
id="g4684"
transform="translate(-5,-3.0517578e-5)">
<rect
rx="0"
ry="0"
y="602.13257"
x="245"
height="140.22964"
width="30.062685"
id="rect4383"
style="fill:#d5e5ff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4385"
y="-257.15527"
x="651.88171"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="-257.15527"
x="651.88171"
id="tspan4387"
sodipodi:role="line">Threads</tspan></text>
</g>
<g
id="g4705">
<rect
y="602.36218"
x="400.46265"
height="139.65994"
width="29.537348"
id="rect4403"
style="fill:#aaeeff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4405"
y="-411.69873"
x="621.34906"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="-411.69873"
x="621.34906"
id="tspan4407"
sodipodi:role="line">Mutexes Condvars</tspan></text>
</g>
<g
id="g4732">
<path
sodipodi:nodetypes="ccccccc"
id="path4351"
d="M 200,842.36218 L 315,842.36218 L 315,812.36218 L 230,812.36218 L 230,602.36218 L 200,602.36218 L 200,842.36218 z "
style="fill:#dbdee3;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
id="text4353"
y="830.7196"
x="218.30615"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="830.7196"
x="218.30615"
id="tspan4355"
sodipodi:role="line">Virtual Timers</tspan></text>
</g>
<g
id="g4663"
transform="translate(-9.5260085,-0.4740067)">
<rect
y="602.29895"
x="449.93674"
height="140.12651"
width="30.009396"
id="rect4501"
style="fill:#afc6e9;fill-opacity:1;stroke:#000000;stroke-width:0.82145709;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4503"
y="-462.28809"
x="643.93591"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="-462.28809"
x="643.93591"
id="tspan4505"
sodipodi:role="line">Messages</tspan></text>
</g>
<g
id="g4604"
transform="translate(-9.5260199,-0.4739801)">
<rect
y="602.36218"
x="330"
height="90"
width="30"
id="rect4541"
style="fill:#aaffcc;fill-opacity:1;stroke:#000000;stroke-width:0.94796026;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4543"
y="-341.64258"
x="621.28259"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
id="tspan4550"
y="-341.64258"
x="621.28259"
sodipodi:role="line">Mailboxes</tspan></text>
</g>
<g
id="g4689"
transform="translate(-5,2.6171874e-6)">
<path
id="path4596"
d="M 285.5,601.86218 L 285.5,741.86218 L 395.5,741.86218 L 395.5,711.86218 L 315.5,711.86218 L 315.5,601.86218 L 285.5,601.86218 z "
style="fill:#aaccff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4372"
y="-296.64258"
x="641.63708"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="-296.64258"
x="641.63708"
id="tspan4374"
sodipodi:role="line">Semaphores</tspan></text>
</g>
<g
id="g4620"
transform="translate(-9.5260199,-0.4739801)">
<rect
y="602.36218"
x="370"
height="90"
width="30"
id="rect4611"
style="fill:#d5e5ff;fill-opacity:1;stroke:#000000;stroke-width:0.94796026;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4613"
y="-381.41797"
x="616.88904"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
id="tspan4615"
y="-381.41797"
x="616.88904"
sodipodi:role="line">I/O Queues</tspan></text>
</g>
<g
id="g4668"
transform="translate(-10.000195,-0.4105261)">
<rect
y="602.36334"
x="490.41074"
height="139.99883"
width="30.009396"
id="rect4643"
style="fill:#f4d7e3;fill-opacity:1;stroke:#000000;stroke-width:0.82108277;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<text
transform="matrix(0,1,-1,0,0,0)"
id="text4659"
y="-502.28809"
x="639.01013"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="-502.28809"
x="639.01013"
id="tspan4661"
sodipodi:role="line">Event Flags</tspan></text>
</g>
<g
id="g4737">
<path
id="path4727"
d="M 240,762.36218 L 240,792.36218 L 325,792.36218 L 325,842.36218 L 425,842.36218 L 425,792.36218 L 510,792.36218 L 510,762.36218 L 240,762.36218 z "
style="fill:#d7f4d7;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
id="text4359"
y="807.20642"
x="349.2749"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="807.20642"
x="349.2749"
id="tspan4361"
sodipodi:role="line">Scheduler</tspan></text>
</g>
<g
id="g4770">
<path
id="path4752"
d="M 435,812.36218 L 435,842.36218 L 550,842.36218 L 550,602.36218 L 520,602.36218 L 520,812.36218 L 435,812.36218 z "
style="fill:#f4eed7;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
inkscape:transform-center-y="43.82666"
inkscape:transform-center-x="44.846436"
id="text4766"
y="830.7196"
x="439.0498"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="830.7196"
x="439.0498"
id="tspan4768"
sodipodi:role="line">Interrupts Handling</tspan></text>
</g>
<g
id="g4785">
<path
id="path4775"
d="M 200,582.36218 L 200,527.36218 L 590,527.36218 L 590,892.36218 L 560,892.36218 L 560,582.36218 L 200,582.36218 z "
style="fill:#d5d5ff;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
id="text4781"
y="557.36218"
x="295"
style="font-size:11px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
xml:space="preserve"><tspan
y="557.36218"
x="295"
id="tspan4783"
sodipodi:role="line">Device Drivers and Application Code</tspan></text>
</g>
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow2Mend)"
d="M 215,582.36218 L 214.8,601.96218"
id="path4798"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 255.2,582.36218 L 255,601.96218"
id="path4802"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 295.2,582.76218 L 295,602.36218"
id="path4804"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 335,582.36218 L 334.8,601.96218"
id="path4806"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 375,582.36218 L 374.8,601.96218"
id="path4808"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 415,582.76218 L 414.8,602.36218"
id="path4810"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 455,582.76218 L 454.8,602.36218"
id="path4812"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 495,582.76218 L 494.8,602.36218"
id="path4814"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 535,582.76218 L 534.8,602.36218"
id="path4816"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 255.2,742.76218 L 255,762.36218"
id="path4818"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 335,742.76218 L 334.8,762.36218"
id="path4820"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 335.2,692.76218 L 335,712.36218"
id="path4822"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 375,692.76218 L 374.8,712.36218"
id="path4824"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 415.2,742.36218 L 415,761.96218"
id="path4826"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 455,742.76218 L 454.8,762.36218"
id="path4828"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 495,742.36218 L 494.8,761.96218"
id="path4830"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 275,792.76218 L 274.8,812.36218"
id="path4832"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 275.2,842.36218 L 275,861.96218"
id="path4834"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 375.2,842.76218 L 375,862.36218"
id="path4836"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 490,842.76218 L 489.8,862.36218"
id="path4838"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 575,892.76218 L 574.8,912.36218"
id="path4840"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow2Mend);stroke-opacity:1"
d="M 375.2,892.76218 L 375,912.36218"
id="path4842"
inkscape:connector-type="polyline" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:none;stroke-opacity:1;marker-start:url(#Arrow2Mstart)"
d="M 490.2,792.76218 L 490,812.36218"
id="path4844"
inkscape:connector-type="polyline" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -22,6 +22,8 @@ After 1.0.0:
* Remove port_puts() from all the ports.
* Stack sizes article into the documentation.
* Logo...
- Code examples into the documentation.
- Architecture diagrams.
After 1.2.0:
X Abstract I/O channels rather than just serial ports.