You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2024-08-01-github-actions-for-stm32cubeide.md
+38-39Lines changed: 38 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,9 @@ environment.
23
23

24
24
25
25
The STM32 series of microcontrollers from STMicroelectronics are very popular in
26
-
the embedded industry. ST provides an in-house Eclipse-based IDE, [STM32CubeIDE](https://www.st.com/en/development-tools/stm32cubeide.html),
27
-
for developing projects using these chips.
26
+
the embedded industry. ST provides an in-house Eclipse-based IDE,
27
+
[STM32CubeIDE](https://www.st.com/en/development-tools/stm32cubeide.html), for
28
+
developing projects using these chips.
28
29
29
30
The STM32CubeIDE provides an all-in-one starting point for STM32-based projects,
30
31
with example code, drivers, and middleware, and tools for configuring
@@ -84,34 +85,40 @@ With tools of this nature, I like to follow this process to create the image:
84
85
85
86
```bash
86
87
# run a container from the base image, interactively
87
-
$ docker run --tty --interactive ubuntu:22.04
88
+
$ docker run --tty --interactive ubuntu:24.04
88
89
```
89
90
90
-
I first tried following the
91
-
[installation instructions provided by ST (PDF warning)](https://www.st.com/resource/en/user_manual/um2563-stm32cubeide-installation-guide-stmicroelectronics.pdf),
92
-
which are pretty straightforward; in my case it was running this command after
93
-
downloading the installer:
91
+
As of STM32CubeIDE version `1.17.0`, the unattended install works on Ubuntu
92
+
24.04 out of the box, no need for workarounds! Thanks to
93
+
[Daan Timmer](https://github.com/daantimmer) for pointing this out, and
94
+
providing a fixed up Dockerfile 🥳!
94
95
95
-
```bash
96
-
sudo sh ./st-stm32cubeide_1.15.0_20695_20240315_1429_amd64.deb_bundle.sh
97
-
```
98
-
99
-
Unfortunately, the embedded script in that self-extracting installer doesn't
100
-
fully support an unattended mode (at least in the versions I tested, 1.15 +
101
-
1.16).
102
-
103
-
After some experimentation, I found a way to work around this; instead of
104
-
running the installer as-is, I extracted the installation files from the
105
-
package, and run them independently with a minor tweak.
96
+
> <details><summary>Prior to STM32CubeIDE 1.17.0:</summary>
- [MCU on Eclipse article about command-line building Eclipse](https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/)
0 commit comments