mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
durandal-v1:Bootloader init NULL console
This commit is contained in:
committed by
Daniel Agar
parent
962b90fd75
commit
1fa1f8c2c5
@@ -46,6 +46,8 @@
|
||||
#include <stm32_uart.h>
|
||||
#include <arch/board/board.h>
|
||||
#include "arm_internal.h"
|
||||
#include <px4_platform_common/init.h>
|
||||
|
||||
|
||||
extern int sercon_main(int c, char **argv);
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include <stm32_uart.h>
|
||||
#include <arch/board/board.h>
|
||||
#include "arm_internal.h"
|
||||
#include <px4_platform_common/init.h>
|
||||
|
||||
extern int sercon_main(int c, char **argv);
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include <stm32_uart.h>
|
||||
#include <arch/board/board.h>
|
||||
#include "arm_internal.h"
|
||||
#include <px4_platform_common/init.h>
|
||||
|
||||
extern int sercon_main(int c, char **argv);
|
||||
|
||||
@@ -64,6 +65,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
void board_late_initialize(void)
|
||||
{
|
||||
px4_platform_console_init();
|
||||
sercon_main(0, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user