I have remapped the Disco led to LD2, Button to User Button 2 and Usart6 to Usart1 using HAL from STM32 Cube.
I am able to flash and run the code but the CPU load always comes around 88% and when the button is pressed, it goes to 99 %, please tell me what could be going wrong ??

Let me explain a little bit. CPU load is very strong word and has in fact only sense if you are using operating system with inter-thread communications where threads wait each other for tasks/events/syncs. CPU load then measures the difference how much time CPU is in user tasks versus how much time is in IDLE task (doing while loop). If there is no OS, then we can do some “test” by calculating how much time CPU has to sleep before next interrupt wakes CPU again.

This lib is more experimental. In NON-OS mode, CPU Load is always 100% except if in low-power mode.

Sahbi Lahmar

hello Majerle , I’m using an stm32f429I discovery and i want to connect it with an esp8266 wifi module after that i ‘ll connect it to a realtime firebase can you help me with librarys or advance ,i also need to developp a gui