cancel
Showing results for 
Search instead for 
Did you mean: 

What source file are the pins initialized?

llantalan .
Associate II
Posted on November 10, 2017 at 21:15

What source file initializes these pins?

5 REPLIES 5
Posted on November 10, 2017 at 22:03

What exactly are you using, the summary/question lack any context information.

Grep source for '_GPIO'

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
llantalan .
Associate II
Posted on November 11, 2017 at 02:02

Hi sorry, I am using ST Motor Control Workbench with the Nucleo-F303RE and IHM08M1. As well, I am using IAR workbench.

I know that Control_stage_parameters.h defines all the GPIOs but I can't seem to find the source file that initializes the pins.

Posted on November 11, 2017 at 02:55

Probably stm32f3xx_hal_msp.c

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on November 14, 2017 at 20:18

The Motor Control Example workbench doesn't use stm32f3xx_hal_msp.c

Posted on November 14, 2017 at 21:36

And grep or 'Find-in-Files' doesn't get you to HAL_GPIO_Init() ?

If grep of '_GPIO' doesn't show anything, try '_Msp'

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..