File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2006-2022 , RT-Thread Development Team
2+ * Copyright (c) 2006-2024 , RT-Thread Development Team
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 *
@@ -60,22 +60,22 @@ void rt_hw_board_init(void)
6060 rt_system_heap_init ((void * )HEAP_BEGIN , (void * )HEAP_END );
6161#endif
6262
63-
63+
6464#ifdef RT_USING_SERIAL
6565 rt_hw_uart_init ();
6666#endif
67-
67+
6868#ifdef SEGGER_RTT_ENABLE
6969extern int rt_hw_jlink_rtt_init (void );
70- rt_hw_jlink_rtt_init ();
71- rt_console_set_device ("jlinkRtt" );
70+ rt_hw_jlink_rtt_init ();
71+ rt_console_set_device ("jlinkRtt" );
7272#else
73- #if defined(RT_USING_CONSOLE ) && defined(RT_USING_DEVICE )
74- rt_console_set_device (RT_CONSOLE_DEVICE_NAME );
75- #endif
73+ #if defined(RT_USING_CONSOLE ) && defined(RT_USING_DEVICE )
74+ rt_console_set_device (RT_CONSOLE_DEVICE_NAME );
75+ #endif
7676#endif
7777
78-
78+
7979#ifdef RT_USING_COMPONENTS_INIT
8080 rt_components_board_init ();
8181#endif
You can’t perform that action at this time.
0 commit comments