rtic-syntax icon indicating copy to clipboard operation
rtic-syntax copied to clipboard

Externally defined Init/Idle

Open AfoHT opened this issue 3 years ago • 4 comments

Tasks support being externally defined, idle and init should too.

rtic-syntax component of fixing https://github.com/rtic-rs/cortex-m-rtic/issues/505

AfoHT avatar Feb 05 '22 10:02 AfoHT

Review this pr please, it's very important for those who use Clion without proper macro proc. Actually the only way to write code with autocomplete and syntax highlighting.

Ridtt avatar Feb 19 '22 04:02 Ridtt

Review this pr please, it's very important for those who use Clion without proper macro proc. Actually the only way to write code with autocomplete and syntax highlighting.

Indeed, however there is more work needed in codegen to make this work, this is the first step (the parsing).

perlindgren avatar Feb 19 '22 07:02 perlindgren

TODO: Make sure that the visibility of the shared and local struct is pub if externalized, and propagate it

AfoHT avatar Sep 28 '22 19:09 AfoHT

Commenting to express some interest in this feature. I'm starting to work on some more complicated apps and I'd love to put initialization in a separate module.

johngigantic avatar Jan 11 '23 08:01 johngigantic