This site required JavaScript
to be enabled. Click here to
view a static menu.
FreeRTOS+POSIX is provided under the MIT open source license by Amazon Web Services.
We encourage you to give FreeRTOS+POSIX a try, but please be aware when doing so that the code is still in the lab, which means we have not yet completed our review and test quality control processes. Please use the forum for support, or contact us directly if you have a specific business interest.
On this page:
With FreeRTOS+POSIX, an existing POSIX threading compliant application can be ported to run on the FreeRTOS kernel, and therefor leverage all the Amazon FreeRTOS functionality. Additionally, a library designed for use with POSIX threading compatible operating systems can be ported to FreeRTOS kernel based applications.
Porting related headers and implementation source code
/lib/FreeRTOS-Plus-POSIX
|-- include
| |
| +- FreeRTOS_POSIX.h
| +- FreeRTOS_POSIX_internal.h
| +- portable
| |
| +- [target]
| | |
| | +- [development board]
| | |
| | +- FreeRTOS_POSIX_portable.h
| |
| +- FreeRTOS_POSIX_portable_default.h
|
+- source
+- FreeRTOS_POSIX_clock.c
+- FreeRTOS_POSIX_mqueue.c
+- FreeRTOS_POSIX_pthread_barrier.c
+- FreeRTOS_POSIX_pthread.c
+- FreeRTOS_POSIX_pthread_cond.c
+- FreeRTOS_POSIX_pthread_mutex.c
+- FreeRTOS_POSIX_sched.c
+- FreeRTOS_POSIX_semaphore.c
+- FreeRTOS_POSIX_timer.c
+- FreeRTOS_POSIX_unistd.c
+- FreeRTOS_POSIX_utils.c
FreeRTOS+POSIX headers
/lib/include/FreeRTOS_POSIX
+- errno.h
+- fcntl.h
+- mqueue.h
+- pthread.h
+- sched.h
+- semaphore.h
+- signal.h
+- sys
| |
| +- types.h
|
+- time.h
+- unistd.h
+- utils.h
/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX.h
This header file brings in dependencies required by FreeRTOS+POSIX. This file must be included before all other FreeRTOS+POSIX includes.
/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_internal.h
FreeRTOS+POSIX internal structs and initializers. Users are not suggested to touch this file.
/lib/FreeRTOS-Plus-POSIX/include/FreeRTOS_POSIX_portable_default.h
Defaults for FreeRTOS+POSIX port-specific configuration options.
/lib/FreeRTOS-Plus-POSIX/include/portable/[vendor-directory]/FreeRTOS_POSIX_portable.h
Port-specific configuration overwrite of FreeRTOS+POSIX. As an example,
/lib/FreeRTOS-Plus-POSIX/include/portable/pc/windows/FreeRTOS_POSIX_portable.h,
Windows simulator uses the defaults, thus does not need to overwrite anything.
/lib/FreeRTOS-Plus-POSIX/include
/lib/FreeRTOS-Plus-POSIX/source
/lib/include/FreeRTOS_POSIX/
/lib/FreeRTOS-Plus-POSIX/include/portable.