CubeMX - only Debug ?
OK, I answer on my own post to add some info ...
... found out how to toggle that LED ... still need a way to learn all about that HAL ... philosophy, list of functions, list of defines ... how to use it right
... here's what I get at the end of a successfull "Build all" and "Run" (I still only have the Debug configuration) ...
...
Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.863477
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000f4c msp: 0x20030000
configuring PLL
- Programming Started **
auto erase enabled
Info : device id = 0x10036419
Info : flash size = 2048kbytes
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x20000042 msp: 0x20030000
wrote 16384 bytes from file Debug/Test.elf in 0.998401s (16.026 KiB/s)
- Programming Finished **
- Verify Started **
target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20030000
verified 4184 bytes in 0.219401s (18.623 KiB/s)
- Verified OK **
- Resetting Target **
shutdown command invoked
What bothers me is ... the LEDs are still blinking while I write this ... so what are all these breakpoints and shutdown ? Guess I shouldn't think about it any more as things are running now ... Probably just the status of the STlink, not of the target ...
Still the other things remain ... but OK, the LEDs blink, so life is good 😊 (used to do that with a couple of transistors or even lower stuff once upon a time 😊 ...)