Skip to content

Commit c049a85

Browse files
committed
docs: update MCUXpresso setup with tabbed OS-specific instructions
- Replace lengthy notice boxes with interactive Hugo tabpane syntax - Combine Windows/Linux instructions (same keyboard shortcuts) - Separate macOS tab for Cmd+ shortcuts - Fix ELF location path to debug/ directory - Add SDK compatibility note for MCIMX93-EVK alternative - Streamline workflow based on AN14120 application note
1 parent c39c426 commit c049a85

1 file changed

Lines changed: 63 additions & 8 deletions

File tree

content/learning-paths/embedded-and-microcontrollers/observing-ethos-u-on-nxp/9-build-executorch-runner-for-cm33 copy.md

Lines changed: 63 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,54 @@ layout: learningpathall
1010

1111
Install the MCUXpresso extension in VS Code:
1212

13+
{{< tabpane code=false >}}
14+
{{< tab header="Windows/Linux" >}}
1315
1. Open VS Code and press `Ctrl+Shift+X` to open Extensions
1416
2. Search for "MCUXpresso for VS Code"
1517
3. Click **Install** on the NXP extension
18+
{{< /tab >}}
19+
{{< tab header="macOS" >}}
20+
1. Open VS Code and press `Cmd+Shift+X` to open Extensions
21+
2. Search for "MCUXpresso for VS Code"
22+
3. Click **Install** on the NXP extension
23+
{{< /tab >}}
24+
{{< /tabpane >}}
1625

1726
Configure the ARM toolchain path:
1827

28+
{{< tabpane code=false >}}
29+
{{< tab header="Windows/Linux" >}}
1930
1. Open Settings with `Ctrl+,`
2031
2. Search for **MCUXpresso: Toolchain**
21-
3. Set the toolchain path in settings.json:
22-
23-
```json
24-
{
25-
"mcuxpresso.toolchainPath": "/opt/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin"
26-
}
27-
```
32+
3. Set the toolchain path to: `/opt/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin`
33+
{{< /tab >}}
34+
{{< tab header="macOS" >}}
35+
1. Open Settings with `Cmd+,`
36+
2. Search for **MCUXpresso: Toolchain**
37+
3. Set the toolchain path to: `/opt/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi/bin`
38+
{{< /tab >}}
39+
{{< /tabpane >}}
2840

2941
Install the MCUXpresso SDK for FRDM-MIMX93:
3042

43+
{{< tabpane code=false >}}
44+
{{< tab header="Windows/Linux" >}}
3145
1. Open Command Palette: `Ctrl+Shift+P`
3246
2. Type: **MCUXpresso: Install MCUXpresso SDK**
33-
3. Search for "FRDM-MIMX93"
47+
3. Search for "FRDM-MIMX93" or select **MCIMX93-EVK**
3448
4. Select the latest SDK and click **Install**
49+
{{< /tab >}}
50+
{{< tab header="macOS" >}}
51+
1. Open Command Palette: `Cmd+Shift+P`
52+
2. Type: **MCUXpresso: Install MCUXpresso SDK**
53+
3. Search for "FRDM-MIMX93" or select **MCIMX93-EVK**
54+
4. Select the latest SDK and click **Install**
55+
{{< /tab >}}
56+
{{< /tabpane >}}
57+
58+
{{% notice Note %}}
59+
If the FRDM-MIMX93 development board is not listed in the current MCUXpresso SDK catalog, you can alternatively select **MCIMX93-EVK** as they share the same i.MX93 SoC with Cortex-M33 core architecture. The SDK compatibility ensures seamless development across both platforms.
60+
{{% /notice %}}
3561

3662
## Clone the executor_runner repository
3763

@@ -84,10 +110,20 @@ code .
84110

85111
Initialize the MCUXpresso project:
86112

113+
{{< tabpane code=false >}}
114+
{{< tab header="Windows/Linux" >}}
87115
1. Press `Ctrl+Shift+P` to open Command Palette
88116
2. Type: **MCUXpresso: Import Repository**
89117
3. Select the current folder
90118
4. Choose **MIMX9352_cm33** as the target processor
119+
{{< /tab >}}
120+
{{< tab header="macOS" >}}
121+
1. Press `Cmd+Shift+P` to open Command Palette
122+
2. Type: **MCUXpresso: Import Repository**
123+
3. Select the current folder
124+
4. Choose **MIMX9352_cm33** as the target processor
125+
{{< /tab >}}
126+
{{< /tabpane >}}
91127

92128
VS Code generates the MCUXpresso configuration.
93129

@@ -115,16 +151,35 @@ If you see "region RAM overflowed" errors during build, reduce these pool sizes.
115151

116152
Configure the build system:
117153

154+
{{< tabpane code=false >}}
155+
{{< tab header="Windows/Linux" >}}
118156
1. Press `Ctrl+Shift+P`
119157
2. Type: **CMake: Configure**
120158
3. Select **ARM GCC** as the kit
121159
4. Choose **Debug** or **Release**
160+
{{< /tab >}}
161+
{{< tab header="macOS" >}}
162+
1. Press `Cmd+Shift+P`
163+
2. Type: **CMake: Configure**
164+
3. Select **ARM GCC** as the kit
165+
4. Choose **Debug** or **Release**
166+
{{< /tab >}}
167+
{{< /tabpane >}}
122168

123169
Build the project:
124170

125171
Press `F7` or:
172+
173+
{{< tabpane code=false >}}
174+
{{< tab header="Windows/Linux" >}}
126175
1. Press `Ctrl+Shift+P`
127176
2. Type: **CMake: Build**
177+
{{< /tab >}}
178+
{{< tab header="macOS" >}}
179+
1. Press `Cmd+Shift+P`
180+
2. Type: **CMake: Build**
181+
{{< /tab >}}
182+
{{< /tabpane >}}
128183

129184
Watch the build output:
130185

0 commit comments

Comments
 (0)