Skip to content

Commit 436f9bb

Browse files
authored
📝 Use gcc over arm-gcc profile (#86)
This is apart of the move to deprecate arm-gnu-tooclhain in favor of multiarch-gnu-toolchain.
1 parent f513d8e commit 436f9bb

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
permissions:
2525
contents: write
2626
env:
27-
CURRENT_VERSION: "4.2"
27+
CURRENT_VERSION: "4.3"
2828
PRODUCTION: true
2929

3030
jobs:

mkdocs/getting_started.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Skip these steps if you already have both of these installed
8080
python -m pipx ensurepath
8181
```
8282

83-
Install Visual Studio for the rest of the necessary components.
83+
Install Visual Studio for the rest of the necessary components.
8484
The download can be found on [Microsoft's website.](https://visualstudio.microsoft.com/)
8585

8686
There is no more installation required at this point.
@@ -131,18 +131,34 @@ git clone https://github.com/libhal/libhal-arm-mcu.git
131131
cd libhal-arm-mcu
132132
```
133133

134-
To build using conan you just need to run the following:
134+
To build a libhal demo, you must first create the latest version of the library
135+
package like so:
135136

136137
=== "STM32F103"
137138

138139
```bash
139-
conan build demos -pr hal/mcu/stm32f103c8 -pr hal/tc/arm-gcc-12.3
140+
conan create . -pr:a hal/tc/gcc -pr hal/mcu/stm32f103c8
140141
```
141142

142143
=== "LPC4078"
143144

144145
```bash
145-
conan build demos -pr hal/mcu/lpc4078 -pr hal/tc/arm-gcc-12.3
146+
conan create . -pr:a hal/tc/gcc -pr hal/mcu/lpc4078
147+
```
148+
149+
With the latest package installed within your conan cache, you can now build
150+
the demo applications:
151+
152+
=== "STM32F103"
153+
154+
```bash
155+
conan build demos -pr:a hal/tc/gcc -pr hal/mcu/stm32f103c8
156+
```
157+
158+
=== "LPC4078"
159+
160+
```bash
161+
conan build demos -pr:a hal/tc/gcc -pr hal/mcu/lpc4078
146162
```
147163

148164
You can find binaries of your application within the

0 commit comments

Comments
 (0)