1、Unlocking the Power of POSIX Support in Zephyr RTOSAlexey BrodkinSynopsysJune 28th2023,Prague 2023 Synopsys,Inc.2Alexey BrodkinEngineering manager at Synopsys5 years in Zephyr developmentManage Zephyr development in SynopsysZephyr ambassador 2023 Synopsys,Inc.3Agenda Introduction:Zephyr Project&POSI
2、X POSIX Support in Zephyr RTOS Use-cases 2023 Synopsys,Inc.4Introduction:Zephyr Project&POSIXZephyr ProjectPOSIX 2023 Synopsys,Inc.5Features overviewKernelOS ServicesApplication ServicesHAL3rd Party LibrariesZephyr OSComprehensive,lightweight,kernel&supporting servicesFits where Linux is too bigInhe
3、rently portable&secureHighly connectedBluetooth 5.0&BLEWi-Fi,Ethernet,CANbus,IoT protocols:CoAP,LwM2M,MQTT,OpenThread,USB&USB-CDeveloper-friendlyLogging,tracing,debugging,built-in shell,Windows/Linux/macOS support,2023 Synopsys,Inc.6Architecture 2023 Synopsys,Inc.7Basic facts about POSIX Acronym for
4、 Portable Operating System Interface.IEEE Std 1003.1“Portable Operating System Interface(POSIX)”Originally focused on the UNIX systems IEEE Std 1003.13“Standardized Application Environment Profile(AEP)POSIX Realtime and Embedded Application Support”First version in 1988,latest version in 2018 Specif
5、ies application programming interfaces(APIs)at the source level,and is about source code portability,not binary compatibilityPOSIX threads pthread_create()pthread_join()pthread_mutex_lock()pthread_cond_wait()Device I/O functions open()close()fputc()fputc()Basic C language functions abs()atoi()div()r
6、and()2023 Synopsys,Inc.8POSIX in the context of embedded systemsIts all about source code portabilityLiteOSINTEGRITY RTOSPortable,cross platforms librariesSame application running on multiple platformsOS/execution environment independenceVxWorks is a registered trademark of Wind River Systems,Inc.,F