See the initial discussion here:https://community.st.com/s/question/0D70X00000765s9/how-to-fix-stm32cubeide-very-small-on-4k-displayI'm happy to post a screenshot if necessary.Using Windows 10 on Dell XPS 13 7390 2-in-1.
The main difference between O2 and O3 seems to be the loop unrolling.The function calls do have a side effect as it is setting a pin high or low in the loops:if (gpioStatus)
gpioSet(COOUT); // Set
else
gpioReset(COOUT); // ResetChanging the type...