1
\$\begingroup\$

i was wondering where does CubeMX (when you export it to an IDE such as Atollic) generate GPIO initialization for alternate functions such as Timer capture pins, UART pin ect. (we are talking about HAL drivers) I've noticed it's not initialized in GPIO_Init nor the specific initialization function used. I want to set pull up on an AF pin without having to import the project again. So where is it?

\$\endgroup\$
1
  • \$\begingroup\$ You can configure CubeMX to generate code for Atollic Truestrudio. \$\endgroup\$
    – Long Pham
    Jul 9, 2019 at 10:52

1 Answer 1

2
\$\begingroup\$

Nevermind i'm blind, it's in stm32f1xx_hal_msp.c file.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.