What is the minimum cubeMX configuration on stm32L4 discovery board? I want to have clean project without peripheral, only with debugging functionality.
There are project templates and examples using HAL below the Cube repository
but I want to have minimal configuration
Not difficult to take a hatchet to the template and make a tighter one if required.
Or are you looking for an .IOC file template to feed CubeMX?
>> stm32L4 discovery board
Describes about 4 boards
32L476GDISCOVERY - Discovery kit with STM32L476VG MCU - STMicroelectronics
If you would like to use CubeMX just enable single LED. The current CubeMX can initialize the on board stuff but you can skip it, and instead select port where the LED is connected to, configure it as output and use HAL_GPIO_WritePin() to turn on the LED.
Not sure what you want to achieve - I guess you would like to study the generated config starting from the scratch, and add more resources as you go...
You can also use register based approach if you will.
I have solved problem:
set all free pins as analog in configuration
pinout-> SYS -> Serial Wire
and I have clean configuration on my discovery board. Is it proper solution?
Retrieving data ...