mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 13:31:36 +08:00
nxp_imxrt1170-evk:Entry is start
This commit is contained in:
@@ -34,7 +34,7 @@ EXTERN(g_flash_config)
|
|||||||
EXTERN(g_image_vector_table)
|
EXTERN(g_image_vector_table)
|
||||||
EXTERN(g_boot_data)
|
EXTERN(g_boot_data)
|
||||||
|
|
||||||
ENTRY(_stext)
|
ENTRY(__start)
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -254,15 +254,15 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|||||||
int ret = OK;
|
int ret = OK;
|
||||||
|
|
||||||
board_spi_reset(10, 0xffff);
|
board_spi_reset(10, 0xffff);
|
||||||
|
/*
|
||||||
|
if (OK == board_determine_hw_info()) {
|
||||||
|
syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(),
|
||||||
|
board_get_hw_type_name());
|
||||||
|
|
||||||
if (OK == board_determine_hw_info()) {
|
} else {
|
||||||
syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(),
|
syslog(LOG_ERR, "[boot] Failed to read HW revision and version\n");
|
||||||
board_get_hw_type_name());
|
}
|
||||||
|
*/
|
||||||
} else {
|
|
||||||
syslog(LOG_ERR, "[boot] Failed to read HW revision and version\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
px4_platform_init();
|
px4_platform_init();
|
||||||
|
|
||||||
/* configure the DMA allocator */
|
/* configure the DMA allocator */
|
||||||
|
|||||||
Reference in New Issue
Block a user