nng icon indicating copy to clipboard operation
nng copied to clipboard

FreeRTOS support

Open gdamore opened this issue 8 years ago • 8 comments

A question has come up about integration in FreeRTOS. It would be meaningful to demonstrate that the code works for FreeRTOS as an example non-mainstream platform.

gdamore avatar Jan 16 '17 01:01 gdamore

Zephyr (http://zephyrproject.org/) could be another similar RTOS option.

nullr0ute avatar Jun 17 '18 17:06 nullr0ute

Looks interesting.

On Sun, Jun 17, 2018, 10:52 AM Peter Robinson [email protected] wrote:

Zephyr (http://zephyrproject.org/) could be another similar RTOS option.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nanomsg/nng/issues/15#issuecomment-397895087, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPDfUm04I8IUIM5cSh98_Kv0UkJtNy5ks5t9pdGgaJpZM4LkG2x .

gdamore avatar Jun 18 '18 02:06 gdamore

anyone been playing around with this? nng on embedded via zephyr would be a great fit

raveslave avatar Mar 01 '21 11:03 raveslave

I have implemented some bare minimum functionality here: https://github.com/unspecd/nng/tree/freertos

unspecd avatar Mar 07 '21 03:03 unspecd

concering Zephyr: when chosing posix_native as board and setting CONFIG_BOARD_NATIVE_POSIX_64BIT=y (or 32BIT) it *just works*.

leonardp avatar May 13 '21 10:05 leonardp

i've added the zephyr demo i used to test this here: https://github.com/leonardp/nng-zephyr to make nng work as a zephyr module you basically only need to add a zephyr directory as seen here: https://github.com/leonardp/nng/commit/741c4e84fdc285065103796052e8bfd03757bb50 however i am unable to get it to work with anything other than native_posix_64 mostly because i am running into cmake related issues...

leonardp avatar May 24 '21 14:05 leonardp

i've added the zephyr demo i used to test this here: https://github.com/leonardp/nng-zephyr to make nng work as a zephyr module you basically only need to add a zephyr directory as seen here: leonardp@741c4e8 however i am unable to get it to work with anything other than native_posix_64 mostly because i am running into cmake related issues...

I worry that it works, because you compile it in native (probably linux) environment. I'm not sure how zephyr works, ie. compile in that case, but in my opionion it has to be compiled with native linux libs, hasn't it? It would be nice if you compile it to bare metal (e.g. some cortex-m). I considered zephyr instead of freeRTOS so if it works, it is really big advantage.

pgorgon-hem avatar Jun 10 '21 09:06 pgorgon-hem

hi, what's the status for support freertos?

Jzhenli avatar Sep 14 '21 06:09 Jzhenli