Hacker News new | past | comments | ask | show | jobs | submit login

author here. My RTOS of choice (ChibiOS) uses a lot of function like macros which are not supported by rustbindgen. Other RTOSes such as FreeRTOS or UC/OS-II would be easier but they don't provide drivers, making them less interesting.

If anybody has experience with writing C macros to rust bindings I would be interested in hearing about it.




I know that chibi OS is funded by ST(for developing a version for their automotive line of automotive mcu's). Hence why it's only limited to ST platforms(still that's a lot of variety at great price).

Maybe they'll be interested in funding rust development? it might give them some competitive advantage, some amount of control of a possible future platform, i.e. rust.


I did not know that ChibiOS was funded by ST. I thought they only worked on FreeRTOS (CHibiOS is not limited to ST's MCUs).




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: