zephyr/samples/subsys/shell/shell_module
Christopher Friedt bd83df1552 libc: minimal: add qsort to the minimal libc
This change implements qsort() for the minimal libc via Heapsort.

Heapsort time complexity is O(n log(n)) in the best, average,
and worst cases. It is O(1) in space complexity (i.e. sorts
in-place) and is iterative rather than recursive. Heapsort is
not stable (i.e. does not preserve order of identical elements).

On cortex-m0, this implementation occupies ~240 bytes.

Fixes #28896

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-11-10 07:00:36 -05:00
..
src libc: minimal: add qsort to the minimal libc 2021-11-10 07:00:36 -05:00
CMakeLists.txt libc: minimal: add qsort to the minimal libc 2021-11-10 07:00:36 -05:00
Kconfig
overlay-usb.conf samples: shell: get CDC ACM UART device from devicetree 2021-08-23 18:53:47 -04:00
prj_getopt.conf shell: sample: add getopt 2021-03-01 09:50:32 -05:00
prj_login.conf samples: shell_module: use Kconfig setting SHELL_CMD_ROOT 2021-06-16 10:41:17 +02:00
prj_minimal_rtt.conf kernel: remove object tracing 2021-05-07 22:10:21 -04:00
prj_minimal.conf kernel: remove object tracing 2021-05-07 22:10:21 -04:00
prj.conf stats: Add a stats shell command 2021-10-14 06:32:57 -04:00
sample.yaml shell: remove Kconfig option CONFIG_UART_SHELL_ON_DEV_NAME 2021-08-24 17:15:58 -04:00
usb.overlay samples: shell: get CDC ACM UART device from devicetree 2021-08-23 18:53:47 -04:00