0
\$\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\$
  • \$\begingroup\$ You can configure CubeMX to generate code for Atollic Truestrudio. \$\endgroup\$ – Long Pham Jul 9 at 10:52
0
\$\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, privacy policy and cookie policy

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