-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Is your feature request related to a problem? Please describe.
Related to #18430 and a few other drivers received recently.
NuttX has decided to move to the new sensor framework/uORB way of writing sensor drivers for consistency + better features, but this is only mentioned on the documentation page for uORB. This results in many contributors missing that information and unfortunately closing their contribution after having dedicated time to writing the driver in the legacy way.
Describe the solution you'd like
As suggested by contributors, we should mark the legacy sensor driver code in the source tree as being "deprecated"/legacy with an in-code comment and possibly a #warning directive. This way, contributors who are using the source-code as a reference for their own driver will be aware that they should reference a newer uORB-style driver instead.
Describe alternatives you've considered
No response
Verification
- I have verified before submitting the report.