2022-04-13 06:51 AM
Hi, how can I call C function defined as uint32_t getValue(void) inside startup file (in Reset_Handler routine)? What is needed syntax? I tried importing it and setting it as extern (other standard keywords are not working), but nothing seems to work.
I generated the project using CubeMX and use gcc for compilation. The uC is STM32F479VIT (cortex m4).
Solved! Go to Solution.
2022-04-13 09:43 AM
So is it in a C file or a CPP file? Or a .C file compiled as if it where C++