rtic-syntax
rtic-syntax copied to clipboard
Externally defined Init/Idle
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
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.
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).
TODO: Make sure that the visibility of the shared and local struct is pub if externalized, and propagate it
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.