zephyr/samples/subsys
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
..
audio/sof samples/subsys/audio/sof: add configuration for imx8m board 2021-10-20 19:08:50 -04:00
canbus drivers: can: remove DT_CHOSEN_ZEPHYR_CANBUS_LABEL macro 2021-11-09 11:19:50 +01:00
console cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
cpp cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
debug cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
display samples: lvgl: add min_ram to adafruit_2_8_tft_touch_v2 test 2021-08-24 15:40:06 -04:00
edac cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
fs samples/littlefs: Remove FIXME with PRIxPTR usage 2021-09-21 06:21:59 -04:00
ipc ipc_service: mi: Convert to device driver 2021-11-04 18:03:16 +01:00
logging cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
lorawan/class_a cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
mgmt cmake: use find_package() instead of literal include in tests and samples 2021-11-01 10:33:09 -04:00
modbus samples: modbus: update/fix samples.yaml configs 2021-09-27 21:54:56 -04:00
nvs storage/flash_map: Add FLASH_AREA_DEVICE macro 2021-11-06 21:37:47 -04:00
pm/device_pm samples: use common PM action callback naming 2021-11-03 20:27:18 -04:00
portability cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
settings soc: riscv: esp32c3: nvs: add NVS support using fixed partitions 2021-10-28 06:47:21 -04:00
shell libc: minimal: add qsort to the minimal libc 2021-11-10 07:00:36 -05:00
task_wdt task_wdt: fix silent init failures 2021-10-01 15:21:32 +02:00
testsuite cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
tracing tests: tracing.osawareness.openocd cleanup 2021-10-13 06:22:44 -04:00
usb usb: move USB_DEVICE_REMOTE_WAKEUP option to drivers 2021-11-08 17:01:32 +01:00
video cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
subsys.rst