Zephyr

From uGFX Wiki
Jump to: navigation, search

The Zephyr port works out of the box without any modifications. Simply enable the port by setting GFX_USE_OS_Zephyr to TRUE in your configuration file.

Heap

Whenever possible, µGFX uses resources of the underlying system. In case of Zephyr that means that µGFX also uses the heap manager provided by Zephyr. Therefore, the Zephyr heap size must be defined through CONFIG_HEAP_MEM_POOL_SIZE. Keep in mind that this is a Zephyr setting and not a µGFX setting! µGFX will throw an error during compilation when CONFIG_HEAP_MEM_POOL_SIZE has not been defined.