FreeRTOS / Lab-Project-FreeRTOS-POSIX

This repository contains FreeRTOS+POSIX source code, which could be consumed as a submodule.
MIT License
95 stars 60 forks source link

Missing version 1.2.1 #19

Open DavidJurajdaNXP opened 1 year ago

DavidJurajdaNXP commented 1 year ago

Version available in this repository (V1.1.0) is older than one present in: https://github.com/aws/amazon-freertos/tree/main/libraries/freertos_plus/standard/freertos_plus_posix (V1.2.1)

Could you please update this repository or make proposal about recommended version for new integrations?

dachalco commented 1 year ago

Hi @DavidJurajdaNXP

We're reviewing our plans for the Labs +Posix support. If you must use POSIX, I would recommend using code from this repo as the trend is that our other integrations, like amazon-freertos, submodule rather than copy -- merging changes upstream as needed.

In general, for new integrations I would recommend using the first party FreeRTOS kernel APIs (task.h, etc.). The POSIX port is an optional wrapper to existing kernel structures, that's not required for them to work' i.e. "middle-man". You'd likely get better performance directly using the kernel APIs if possible.

Are there particular POSIX features you're interested in? Perhaps we could inform of FreeRTOS API alternatives? Or are you preparing to support existing POSIX via this library?

dachalco commented 1 year ago

There's actually not much functional disparity between this repo and its copy in amazon-freertos. Despite the considerable version difference, it's mostly limited to formatting and version string changes. Though there are a few functional changes.