Kaben123 opened a new pull request, #18179: URL: https://github.com/apache/nuttx/pull/18179
Add NOTE_DUMP_BINARY to the note_type_e enum and implement its handling in noteram_dump_one. This enables the recording and dumping of binary logs in hexadecimal format, improving traceability for binary event data. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary This PR adds support for a new note type, `NOTE_DUMP_BINARY`, to the NuttX scheduler note system. The change extends the `note_type_e` enumeration and updates the `noteram_dump_one` function to handle binary dump events. When a `NOTE_DUMP_BINARY` event is encountered, the driver will output the associated data in hexadecimal format, enabling the recording and analysis of binary logs. ## Impact - Adds a new note type for binary log dumping. - Enhances the debugging and traceability capabilities for binary event data. - No impact on existing note types or normal operation. ## Testing - Verified that NOTE_DUMP_BINARY events are correctly recorded and dumped in hexadecimal format. - Existing note dump and mark functionalities remain unaffected. - No regressions observed in standard note tracing scenarios. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
