来自 Linux 基金会的实时操作系统 Zephyr 发布了 1.0 内核。Zephyr 内核提供的功能包括:
-
Single address-space OS. Combines application-specific code with a custom kernel to create a monolithic image that gets loaded and executed on a system’s hardware. Both the application code and kernel code execute in a single shared address space.
-
Highly configurable. Allows an application to incorporate only the capabilities it needs as it needs them, and to specify their quantity and size.
-
Resources defined at compile-time. Requires all system resources be defined at compilation time, which reduces code size and increases performance.
-
Minimal error checking. Provides minimal run-time error checking to reduce code size and increase performance. An optional error-checking infrastructure is provided to assist in debugging during application development.
-
Extensive suite of services. Offers a number of familiar services for development:
-
Multi-threading Services for both priority-based, non-preemptive fibers and priority-based, preemptive tasks with optional round robin time-slicing.
-
Interrupt Services for both compile-time and run-time registration of interrupt handlers.
-
Inter-thread Synchronization Services for binary semaphores, counting semaphores, and mutex semaphores.
-
Inter-thread Data Passing Services for basic message queues, enhanced message queues, and byte streams.
-
Memory Allocation Services for dynamic allocation and freeing of fixed-size or variable-size memory blocks.
-
Power Management Services such as tickless idle and an advanced idling infrastructure.
该版本的主要特性:
-
Very small memory footprint approx. 8 kB.
-
Multiple architecture support: x86, ARM and ARC.
-
Arduino* 101, Arduino* Due, Intel* Quark* SE and NXP* Kinetis* K64 processor support.
-
Connectivity features: Bluetooth Low Energy (BLE) and 6lowPAN support.
-
Constrained Application Protocol (CoAP) and Datagram Transport Layer Security (DTLS) support.
-
I/O drivers: ADC, GPIO, I2C, SPI.
-
Zephyr SDK for application development.
-
API documentation.
支持的主板包括:
x86 Instruction Set Architectures
ARM (v7-M and v7E-M) Instruction Set Architectures
详细的介绍请看发行说明。