Senior
July 23, 2023
Question
complement or replace CubeMX?
- July 23, 2023
- 10 replies
- 6655 views
Hello
I am using CubeIde and cubeMx on a project for several years with no issues.
But I am facing today a limit of CubeMx:
On a STM32L431RCTx I need to have UART2_RX on PA15 and PA2 as GPIO_EXT, not as UART2_TX. CubeMX forces me to have PA2 as UART2_TX :(
I also can't easily use "USER CODE BEGIN/END" areas because CubeMX uses elseif which I can't split (see attached image)
1) Is there a trick to mixing MX setups and personal setups (and this "elseif" not nice)?
2) Is it better to configure everything manually? if so, what is the best practice?
Thank you very much in advance
PS : I'm using CubeID3 1.13 with STM32Cube FW_L4 V1.18.0
