Skip to content

Commit ae6c0ca

Browse files
authored
New tooling - link checking
1 parent c5a1034 commit ae6c0ca

File tree

9 files changed

+28
-46
lines changed

9 files changed

+28
-46
lines changed

.github/workflows/ATSAME54-XPRO.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@ name: ATSAME54-XPRO
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'core/**'
8-
- 'cmake/**'
9-
- 'Microchip/ATSAME54-XPRO/**'
106
pull_request:
117
branches: [ master ]
12-
paths:
13-
- 'core/**'
14-
- 'cmake/**'
15-
- 'Microchip/ATSAME54-XPRO/**'
168

179
defaults:
1810
run:

.github/workflows/AZ3166.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@ name: AZ3166
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'core/**'
8-
- 'cmake/**'
9-
- 'MXChip/AZ3166/**'
106
pull_request:
117
branches: [ master ]
12-
paths:
13-
- 'core/**'
14-
- 'cmake/**'
15-
- 'MXChip/AZ3166/**'
168

179
defaults:
1810
run:

.github/workflows/MIMXRT1050-EVKB.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@ name: MIMXRT1050-EVKB
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'core/**'
8-
- 'cmake/**'
9-
- 'NXP/MIMXRT1050-EVKB/**'
106
pull_request:
117
branches: [ master ]
12-
paths:
13-
- 'core/**'
14-
- 'cmake/**'
15-
- 'NXP/MIMXRT1050-EVKB/**'
168

179
defaults:
1810
run:

.github/workflows/MIMXRT1060-EVK.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,9 @@ name: MIMXRT1060-EVK
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'core/**'
8-
- 'cmake/**'
9-
- 'NXP/MIMXRT1060-EVK/**'
106
pull_request:
117
branches: [ master ]
12-
paths:
13-
- 'core/**'
14-
- 'cmake/**'
15-
- 'NXP/MIMXRT1060-EVK/**'
8+
169

1710
defaults:
1811
run:

.github/workflows/STM32L4_L4+.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,9 @@ name: STM32L4_L4+
33
on:
44
push:
55
branches: [ master ]
6-
paths:
7-
- 'core/**'
8-
- 'cmake/**'
9-
- 'STMicroelectronics/STM32L4_L4\+/**'
106
pull_request:
117
branches: [ master ]
12-
paths:
13-
- 'core/**'
14-
- 'cmake/**'
15-
- 'STMicroelectronics/STM32L4_L4\+/**'
8+
169

1710
defaults:
1811
run:

.github/workflows/link-check.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check Markdown links
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
- cron: "0 6 * * 1" # Run every Monday morning at 6am
10+
11+
jobs:
12+
markdown-link-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
17+
with:
18+
use-quiet-mode: 'yes'
19+
max-depth: 3

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![](https://github.com/azure-rtos/getting-started/workflows/MIMXRT1050-EVKB/badge.svg)
44
![](https://github.com/azure-rtos/getting-started/workflows/MIMXRT1060-EVK/badge.svg)
55
![](https://github.com/azure-rtos/getting-started/workflows/STM32L4_L4+/badge.svg)
6+
![](https://github.com/azure-rtos/getting-started/workflows/link-check/badge.svg)
67

78
# Getting Started with Azure RTOS and Azure IoT
89

@@ -29,7 +30,7 @@ The following board specific guides will get you started with Azure RTOS and Azu
2930
* [B-L475E-IOT01A](STMicroelectronics/STM32L4_L4+)
3031
* [B-L4S5I-IOT01A](STMicroelectronics/STM32L4_L4+)
3132

32-
Once you have successfully completed a guide, please read [Using Azure RTOS in the Getting Started Guides](/docs/using-azure-rtos.md) for information on how the guides use Azure RTOS to connect with Azure IoT.
33+
Once you have successfully completed a guide, please read [Using Azure RTOS in the Getting Started Guides](docs/using-azure-rtos.md) for information on how the guides use Azure RTOS to connect with Azure IoT.
3334

3435
## Contributing
3536

docs/using-azure-rtos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The getting started guide repository is arranged in the following folder and fil
5353

5454
### Toolchain
5555

56-
The *cmake* folder contains the build toolchain files for the project. It contains both a [Cortex-M4](../cmake/arm-gcc-cortex-m4.cmake) and a [Cortex-M7](../cmake/arm-gcc-cortex-m7.cmake) variant which enable the specific Gcc flags for building on the architecture. There is also a base level [arm-gcc-toolchain.cmake](../cmake/arm-gcc-toolchain.cmake) file that defines the specific build tools (arm-none-eabi-*), along with a set of compile and linker flags to optimize the build.
56+
The *cmake* folder contains the build toolchain files for the project. It contains both a [Cortex-M4](../cmake/arm-gcc-cortex-m4.cmake) and a [Cortex-M7](../cmake/arm-gcc-cortex-m7.cmake) variant which enable the specific Gcc flags for building on the architecture. There is also a base level [arm-gcc-cortex-0toolchain.cmake](../cmake/arm-gcc-cortex-toolchain.cmake) file that defines the specific build tools (arm-none-eabi-*), along with a set of compile and linker flags to optimize the build.
5757

5858
### Building
5959

tools/generate-device-key.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# Licensed under the MIT License.
33

44
param(
5-
[Parameter(Mandatory=$true)][string]$key,
6-
[Parameter(Mandatory=$true)][string]$id
5+
[Parameter(Mandatory=$true)][string]$group_sas_key,
6+
[Parameter(Mandatory=$true)][string]$device_id
77
)
88

99
$hmacsha = New-Object System.Security.Cryptography.HMACSHA256
10-
$hmacsha.key = [Convert]::FromBase64String($key)
10+
$hmacsha.key = [Convert]::FromBase64String($group_sas_key)
1111

12-
$deviceKey = $hmacsha.ComputeHash([Text.Encoding]::ASCII.GetBytes($id))
12+
$deviceKey = $hmacsha.ComputeHash([Text.Encoding]::ASCII.GetBytes($device_id))
1313
$deviceKey = [Convert]::ToBase64String($deviceKey)
1414

1515
Write-Output "Device key: $deviceKey"

0 commit comments

Comments
 (0)