You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/ameba_pro2/amb82-mini/Getting_Started/Getting Started with Ameba.rst
+80-66Lines changed: 80 additions & 66 deletions
Original file line number
Diff line number
Diff line change
@@ -118,26 +118,26 @@ Step 3. Set up Arduino IDE
118
118
119
119
From version 1.6.5, Arduino IDE supports third-party hardware. Therefore, we can use Arduino IDE to develop applications, and the Arduino basic examples are supported. Arduino IDE can be downloaded in the Arduino website: https://www.arduino.cc/en/Main/Software
120
120
121
-
When the installation is finished, open Arduino IDE. To set up correctly in Arduino IDE, go to “File” -> “Preferences”
121
+
When the installation is finished, open Arduino IDE. To set up correctly in Arduino IDE, go to "File" -> "Preferences"
122
122
123
123
|image05|
124
124
125
-
And paste the following URL into “Additional Boards Manager URLs” field: https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek_amebapro2_index.json
125
+
And paste the following URL into "Additional Boards Manager URLs" field: https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek_amebapro2_index.json
126
126
or https://ameba-doc-arduino-sdk-json.readthedocs-hosted.com/en/latest/_static/package_realtek_amebapro2_early_index_rtd.json
127
127
128
-
Next, go to “Tools” -> “Board” -> “Boards Manager”:
128
+
Next, go to "Tools" -> "Board" -> "Boards Manager":
129
129
130
130
|image06|
131
131
132
-
The “Boards Manager” requires about 10~20 seconds to refresh all hardware files (if the network is in bad condition, it may take longer).
132
+
The "Boards Manager" requires about 10~20 seconds to refresh all hardware files (if the network is in bad condition, it may take longer).
133
133
134
-
Every time the new hardware is connected, we need to reopen the Board Manager. Find “Realtek Ameba Boards” in the list, click “Install”, then the Arduino IDE starts to download required files.
134
+
Every time the new hardware is connected, we need to reopen the Board Manager. Find "Realtek Ameba Boards" in the list, click "Install", then the Arduino IDE starts to download required files.
135
135
136
136
|image07|
137
137
138
-
After the installation tool running successfully, you may open Arduino IDE and proceed to “tools” -> “Board“ -> “Boards Manager…”. Try to find “Realtek Ameba Boards” in the list, click “Install”, then the Arduino IDE starts to download required files.
138
+
After the installation tool running successfully, you may open Arduino IDE and proceed to "tools" -> "Board" -> "Boards Manager…". Try to find "Realtek Ameba Boards" in the list, click "Install", then the Arduino IDE starts to download required files.
139
139
140
-
Finally, we select board in “tools” -> “Board” -> “AmebaPro2 ARM (32-bits) Boards” -> “AMB82-MINI”
140
+
Finally, we select board in "tools" -> "Board" -> "AmebaPro2 ARM (32-bits) Boards" -> "AMB82-MINI"
141
141
142
142
|image08|
143
143
@@ -151,72 +151,86 @@ There are many different Modes for user to select for different settings of comp
Arduino IDE provides many built-in examples, which can be compiled, uploaded, and run directly on the boards. Here, we take the “Blink” example as the first try.
225
+
Arduino IDE provides many built-in examples, which can be compiled, uploaded, and run directly on the boards. Here, we take the "Blink" example as the first try.
212
226
213
-
Open “File” -> “Examples” -> “01.Basics” -> “Blink”:
227
+
Open "File" -> "Examples" -> "01.Basics" -> "Blink":
214
228
215
229
|image10|
216
230
217
231
Arduino IDE opens a new window with the complete sample code.
218
232
219
-
Next, we compile the sample code directly; click “Sketch” -> “Verify/Compile”
233
+
Next, we compile the sample code directly; click "Sketch" -> "Verify/Compile"
220
234
221
235
Arduino IDE prints the compiling messages in the bottom area of the IDE window. When the compilation is finished, you will get the message as following.
222
236
@@ -227,19 +241,19 @@ Afterwards, we will upload the compiled code to board.
227
241
Step 3. Upload
228
242
~~~~~~~~~~~~~~
229
243
230
-
Please make sure board is connected to computer, then click “Sketch” -> “Upload”.
244
+
Please make sure board is connected to computer, then click "Sketch" -> "Upload".
231
245
232
246
The Arduino IDE will compile first then upload. Users are required to enter the upload mode of the board. To enter upload mode, first press and hold the UART_DOWNLOAD button, then press and release the RESET button, lastly release the UART_DOWNLOAD button.
233
247
234
-
Additionally, if the board has the hardware updates and enabled “Auto Flash Mode”, please ignore above instruction.
248
+
Additionally, if the board has the hardware updates and enabled "Auto Flash Mode", please ignore above instruction.
235
249
236
250
|image12|
237
251
238
252
It is optional for users to check if the board entered the upload mode. Open serial monitor/terminal and check the following information,.
239
253
240
254
|image13|
241
255
242
-
When upload completed, the “Done uploading” message is printed.
256
+
When upload completed, the "Done uploading" message is printed.
0 commit comments