cancel
Showing results for 
Search instead for 
Did you mean: 

C++ and linker script

IAgui
Associate II

Hello All,

I am using an STM32f767ZI device. I wrote a c++ program that has a base io class in which a gpio peripheral class inherits from the base io class. I call HAL_GPIO_TogglePin, HAL_GPIO_Init and HAL_GPIO_WritePin in the gpio class methods all seem to work as I expect. In my research on how to accomplish this, I noticed that certain people have added sections to their linker script to have their c++ program work properly. In my case, I didn't have to. Can anyone shed some light on this?

0 REPLIES 0