Reduce CPU usage?

Hello, i am trying to make game like fluppy bird , and problem is that CPU usage is very big , all is lagging . Any idea ? ))

There’s not enough information to give an exact answer.

  • What are your MCU specs (type, speed)?
  • What is the size of your display?
  • What is your application doing on the display (moving one object around, scrolling a background)?
  • Are you compiling with optimization enabled?
  • If there is a cache available, have you turned it on?

the specs need to optimize