Skip to main content
BCrow.1
Associate II
Jan 6, 2020 6:36 PM UTC
Solved

I am just starting to use a Nucleo-L476RG demo board that comes with code that flashes the LED at fixed rates selected by the switch. Where can I find the source code for that application?

..

This topic has been closed for replies.
KnarfB
KnarfBBest answer
Super User
Jan 6, 2020 7:41 PM UTC

You find similar examples in the STM32L4 firmware. It is installed by STM32Cube software or can be downloaded separately. Under Win10 like %USERPROFILE%\STM32Cube\Repository\STM32Cube_FW_L4_V1.14.0\Projects\NUCLEO-L476RG\Examples\GPIO\GPIO_IOToggle.

3 replies

KnarfB
KnarfBBest answer
Super User
Jan 6, 2020 7:41 PM UTC

You find similar examples in the STM32L4 firmware. It is installed by STM32Cube software or can be downloaded separately. Under Win10 like %USERPROFILE%\STM32Cube\Repository\STM32Cube_FW_L4_V1.14.0\Projects\NUCLEO-L476RG\Examples\GPIO\GPIO_IOToggle.

Tesla DeLorean
Guru
Jan 6, 2020 7:52 PM UTC

As above, use your CubeMX/CubeIDE repository, or download the CubeL4 archive and unpack it.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
BCrow.1
BCrow.1Author
Associate II
Jan 7, 2020 2:57 PM UTC

Thanks for the help in pointing that out. The documentation points toward the website for examples, which confuses the issue somewhat. Thanks for clearing it up for me.