cancel
Showing results for 
Search instead for 
Did you mean: 

Getting started working with STMCude IDE and use C++ for my Nucleo board

TechyAry
Associate

Installed STM32Cubde IDE on my machine and selected my board.

1.PNG

I was expecting some of the pins/peripherals are set by default but as shown in the screenshot they are not.
How to fix this issue please?

13 REPLIES 13
mfgkw
Associate II

Hi Andrew,

> But you can tell it to not generate the main.c file at all.

But I assume you lose the initialisations in main.c? Or where will they go?



Yes - you have to call them yourself.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

It is "Do not generate the main()".
"main.c" is always created apparently. 


@TechyAry wrote:

It is "Do not generate the main()".


So it is:

AndrewNeil_0-1748339876442.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.