2022-12-09 06: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:
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)?
2022-12-09 07:38 AM
Start with download STM32CubeIDE - Integrated Development Environment for STM32 - STMicroelectronics
2022-12-09 07: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?
2022-12-09 08: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...
2022-12-09 08:05 AM
Thank you for answering. Seems maybe my STM32CubeIDE is not complete?
2022-12-09 08: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.
2022-12-09 04: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
2022-12-10 03:02 AM
No concrete examples, but some general thoughts of mine on basics of mcu programming, subject to discussion, here.
JW
2022-12-10 09:38 PM
Check if there is STM32.support for arduino simpler programming, so your learning goes by levels.
2022-12-11 01: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: