Conversation
Notices
-
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Thursday, 09-Nov-2023 16:55:28 JST James Morris Anyone else picked up some older Arduino code written in kernel-like C, which doesn’t compile anymore due to use of non-trivial designated intializers, and had to rewrite the code with C++ objects? -
Embed this notice
Jarkko Sakkinen (jarkko@social.kernel.org)'s status on Friday, 10-Nov-2023 02:40:44 JST Jarkko Sakkinen I’d consider rewriting it with Rust and adr-hal.
James Morris likes this. -
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Friday, 10-Nov-2023 02:41:32 JST James Morris @jarkko Interesting, does this allow use of existing Arduino libraries? -
Embed this notice
James Morris (jmorris@social.kernel.org)'s status on Friday, 10-Nov-2023 02:46:15 JST James Morris I now have a LOVELY combination of C and C++ to clean up one day. -
Embed this notice
Jarkko Sakkinen (jarkko@social.kernel.org)'s status on Friday, 10-Nov-2023 03:05:53 JST Jarkko Sakkinen @jmorris My inital guess was no but then I googled a bit and found https://dev.to/kgrech/five-simple-steps-to-use-any-arduino-c-library-in-a-rust-project-1k78 James Morris likes this.
-
Embed this notice