-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrpi-0.html
156 lines (129 loc) · 6.75 KB
/
rpi-0.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>ERNI Performance Day - Embedded</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/modern-business.css" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html">EPD - Embedded</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownPortfolio" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Information
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownPortfolio">
<a class="dropdown-item" href="info-rpi.html">Raspberry Pi</a>
<a class="dropdown-item" href="info-esp32.html">ESP32</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link active dropdown-toggle" href="#" id="navbarDropdownPortfolio" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Roadmap
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownPortfolio">
<a class="dropdown-item" href="roadmap-rpi.html">Raspberry Pi</a>
<a class="dropdown-item" href="roadmap-esp32.html">ESP32</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="feedback.html">Feedback</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Content -->
<div class="container mb-3">
<ol class="breadcrumb mt-4 mb-3">
<li class="breadcrumb-item">
<a href="index.html">Home</a>
</li>
<li class="breadcrumb-item">
<a href="roadmap-esp32.html">Roadmap RPi</a>
</li>
<li class="breadcrumb-item active">Project Zero</li>
</ol>
<!-- Page Heading/Breadcrumbs -->
<h1 class="mt-4 mb-3">RPi Project Zero
<br>
<small>Setup the RPi Development Environment </small>
</h1>
<div class="alert alert-info">
The git client will allow you to download the repositories used for this workshop. You are free to use any git client of your choice if you are familiar with it. Still, we will be using GitKraken.
</div>
<hr>
<h3 class="mb-3">Install the Git client</h3>
<ol>
<li>Create a directory named <code>esp</code> at your home</li>
<li>Download the <a href='files/xtensa-esp32-elf.tar.gz'>xtensa-esp32 toolchain for raspberry</a></li>
<li>Extract it under your <code>~/esp/xtensa-esp32-elf/</code> directory</li>
<li>
Check if <code>~/esp/xtensa-esp32-elf/bin</code> is in your PATH, and if not, include it.
<br/>
For that, edit your <code>~/.profile</code> or <code>~/.bash_profile</code> file, and add the following line:
<br/>
<div class="well"><code>export PATH="$PATH:$HOME/esp/xtensa-esp32-elf/bin"</code></div>
</li>
</ol>
<hr>
<h3>Install your Epressif IoT Development Framework</h3>
<ol>
<li>Download the <a href='files/esp-idf-master.zip'>Espressif IoT Development Framework</a></li>
<li>Extract it under your <code>~/esp/esp-idf/</code> directory</li>
<li>Add an environment variable <code>IDF_PATH</code> to your <code>~/.profile</code> or <code>~/.bash_profile</code> file.
<br/>
<code>export IDF_PATH=~/esp/esp-idf</code>
</li>
<li>Add your user to the dialout user group
<br/>
<code>sudo usermod -a -G dialout $USER</code>
</li>
</ol>
<hr>
<h3>Check USB Comm</h3>
<ol>
<li>Run the command <code>ls /dev/tty*</code> before plug the USB cable</li>
<li>Plug the USB cable to a free USB port in the raspberry and to the Espressif Board</li>
<li>Run again the command <code>ls /dev/tty*</code> after plug the USB cable</li>
<li>Write down the new entry. It should be <code>/dev/ttyUSBx</code>.</li>
<li>Run a serial terminal to this port, with baudrate of 115200 and 8N1
<br>
i.e.: <code>miniterm.py /dev/ttyUSB0 115200</code>
</li>
</ol>
<hr>
<div class="alert alert-success">
Reset your board. You should see the board log. If so, congrats!
</div>
</div>
<!-- /.container -->
<!-- Footer -->
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">ERNI Spain - Embedded Firmware Community</p>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper/popper.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>