Skip to content

Commit

Permalink
Merge pull request #724 from ArmDeveloperEcosystem/main
Browse files Browse the repository at this point in the history
Merge to production
  • Loading branch information
pareenaverma committed Feb 15, 2024
2 parents dd196ad + 3d97e2f commit bdfde92
Show file tree
Hide file tree
Showing 238 changed files with 6,853 additions and 489 deletions.
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Before submitting a pull request for a new Learning Path, please review [Create a Learning Path](https://learn.arm.com//learning-paths/cross-platform/_example-learning-path/)
- [ ] I have reviewed Create a Learning Path

Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information.
Please do not include any confidential information in your contribution. This includes confidential microarchitecture details and unannounced product information. No AI tool can be used to generate either content or code when creating a learning path or install guide.

- [ ] I have checked my contribution for confidential information

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the Creative Commons Attribution 4.0 International License.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ package-lock.json

# macOS files
*.DS_Store
nohup.out
208 changes: 207 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2032,4 +2032,210 @@ uv
uvmpw
libhugtlbfs
mcpu
NoLSE
NoLSE
AEMvA
ActAgent
AgentDrArmComponent
AgentsSettings
AppManager
ApplyMlMovement
AttributeError
BaseViewModel
BehaviorParametersComponent
BehaviourName
BehaviourParameters
BindingContext
CEF
CEF's
CanExecute
CanExecuteChanged
Cinemachine
CollateObservations
Compiling Dictionary...
ComputationTime
ContentPage
DComponent
DOM
DataPoint
DataPoints
DecisionRequester
DecisionRequesterComponent
DesktopApp
DirectX
DontDestroyOnLoad
ESM
EZ
FMADD
FontSize
FontWeight
GEMV
GenerateRandomMatrix
ICommand
INotifyPropertyChanged
ISB
JSONPlaceholder
LINQ
ListBox
LongPath
MLAgents
MLPlayerManagerComponent
MLPs
MVVM
MainPage
MainViewModel
MainWindow
MatrixHelper
MatrixMultiplication
MaxStep
MeasurePerformance
Misspelled words:
MlPlayerManager
MobileApp
MonoBehaviour
Multilayer
NextDouble
NuGet
NumberBox
NumberBoxExecutionCount
NumberBoxMatrixSize
NumericUpDown
OnActionReceived
OnLaunched
OnPropertyChanged
PFR
Perceptrons
PlayerInput
PlotResultsCommand
PropertyChanged
RESTful
RayPerceptionSensor
ReadyToPlay
Realtime
RunCalculationsCommand
Running Task: Markdown...
SME
SMSTART
SVCR
SVL
SerializeField
SetProperty
SettingsController
SfChart
SimpleCommand
Syncfusion
TFP
TODO
TableLayoutPanel
TargetType
TensorBoard
TextBlock
Theobald
ThirdPersonCameraMovement
Timestep
Typicode
UWP
UnityEngine
Using aspell to spellcheck Markdown
VfxService
ViewModel
ViewModels
Walkthrough
WinForms
WinUI
WinUIApp
WindowsForms
XAML
XY
XamarinForms
Xn
ZA
ZT
appOutDir
archs
async
axios
bitfield
blockMapFile
blockmap
bool
buttonStart
ce
cef
chromiumembedded
codebase
coe
computationTime
computationTimeHistory
distributables
doumentation
electronjs
executionCount
firstrun
gameplay
halfwords
incentivize
isPlayer
jQuery
jsonplaceholder
labelArchitecture
listBox
listBoxResults
mana
matLeft
matResult
matRight
matmul
microservice
mvvm
netdesktop
nsis
numericUpDownExecutionCount
numericUpDownMatrixSize
oneClick
onwards
perMachine
pypi
raycast
realtime
resizable
scrollable
sindresorhus
timeScale
toolkit's
windowsarm
winforms
winui
xamarin
xaml
advancedweb
buzzerPin
Compiling Dictionary...
cpio
digitalWrite
doBeep
gzipped
hu
initramfs
ino
kvmtool
ledOff
ledOn
ledPin
linenos
linenostart
MicroPython
Misspelled words:
motionPin
motionState
peizo
pir
PIR
pratapkute
println
PWM
RaspberryPi
skillset
supervisord
UARTs
USD
webserver
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions content/install-guides/anaconda.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
additional_search_terms:
- Python
- TensorFlow
- Pytorch
- PyTorch
- linux

layout: installtoolsall
Expand Down Expand Up @@ -94,7 +94,7 @@ eval "$($HOME/anaconda3/bin/conda shell.bash hook)"

## Get started

Test Anaconda Distribution by running simple TensorFlow and Pytorch examples.
Test Anaconda Distribution by running simple TensorFlow and PyTorch examples.

### TensorFlow

Expand Down Expand Up @@ -140,7 +140,7 @@ The expected output format is below. Your version may be slightly different.
tf.Tensor(342.34387, shape=(), dtype=float32)
```

### Pytorch
### PyTorch

Create a new conda environment named torch, install PyTorch, and activate the new environment.

Expand All @@ -156,6 +156,7 @@ Using a text editor copy and paste the code below into a text file named `pytorc

```console
import torch
print(torch.__version__)
x = torch.rand(5,3)
print(x)
exit()
Expand All @@ -170,14 +171,15 @@ python ./pytorch.py
The expected output is similar to:

```output
tensor([[0.9825, 0.4797, 0.0978],
[0.2175, 0.8025, 0.9663],
[0.6342, 0.5408, 0.4781],
[0.0655, 0.7505, 0.9290],
[0.7643, 0.6878, 0.0993]])
2.1.0
tensor([[0.9287, 0.5931, 0.0239],
[0.3402, 0.9447, 0.8897],
[0.3161, 0.3749, 0.6848],
[0.8091, 0.6998, 0.7517],
[0.2873, 0.0549, 0.2914]])
```


You are ready to use Anaconda Distribution.

Explore the many machine learning articles and examples using TensorFlow and Pytorch.
Explore the many machine learning articles and examples using TensorFlow and PyTorch.
78 changes: 78 additions & 0 deletions content/install-guides/arduino-pico.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
title: Arduino core for the Raspberry Pi Pico
author_primary: Michael Hall
additional_search_terms:
- arduino
- raspberrypi
- pico

layout: installtoolsall
minutes_to_complete: 15
official_docs: https://docs.aws.amazon.com/greengrass/v2/developerguide/quick-installation.html
prerequisites: Arduino IDE
test_images:
- ubuntu:latest
tool_install: true
multi_install: false
multitool_install_part: false

weight: 1
---

You can install the Arduino IDE and Arduino core software for the Raspberry Pi Pico and the Raspberry Pi Pico W.

Arduino core is the software stack that powers Arduino devices and development boards. While the Raspberry Pi Pico isn't an Arduino board, it uses the same RP2040 SoC as the Arduino RP2040 Connect, and therefore can run the same Arduino core software.

## Install Arduino IDE

First, you need to install the Arduino IDE on your laptop or desktop. You can download it for your operating system from [the Arduino Software website](https://www.arduino.cc/en/software). Follow the provided instructions for installing the IDE.

Start the IDE by clicking the Arduino IDE icon.

## Install board support package

The Arduino software is comprised of the core libraries and a Board Support Package that is specific to your device. You need to install the `Arduino Mbed OS RP2040 Boards` package to support the Raspberry Pi Pico.

You can install this package by opening the `Boards Manager`.

From the menu select `Tools -> Board -> Boards Manager`.

When the `Boards Manager` opens search for `pico` and the `Arduino Mbed OS RP2040 Boards` will be displayed. Click the `Install` button to add it to the Arduino IDE.

![Arduino Board Manager](/install-guides/_images/arduino_rp2040_boards.png)

### Raspberry Pi Pico W

The `Boards Manager` package for for `Arduino Mbed OS RP2040 Boards` does not include the Raspberry Pi Pico W.

If you want to use the Pico W go to `File -> Preferences` (or `Arduino IDE -> Settings` on macOS) and enter the URL below into the `Additional Boards Manager URLs` field:

```console
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
```

Return to `Tools -> Board -> Boards Manager` and search for `pico` and you will see a new entry `Raspberry Pi Pico/RP2040`. Click the `Install` button to add it to the Arduino IDE.

## Select your board

Once the support package is installed, you need to tell the Arduino IDE which supported board you will be using. From the `Tools -> Board` menu, find and select `Raspberry Pi Pico` or `Raspberry Pi Pico W` depending on your board type.

![Arduino Board Selection](/install-guides/_images/arduino_rp2040_select.png)

## Upload to your board

Because the Raspberry Pi Pico doesn't come with the Arduino core software installed, the Arduino IDE won't recognize it.

To fix that, you must upload a sketch. A sketch is another name for an Arduino software application.

Go to `File -> Examples -> 01.Basics -> Blink` and load the sketch.

Click the upload button (right arrow icon) and wait for the sketch to be uploaded.

You should see the LED on your Raspberry Pi Pico blink on and off every second.

{{% notice Note %}}
If you have trouble uploading a sketch, unplug the board, press and hold the `BOOTSEL` button on the board, plug it in, and then release the button.
{{% /notice %}}

You are ready to start writing your own Arduino sketches for Raspberry Pi Pico.
Loading

0 comments on commit bdfde92

Please sign in to comment.