|
|
|
@ -72,6 +72,7 @@ extern "C" {
@@ -72,6 +72,7 @@ extern "C" {
|
|
|
|
|
#include <systemlib/px4_macros.h> |
|
|
|
|
#include <px4_arch/io_timer.h> |
|
|
|
|
#include <px4_platform_common/init.h> |
|
|
|
|
#include <px4_platform_common/px4_manifest.h> |
|
|
|
|
#include <px4_platform/gpio.h> |
|
|
|
|
#include <px4_platform/board_determine_hw_info.h> |
|
|
|
|
#include <px4_platform/board_dma_alloc.h> |
|
|
|
@ -221,6 +222,8 @@ __EXPORT int board_app_initialize(uintptr_t arg)
@@ -221,6 +222,8 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
|
|
|
|
|
|
|
|
|
px4_platform_init(); |
|
|
|
|
|
|
|
|
|
/* Enable base EEPROM MTD to read hardware information*/ |
|
|
|
|
px4_mtd_config(board_get_base_eeprom_mtd_manifest()); |
|
|
|
|
|
|
|
|
|
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(), |
|
|
|
|