mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-16 01:05:15 +08:00
rt_console_set_device() is typically called in rt_hw_board_init() right after rt_components_board_init(). null was INIT_DEVICE (level 3), so it was not registered yet and could not be RT_CONSOLE_DEVICE_NAME. Raise to INIT_BOARD_EXPORT; null is a pure software sink with no HW deps. Co-Authored-By: Grok <seteiro@mail.grokbot.com>