ancher-bohdan / LedStrip

Adress Led Strip (ws2812) with STM32 microcontroller`s family
0 stars 0 forks source link

Compile project with -O3 optimization level #2

Open ancher-bohdan opened 5 years ago

ancher-bohdan commented 5 years ago

So far, an project compile with -O0 optimization level. At the beginning of development it is necessary for development and debugging base functionality of the system. I need to change this after finishing with base functionality.

Change appropriate options in Makefile. Refractor all project`s code to ensure correct work with higher level of optimization. If it is necessary, add memory barrier and volatile specificators.