Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Newb here with too many questions!

Hi folks,
This is my first post here. I’m a S/W developer by trade and in my spare time a hobbyist as well. My hobby with embedded systems began with An Arduino and I’ve also done some work with the Cypress PSoC 4. ($4 for a micro - what could be wrong with that!) I also consider the ST Disco boards to be a pretty good bargain as well and have an STM32F429I-DISCO I’m working with. I’m also a dyed in the wool Penguinista ;) I’ll work with Windows when necessary but my preferred platform is Linux.

Right now I’d really like to get a tool chain working on Linux using free (as in beer :-D ) S/W. I’m ecstatic that STM32CubeMX runs on Linux and that the GCC compiler is also available. I just need to fill in the gaps. ;)

OpenSTM32 looks pretty promising right now. But I’m stumbling. Part of the problem is that I’m not sure which direction to go in. I’d really like to start a project using MX (STM32CubeMX) and import it into eclipse/OpemSTM32.

Another thing I’d like to be able to do is leverage the many example projects that ship with the STM Cube libraries. They can be a pretty useful starting point for a project as well.

So far I’ve taken two shots at this. First I tried to create a project using OpenSTM32 and stalled when I got to the part where it offers to download the library code. I’ve already got that (via MX) and prefer not to have a second copy on my hard drive. I haven’t found how to point eclipse/OpenSTM32 at the MX library install (~/STM32Cube/Repository.)

The other thing I tried was importing a simple MX project. I can see the source files in eclipse but when I try to build I get:
code23:28:42 **** Build of configuration Default for project blink1 ****
make all
make: *** No rule to make target `all’. Stop.

23:28:42 Build Finished (took 57ms)/code
I’ve fooled around a bit with eclipse building Android apps but have insufficient experience to know how to fix this.

So... Questions are:

1) How to get a STM32CubeMX project built
2) How to build examples that ship with the HAL libraries. (I’d settle for whatever comes with the legacy libraries as well.)
3) How to use already installed libraries.


Thanks!


Edit: more questions

4) Is there a preferred Java version? Is Oracle Java recommended? I’m using:
----------
hbarta@yggdrasil ~ $ java -version
java version “1.7.0_79”
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
hbarta@yggdrasil ~ $
----------
5) Is there a preferred eclipse version? I’m using:
Version: Kepler Service Release 2
Build id: 20140224-0627

6) Are there preferred code generation options for STM32CubeMX?

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs