I am just about to start a journey as embedded software developer, and I am trying to familiarize myself with a STM32L1 discovery kit - the initial feeling is one of bewilderment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 6:45 AM
After I successfully attached the board to my laptop and ran the "Press a button to ...." tests my plan was to proceed to the source code of the demo application:
- To read through the source code to familiarize with it.
- To compile it on my laptop
- To flash ti again on the devkit.
I was expecting to find the code e.g. as a zip file or a GitHub repository - but I I can not even find the code? I am most familar with Linux and my intention was to develop on that platform using gcc (arm-none-eabi-gcc)?
- Labels:
-
Github
-
STM32L1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 7:38 AM
Start with download STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 7:41 AM
Thank you - I have downloaded that and started it successfully - but I still need the source code? Or is it bundled in the IDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 8:01 AM
Then open it start new STM32 project wizard and choice your board
complete firmware pack install and empty project ...
Close it and open folder with repository on windows for example
c:\Users\username\STM32Cube\Repository\STM32Cube_FW_L0_V1.12.1\Projects\32L0538DISCOVERY\
here is Demo app, examples and docs.... ofcourse for you L1_V...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 8:05 AM
Thank you for answering. Seems maybe my STM32CubeIDE is not complete?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 8:35 AM
Got the Stm32CUBE to work - turns out there is a conflict between Wayland and the Eclipse tooling. When I disabled Wayland things worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-09 4:08 PM
You can load a bunch of examples in STM32CubeIDE with File -> New -> STM32 Project -> Example Selector.
There are also more that can be seen here:
https://github.com/STMicroelectronics/STM32CubeL1/tree/master/Projects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 3:02 AM
No concrete examples, but some general thoughts of mine on basics of mcu programming, subject to discussion, here.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-10 9:38 PM
Check if there is STM32.support for arduino simpler programming, so your learning goes by levels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-11 1:20 AM
Thank you for various answers. An Arduino is on the way.
I must admit I had expected the point of a "Discovery kit" was to provide a quite polished experience, but I guess I'll get there. Right now I am trying to compile the example which was instantiated when I selected the stm32L1 Discory kit. Compilation seems to work - no errors in the console - but when I try to "Run" (whatever that means in this context) I get the following window:
