Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:laboratoare:2025:lab11 [2025/12/15 17:01]
dan.tudose [Lab 11. Zephyr RTOS]
iothings:laboratoare:2025:lab11 [2026/01/03 18:10] (current)
dan.tudose
Line 1: Line 1:
-====== Lab 11. Zephyr RTOS ======+====== Lab 11. Zephyr RTOS: Intro, Building a simple app ====== 
 + 
 +Zephyr OS is a small, open-source real-time operating system (RTOS) designed for resource-constrained embedded and IoT devices, from tiny microcontrollers up to more capable edge hardware. It focuses on predictable,​ low-latency behavior with a preemptive kernel, strong configurability (you build only what you need), and broad hardware support through a clean device-driver model. Zephyr includes common embedded features like threads, synchronization primitives, timers, power management, networking stacks (e.g., TCP/IP, Bluetooth LE), and security options, all maintained under the Linux Foundation with an emphasis on portability,​ modularity, and production use.
  
 {{ :​iothings:​laboratoare:​2025:​zephyr_rtos_logo.png?​300|}} {{ :​iothings:​laboratoare:​2025:​zephyr_rtos_logo.png?​300|}}
Line 208: Line 210:
 int main(void) int main(void)
 { {
-    printk("​Hello World from Sparrow (ESP32-C6)!\n"​);​ 
     while (1) {     while (1) {
 +        printk("​Hello World from Sparrow (ESP32-C6)!\n"​);​
         k_sleep(K_SECONDS(1));​         k_sleep(K_SECONDS(1));​
     }     }
Line 285: Line 287:
 </​code>​ </​code>​
  
-Then build:+Then go to your ''​sparrow_hello''​ folder and build:
  
 <code bash> <code bash>
iothings/laboratoare/2025/lab11.1765810903.txt.gz · Last modified: 2025/12/15 17:01 by dan.tudose
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0