|
3 | 3 | <head>
|
4 | 4 | <title>avr-rust :: Homepage</title>
|
5 | 5 | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
6 |
| - |
7 |
| - <style> |
8 |
| - .avr-rust-links li { |
9 |
| - padding-bottom: 10px; |
10 |
| - } |
11 |
| - </style> |
12 | 6 | </head>
|
13 | 7 |
|
14 |
| - <body class="text-center"> |
15 |
| - <h1>The avr-rust Project Homepage</h1> |
16 |
| - |
17 |
| - <p> |
18 |
| - An open source project adding AVR microcontroller support to Rust. |
19 |
| - </p> |
20 |
| - |
21 |
| - <img src="res/images/avr-rust-logo.png" /> |
| 8 | + <body> |
| 9 | + <div class="container"> |
| 10 | + <div class="text-center"> |
| 11 | + <h1>The avr-rust Project Homepage</h1> |
22 | 12 |
|
23 |
| - <p> |
24 |
| - The avr-rust compiler, once existing as a <a href="https://github.com/avr-rust/rust">fork</a>, has since been merged into upstream Rust as of July 2020. <br /> |
25 |
| - The standard Rust nightly compiler can be used to compile crates for AVR - no compiling from source required. |
26 |
| - </p> |
| 13 | + <p> |
| 14 | + An open source project adding AVR microcontroller support to Rust. |
| 15 | + </p> |
27 | 16 |
|
28 |
| - <p> |
29 |
| - The recommended way to use avr-rust is via <a href="#installation-rustup">rustup</a> using the official nightly version of the Rust compiler. |
30 |
| - </p> |
| 17 | + <img src="res/images/avr-rust-logo.png" /> |
31 | 18 |
|
32 |
| - <hr /> |
| 19 | + <p> |
| 20 | + The avr-rust compiler, once existing as a <a href="https://github.com/avr-rust/rust">fork</a>, has since been merged into upstream Rust as of July 2020. <br /> |
| 21 | + The standard Rust nightly compiler can be used to compile crates for AVR - no compiling from source required. |
| 22 | + </p> |
33 | 23 |
|
34 |
| - <div class="container avr-rust-links"> |
35 |
| - <div class="row"> |
36 |
| - <div class="col-md-3"> |
37 |
| - <div class="card-header"> |
38 |
| - <h3 class="my-0 font-weight-normal">Links and Resources</h3> |
39 |
| - </div> |
40 |
| - <ul class="pull-left" style="list-style-type: none"> |
41 |
| - <li> |
42 |
| - <a href="https://github.com/avr-rust"> |
43 |
| - <img src="res/images/github-logo.png" style="width: 100px"> |
44 |
| - <strong>GitHub</strong> |
45 |
| - </a> |
46 |
| - </li> |
47 |
| - <li> |
48 |
| - <a href="https://gitter.im/avr-rust/Lobby"> |
49 |
| - <div> |
50 |
| - <img src="res/images/gitter-logo.png" style="width: 100px"> |
51 |
| - <strong>for discussion</strong> |
52 |
| - </div> |
53 |
| - </a> |
54 |
| - </li> |
55 |
| - <li style="list-style-type: circle"> |
56 |
| - <a href="https://github.com/avr-rust/awesome-avr-rust" target="_blank"><strong>list of avr-rust projects</strong></a> |
57 |
| - </li> |
58 |
| - <li style="list-style-type: circle"> |
59 |
| - <a href="https://github.com/rust-lang/rust/labels/O-AVR" target="_blank"><strong>compiler issue tracker</strong></a> |
60 |
| - </li> |
61 |
| - <li style="list-style-type: circle"> |
62 |
| - <a href="https://github.com/avr-rust/rust/issues" target="_blank"><strong>legacy compiler issue tracker (read only)</strong></a> |
63 |
| - </li> |
64 |
| - </ul> |
65 |
| - </div> |
66 |
| - <div class="col-lg-3"> |
67 |
| - <div class="card-deck mb-3 text-center"> |
68 |
| - <div class="card mb-4 box-shadow"> |
69 |
| - <a href="https://book.avr-rust.com/" target="_blank"><button type="button" class="btn btn-lg btn-block btn-default">Open the Guidebook</button></a> |
70 |
| - </div> |
71 |
| - </div> |
72 |
| - </div> |
73 |
| - <div class="col-lg-3 pull-right"> |
74 |
| - <div class="card-deck mb-3 text-center"> |
75 |
| - <div class="card mb-4 box-shadow"> |
76 |
| - <div class="card-header"> |
77 |
| - <h3 class="my-0 font-weight-normal">Installation Instructions</h3> |
78 |
| - </div> |
79 |
| - <div class="card-body"> |
80 |
| - <a href="#installation-rustup"><button type="button" class="btn btn-lg btn-block btn-primary">Install with Rustup</button></a> |
81 |
| - <hr /> |
82 |
| - <a href="https://github.com/avr-rust/rust/wiki"><button type="button" class="btn btn-lg btn-block btn-primary">Compile from Source</button></a> |
83 |
| - </div> |
84 |
| - </div> |
85 |
| - </div> |
86 |
| - </div> |
| 24 | + <p> |
| 25 | + The recommended way to use avr-rust is via <a href="#installation-rustup">rustup</a> using the official nightly version of the Rust compiler. |
| 26 | + </p> |
87 | 27 | </div>
|
88 |
| - </div> |
89 |
| - |
90 |
| - <hr /> |
91 |
| - |
92 |
| - <div class="container"> |
93 |
| - <a href="https://github.com/rust-lang/rust/labels/O-AVR"><button type="button" class="btn btn-lg btn-block btn-primary">Report a compiler issue</button></a> |
94 |
| - <p><small> |
95 |
| - AVR compiler issues are tracked on the official Rust GitHub repository. After creation, the triage team will tag the issue as <a href="https://github.com/rust-lang/rust/labels/O-AVR" target="_blank">O-AVR</a> for you. |
96 |
| - </small></p> |
97 |
| - </div> |
98 |
| - |
99 | 28 |
|
100 |
| - <div style="height: 700px"> |
101 |
| - </div> |
| 29 | + <hr /> |
102 | 30 |
|
103 |
| - <hr /> |
| 31 | + <h2 class="font-weight-normal">Links and Resources</h2> |
| 32 | + <div class="list-group"> |
| 33 | + <a href="https://book.avr-rust.com/" target="_blank" class="list-group-item">Guidebook</a> |
| 34 | + <a href="https://github.com/avr-rust" class="list-group-item"> |
| 35 | + <img src="res/images/github-logo.png" style="width: 50px"> |
| 36 | + GitHub |
| 37 | + </a> |
| 38 | + <a href="https://gitter.im/avr-rust/Lobby" class="list-group-item"> |
| 39 | + <img src="res/images/gitter-logo.png" style="width: 100px"> |
| 40 | + for discussion |
| 41 | + </a> |
| 42 | + <a href="https://github.com/avr-rust/awesome-avr-rust" target="_blank" class="list-group-item">list of avr-rust projects</a> |
| 43 | + <a href="https://github.com/rust-lang/rust/labels/O-AVR" target="_blank" class="list-group-item">compiler issue tracker</a> |
| 44 | + <a href="https://github.com/avr-rust/rust/issues" target="_blank" class="list-group-item">legacy compiler issue tracker (read only)</a> |
| 45 | + </div> |
104 | 46 |
|
105 |
| - <h2 id="installation-rustup">Installation via Rustup</h2> |
| 47 | + <h2>Installation Instructions</h2> |
| 48 | + <p>See <a href="https://book.avr-rust.com/002-installing-the-compiler.html#installing-or-building-from-source">guide book</a> to know more.</p> |
106 | 49 |
|
107 |
| - <div class="container"> |
| 50 | + <h3 id="installation-via-rustup">Installation via Rustup</h3> |
108 | 51 | <ol>
|
109 | 52 | <li>Install <a href="https://rustup.rs/" target="_blank">rustup</a></li>
|
110 | 53 | <li>
|
111 | 54 | Install Rust <code>nightly</code> and <code>rust-src</code> via Rustup by typing the following snippet into a terminal.
|
112 | 55 | The <code>rust-src</code> component is required to allow Rust to compile <code>libcore</code> for any chip being targeted.
|
113 |
| - <pre><code> |
114 |
| - $ rustup component add nightly rust-src |
115 |
| - </code></pre> |
| 56 | + <pre><code>$ rustup component add nightly rust-src</code></pre> |
116 | 57 | </li>
|
117 |
| - <li>Done! |
| 58 | + <li>Done!</li> |
118 | 59 | </ol>
|
119 | 60 |
|
120 | 61 | <hr />
|
121 | 62 |
|
122 | 63 | <p>
|
123 |
| - AVR can be enabled for a crate by running <code>$ rustup override set nightly</code></li> in a terminal inside the root directory of the desired crate. |
| 64 | + AVR can be enabled for a crate by running <code>$ rustup override set nightly</code> in a terminal inside the root directory of the desired crate. |
| 65 | + </p> |
| 66 | + |
| 67 | + <h3 id="compile-from-source">Compile from source</h3> |
| 68 | + See <a href="https://rustc-dev-guide.rust-lang.org/getting-started.html">Rust development instruction</a>. |
| 69 | + |
| 70 | + <h2>Report a compiler issue</h2> |
| 71 | + |
| 72 | + <p>Create <a href="https://github.com/rust-lang/rust/labels/O-AVR">a github issue on rust repository</a>. |
| 73 | + </p> |
| 74 | + <p> |
| 75 | + AVR compiler issues are tracked on the official Rust GitHub repository. After creation, the triage team will tag the issue as <a href="https://github.com/rust-lang/rust/labels/O-AVR" target="_blank">O-AVR</a> for you. |
124 | 76 | </p>
|
125 | 77 | </div>
|
126 | 78 | </body>
|
|
0 commit comments