Difference between revisions of "Zephyr"

From uGFX Wiki
Jump to: navigation, search
(Created page with "The Zephyr port works out of the box without any modifications. Simply enable the port by setting <code>GFX_USE_OS_Zephyr</code> to <code>TRUE</code> in your Configuration|c...")
 
(No difference)

Latest revision as of 17:52, 20 September 2017

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.