|
@@ -1,22 +1,12 @@
|
|
|
/*
|
|
|
-Copyright 2020 Shenzhen Academy of Aerospace Technology
|
|
|
-
|
|
|
-Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
-you may not use this file except in compliance with the License.
|
|
|
-You may obtain a copy of the License at
|
|
|
-
|
|
|
- http://www.apache.org/licenses/LICENSE-2.0
|
|
|
-
|
|
|
-Unless required by applicable law or agreed to in writing, software
|
|
|
-distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
-See the License for the specific language governing permissions and
|
|
|
-limitations under the License.
|
|
|
-
|
|
|
-Change Logs:
|
|
|
-Date Author Notes
|
|
|
-2020-10-16 Dystopia the first version
|
|
|
-*/
|
|
|
+ * Copyright (c) 2020, Shenzhen Academy of Aerospace Technology
|
|
|
+ *
|
|
|
+ * SPDX-License-Identifier: Apache-2.0
|
|
|
+ *
|
|
|
+ * Change Logs:
|
|
|
+ * Date Author Notes
|
|
|
+ * 2020-10-16 Dystopia the first version
|
|
|
+ */
|
|
|
|
|
|
#include <rthw.h>
|
|
|
#include <rtthread.h>
|
|
@@ -58,7 +48,7 @@ INIT_BOARD_EXPORT(rt_hw_timer_init);
|
|
|
*/
|
|
|
void rt_hw_board_init(void)
|
|
|
{
|
|
|
- rt_system_heap_init((void *)&__bss_end, (void *)&__bss_end + 0x01000000);
|
|
|
+ rt_system_heap_init((void *)&__bss_end, (unsigned char *)&__bss_end + 0x01000000);
|
|
|
rt_components_board_init();
|
|
|
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
|
|
|
}
|