Refactor mtd to make available to board startup

This commit is contained in:
David Sidrane
2020-12-02 20:40:23 -05:00
committed by Daniel Agar
parent 1b9ab2a3e2
commit 68ab736b16
11 changed files with 895 additions and 467 deletions
@@ -33,6 +33,7 @@
#include <px4_platform_common/init.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/px4_manifest.h>
#include <px4_platform_common/console_buffer.h>
#include <px4_platform_common/defines.h>
#include <drivers/drv_hrt.h>
@@ -119,3 +120,9 @@ int px4_platform_init(void)
return PX4_OK;
}
int px4_platform_configure(void)
{
return px4_mft_configure(board_get_manifest());
}