Projekt

Allgemein

Profil

Feature #466

Von Maximilian Seesslen vor etwa 1 Jahr aktualisiert

objdump mainswitch -t | grep HAL

shows that the symbol is local (and additional global if forced).
Web tells that this might happen due to linker script.

nm stm32f0xx_hal_rcc.c.obj

---

Function costs around 100 Bytes in release build.
Its not only setting some registers; its also waiting for oscilators.
Dont mess with that.

The origin Problem can be solved by forcing the symbol to be global by referencing it in assembler.

Zurück