Zephyr and the Memory Footprint: Difference between revisions

From chriesibaum wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
* https://docs.zephyrproject.org/latest/guides/optimizations/tools.html
* https://docs.zephyrproject.org/latest/guides/optimizations/tools.html


<syntaxhighlight lang="python" line='line'>
<syntaxhighlight lang="python">
def quick_sort(arr):
def quick_sort(arr):
less = []
less = []

Revision as of 19:07, 25 January 2021

Do you want to use Zephyr RTOS on a Microcontroller with only a few bytes of Flash? Let's try it!



def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass