Skip to content

Commit 3ec77f9

Browse files
Merge pull request ArmDeveloperEcosystem#2486 from DougAnsonAustinTX/ei_lp_structure_update
flattened the Edge Impulse Greengrass LP. Added new metadata option to hide pages from nav pane
2 parents 63d6733 + 7f0bb9f commit 3ec77f9

File tree

10 files changed

+76
-38
lines changed

10 files changed

+76
-38
lines changed

content/learning-paths/cross-platform/_example-learning-path/appendix-1-formatting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,4 @@ You can also give a custom title as specified here.
301301
{{% /notice %}}
302302

303303

304+

content/learning-paths/cross-platform/_example-learning-path/questions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ Modify the weight values to be unique and the extra buttons will disappear.
3030
### Why aren't my changes showing up under Learning Paths?
3131

3232
There are various reasons this can happen. One being that the top links on the page will take you to the external site. Make sure that you are still viewing the Hugo server on `localhost`.
33+

content/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/customcomponentdeployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this section, we will create an AWS IoT Greengrass deployment that will downl
1212

1313
### 0. (Non-Camera Edge Devices Only): Additional Custom Component
1414

15-
If your edge device does not contain a camera (i.e. EC2 edge device), you will need to deploy an additional custom component. Please follow [these steps](./NonCameraCustomComponent.md) to get the additional component created. You will be selecting this component in addition to the custom component we created for the Edge Impulse "Runner" service.
15+
If your edge device does not contain a camera (i.e. EC2 edge device), you will need to deploy an additional custom component. Please follow [these steps](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/noncameracustomcomponent/) to get the additional component created. You will be selecting this component in addition to the custom component we created for the Edge Impulse "Runner" service.
1616

1717
### 1. Deploy the custom component to a selected Greengrass edge device or group of edge devices.
1818

content/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/hardwaresetup.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ layout: learningpathall
88

99
## Edge Device Hardware Setup
1010

11-
First, an edge device must be setup. In the following sections, Linux-compatible edge devices are detailed to enable them to receive and run as a AWS IoT Greengrass edge device. The list of supported devices will grow over time.
11+
##### First, an edge device must be setup. In the following sections, Linux-compatible edge devices are detailed to enable them to receive and run as a AWS IoT Greengrass edge device. The list of supported devices will grow over time. Please select one of the following and follow the "Setup" link:
1212

13-
Please select one of the following and follow the "Setup" link...
13+
### Option 1: Ubuntu EC2 Instance [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/HardwareSetupEC2/)
1414

15-
### Option 1: Ubuntu EC2 Instance [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/hardware/HardwareSetupEC2/)
15+
### Option 2: Qualcomm QC6490 Platforms with Ubuntu [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/HardwareSetupQC6490Ubuntu/)
1616

17-
### Option 2: Qualcomm QC6490 Platforms with Ubuntu [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/hardware/HardwareSetupQC6490Ubuntu/)
17+
### Option 3: Nvidia Jetson Platforms with Jetpack 5.x/6.0 [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/HardwareSetupNvidiaJetson/)
1818

19-
### Option 3: Nvidia Jetson Platforms with Jetpack 5.x/6.0 [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/hardware/HardwareSetupNvidiaJetson/)
20-
21-
### Option 4: Raspberry Pi 5 with RaspberryPi OS [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/hardware/HardwareSetupRPi5/)
19+
### Option 4: Raspberry Pi 5 with RaspberryPi OS [Setup](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/HardwareSetupRPi5/)
2220

2321

2422
#### (More exciting device options will be added soon. Stay tuned!)
Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
hide_from_navpane: true
3+
4+
### FIXED, DO NOT MODIFY
5+
layout: learningpathall
6+
---
7+
18
## Setup and Configuration for Ubuntu-based EC2 instance
29

310
### Create Ubuntu EC2 Instance
@@ -6,42 +13,42 @@ AWS EC2 instances can be used to simulate edge devices when edge device hardware
613

714
We'll start by opening our AWS Console and search for EC2:
815

9-
![AWS Console](../images/EC2_Setup_1.png)
16+
![AWS Console](./images/EC2_Setup_1.png)
1017

1118
We'll now open the EC2 console page:
1219

13-
![AWS EC2 Console](../images/EC2_Setup_2.png)
20+
![AWS EC2 Console](./images/EC2_Setup_2.png)
1421

1522
Select "Launch instance". Provide a Name for the EC2 instance and select the "Ubuntu" Quick Start option. Additionally, select "64-bit(Arm)" as the architecture type and select "t4g.large" as the Instance type:
1623

17-
![Create EC2 Instance](../images/EC2_Setup_3.png)
24+
![Create EC2 Instance](./images/EC2_Setup_3.png)
1825

1926
Additionally, please click on "Create new Key Pair" and provide a name for a new SSH key pair that will be used to SSH into our EC2 instance. Press "Create key pair":
2027

21-
![Create EC2 Keypair](../images/EC2_Setup_4.png)
28+
![Create EC2 Keypair](./images/EC2_Setup_4.png)
2229

2330
>**_NOTE:_**
2431
>You will notice that a download will occur with your browser. Save off this key (a .pem file) as we'll use it shortly.
2532
2633
Next, we need to edit our "Network Settings" for our EC2 instance... scroll down to "Network Settings" and press "Edit":
2734

28-
![Security Group](../images/EC2_Setup_4_ns.png)
35+
![Security Group](./images/EC2_Setup_4_ns.png)
2936

3037
Press "Add security group rule" and lets allow port tcp/4912:
3138

32-
![Security Group](../images/EC2_Setup_4_4912.png)
39+
![Security Group](./images/EC2_Setup_4_4912.png)
3340

3441
Lets also give the EC2 instance a bit more disk space. Please change the "8" to "28" here:
3542

36-
![Increase disk space](../images/EC2_Setup_5.png)
43+
![Increase disk space](./images/EC2_Setup_5.png)
3744

3845
Finally, press "Launch instance". You should see your EC2 instance getting created:
3946

40-
![Launch Instance](../images/EC2_Setup_6.png)
47+
![Launch Instance](./images/EC2_Setup_6.png)
4148

4249
Now, press "View all instances" and press the refresh button... you should see your new EC2 instance in the "Running" state:
4350

44-
![Running Instance](../images/EC2_Setup_7.png)
51+
![Running Instance](./images/EC2_Setup_7.png)
4552

4653
You can scroll over and save off your Public IPv4 IP Address. You'll need this to SSH into your EC2 instance.
4754

@@ -55,7 +62,7 @@ Lets now confirm that we can SSH into our EC2 instance. With the saved off pem f
5562

5663
You should see a login shell now for your EC2 instance!
5764

58-
![Login Shell](../images/EC2_Setup_8.png)
65+
![Login Shell](./images/EC2_Setup_8.png)
5966

6067
Excellent! You can keep that shell open as we'll make use of it when we start installing Greengrass a bit later.
6168

@@ -105,6 +112,6 @@ Before we go to the next section, lets also save off this JSON - it will be used
105112
}
106113
}
107114

108-
OK, Lets proceed to the next step and get our Edge Impulse environment setup!
115+
OK, Lets proceed to the next step and get our Edge Impulse environment setup! Press "Next" to continue:
109116

110-
[Next](../../edgeimpulseprojectbuild/)
117+
### [Next](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/edgeimpulseprojectbuild/)
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
hide_from_navpane: true
3+
4+
### FIXED, DO NOT MODIFY
5+
layout: learningpathall
6+
---
7+
18
## Install/Configure Nvidia Jetpack (Jetson devices)
29

310
The workshop will assume that the Nvidia Jetson edge device has been loaded with Jetpack 5.x and/or Jetpack 6.0 per flashing instructions located at this [Nvidia website](https://docs.nvidia.com/jetson/archives/r34.1/DeveloperGuide/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html).
@@ -87,6 +94,6 @@ We are now setup! Before we continue, please save off the following JSONs. Thes
8794
}
8895
}
8996

90-
OK! Lets continue by getting our Edge Impulse project setup! Let's go!
97+
OK! Lets continue by getting our Edge Impulse project setup! Let's go! Press "Next" to continue:
9198

92-
[Next](../../edgeimpulseprojectbuild/)
99+
### [Next](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/edgeimpulseprojectbuild/)
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
hide_from_navpane: true
3+
4+
### FIXED, DO NOT MODIFY
5+
layout: learningpathall
6+
---
7+
18
## Ubuntu-based QC6490 platforms
29

310
First, please flash your QC6490 device per your manufacturers instructions to load up Ubuntu onto the device.
@@ -120,6 +127,6 @@ We are now setup! Before we continue, please save off the following JSONs. Thes
120127
}
121128
}
122129

123-
OK! Lets continue by getting our Edge Impulse project setup! Let's go!
130+
OK! Lets continue by getting our Edge Impulse project setup! Let's go! Press "Next" to continue:
124131

125-
[Next](../../edgeimpulseprojectbuild/)
132+
### [Next](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/edgeimpulseprojectbuild/)
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
hide_from_navpane: true
3+
4+
### FIXED, DO NOT MODIFY
5+
layout: learningpathall
6+
---
7+
18
## Setup and configuration of Raspberry Pi 5 with Raspberry Pi OS
29

310
### Install RaspberryPi OS
@@ -8,7 +15,7 @@ First step in this exercise is to install the latest version of the Raspberry Pi
815

916
The easiest way to setup Raspberry Pi OS is to follow the instructions here after downloading and installing the Raspberry Pi Imager application:
1017

11-
![Raspberry Pi Imager](../images/RPi_Imager.png)
18+
![Raspberry Pi Imager](./images/RPi_Imager.png)
1219

1320
Instructions: [Install Raspberry Pi Imager](https://www.raspberrypi.com/software/)
1421

@@ -101,6 +108,6 @@ Lastly, please safe off these JSONs. These will be used to customize our AWS Gr
101108
}
102109
}
103110

104-
Alright! Lets continue by getting our Edge Impulse project setup! Let's go!
111+
Alright! Lets continue by getting our Edge Impulse project setup! Let's go! Press "Next" to continue:
105112

106-
[Next](../../edgeimpulseprojectbuild/)
113+
### [Next](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/edgeimpulseprojectbuild/)
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
hide_from_navpane: true
3+
4+
### FIXED, DO NOT MODIFY
5+
layout: learningpathall
6+
---
7+
18
## Non-Camera Custom Component
29

310
For those edge devices that do not contain a camera, the following component will prepare the edge device with some sample images that can be referenced by the Edge Impulse "Runner" component's JSON configuration (via "gst\_args" settings) to direct the running model to pull its image data from the file (vs. camera).
@@ -31,16 +38,16 @@ Next, we need to edit the EdgeImpulseRunnerRuntimeInstallerComponent.yaml and ch
3138

3239
Within the AWS dashboard, go to the IoTCore dashboard, then navigate to "Components" under the "Greengrass devices" drop-down on the left hand side.
3340

34-
![CreateComponent](GG_Create_NC_Component_1.png)
41+
![CreateComponent](./images/GG_Create_NC_Component_1.png)
3542

3643
Press "Create Component" and select "YAML" as the recipe format type. Copy and paste the contents of your updated/modified file EdgeImpulseRunnerRuntimeInstallerComponent.yaml into the text window after clearing the initial contents:
3744

38-
![CreateComponent](GG_Create_NC_Component_2.png)
45+
![CreateComponent](./images/GG_Create_NC_Component_2.png)
3946

4047
Finally, press "Create Component" and you should now have 2 custom components registered:
4148

42-
![CreateComponent](GG_Create_NC_Component_3.png)
49+
![CreateComponent](./images/GG_Create_NC_Component_3.png)
4350

4451
Awesome! Now that the non-camera support component is created, we can go back and continue with the deployment of these components to your edge device via the AWS IoT Greengrass deployment mechanism. Press "Return to Deployment Steps" below and continue!
4552

46-
[Return to Deployment Steps](../6_CustomComponentDeployment/CustomComponentDeployment.md)
53+
### [Return to Deployment Steps](/learning-paths/embedded-and-microcontrollers/edge_impulse_greengrass/customcomponentdeployment/)

themes/arm-design-system-hugo-theme/layouts/learning-paths/learningpathall.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ <h6 id="learning-path-title" class="u-margin-top-1/2" style="font-size:1em; font
4747
{{ $counter := 0 }} <!-- Counter to track index-->
4848
{{ range .Site.Pages.ByWeight }}
4949
{{ if .File}}
50-
{{ if (eq .File.Dir $thisdir)}}
51-
{{ $learningpathfiles = $learningpathfiles | append . }}
52-
53-
<!-- Call partial to fill out navigation tabs -->
54-
{{partial "navigation/content-navigation.html" (dict "context" . "thisfile" $thisfile "counter" $counter) }}
55-
{{ $counter = add $counter 1 }}
50+
<!-- Add option for metadata to optionally hide page from navigation pane-->
51+
{{ if ne .Params.hide_from_navpane true }}
52+
{{ if (eq .File.Dir $thisdir)}}
53+
{{ $learningpathfiles = $learningpathfiles | append . }}
54+
55+
<!-- Call partial to fill out navigation tabs -->
56+
{{partial "navigation/content-navigation.html" (dict "context" . "thisfile" $thisfile "counter" $counter) }}
57+
{{ $counter = add $counter 1 }}
58+
{{ end }}
5659
{{ end }}
5760
{{end}}
5861
{{end}}
@@ -91,4 +94,4 @@ <h6 id="learning-path-title" class="u-margin-top-1/2" style="font-size:1em; font
9194
</div>
9295
</div>
9396

94-
{{end}}
97+
{{end}}

0 commit comments

Comments
 (0)