lf-lang / lingua-franca

Intuitive concurrent programming in any language
https://www.lf-lang.org
Other
220 stars 59 forks source link

Running on embedded platforms #183

Open mryndzionek opened 4 years ago

mryndzionek commented 4 years ago

Wiki says:

It has been tested on Linux, Windows, and Mac platforms, as well as some bare-iron platforms

Is it only Patmos, or some other platforms as well?

edwardalee commented 4 years ago

Only Patmos so far.

mryndzionek commented 4 years ago

What would be involved in adding for example FreeRTOS port? Is adding a new platform equivalent with re-implementing file in https://github.com/icyphy/lingua-franca/tree/master/xtext/org.icyphy.linguafranca/src/lib/C?

lhstrh commented 4 years ago

Our current implementation relies on PThreads -- it should run on FreeRTOS+POSIX (but we haven't tried that yet).

If we wanted to instead support the native FreeRTOS API, that would indeed require implementing adapted versions of some of the files you're pointing to.

Soroosh129 commented 3 years ago

Just adding here that Lingua Franca has now been tested on NVIDIA's Jetson AGX Xavier.