[Dprglist] NUCLEO STM32 L476RG - need suggestion of development environment to use
Chris N
netterchris at gmail.com
Sat Oct 23 07:22:59 PDT 2021
What did you use for "Blinky" ? Was that pre-programmed?
You mentioned both micropython and STM32CubeIDE - I think you want to first
decide what language you want to use - Python or C/C++. Some IDEs are
good at both (VS Code), but some IDEs are better than others at working
with micropython or circuitpython boards.
I would highly recommend VS Code + Platform IO + Arduino Framework +
FreeRTOS.
1) Install Visual Studio Code
2) Install the Platform IO plug-in + any other plugins you find useful
3) Create a project via the Platform IO GUI and select your board + Arduino
framework
4) Add libraries (such as FreeRTOS if you want an RTOS, or for OLED
display, etc. etc)
It's a decent trade-off between ease of use and giving you access to the
features that the STM32 MCU has to offer. Although I really like the
STM32CubeIE (see below), for me, the most compelling reason to use
PlatformIO+Arduino is the fact that I can pull in just about any library
that has ever been created for Arduino-compatible boards. Plus, the VS
Code editor is much better than Eclipse.
If you need more fine-grained control over how you use your STM32 MCU, then
you would want to use the STM32CubeIDE. It is slightly better at
debugging and the APIs that are provided as part of this give you more
control over how all the various peripherals are used. There is a wizard
sort of thing that helps you get the peripherals initialized, so you don't
need to know all the ins and outs at that level, but taking advantage of
the APIs that are provided is certainly harder than working inside the
Arduino framework.
Chris.
On Sat, Oct 23, 2021 at 12:44 AM Thalanayar Muthukumar via DPRGlist <
dprglist at lists.dprg.org> wrote:
> https://www.youtube.com/watch?v=VNPOWBemGqU
>
> Got my NUCLEO L476RG today and got my first Blinky work on it.
> I thought of starting with STM32CubeIDE and micropython, but could not
> figure out how to use these environments.
> Then, I came across mbed.org and was able to get the cpp program for
> blinky working.
>
> What do people use as their development environment for the STM32 boards?
> Need suggestions on what is best to use to get the best experience with
> the STM32.
>
> Every new chip has its own development environment, startup challenges
> that one needs to go through ...
>
> Regards.
> - Kumar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dprg.org/pipermail/dprglist-dprg.org/attachments/20211023/06c95bef/attachment.html>
More information about the DPRGlist
mailing list