Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion components/drivers/misc/rt_null.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Change Logs:
* Date Author Notes
* 2020-12-03 quanzhao the first version
* 2026-10-17 seteiro raise init to BOARD so null can be default console (#11472)
*/

#include <time.h>
Expand Down Expand Up @@ -70,5 +71,7 @@ int null_device_init(void)

return 0;
}
INIT_DEVICE_EXPORT(null_device_init);
/* Register at BOARD level so rt_console_set_device("null") in board init can find it.
* null is a pure software sink; no hardware dependency. See #11472. */
INIT_BOARD_EXPORT(null_device_init);

Loading