Skip to content

Commit

Permalink
px4_fmu_v6x:Use common PAB manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 authored and dagar committed Jan 30, 2024
1 parent 84d54c9 commit 5ab9217
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 219 deletions.
1 change: 0 additions & 1 deletion boards/px4/fmu-v6x/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ else()
init.c
led.c
mtd.cpp
manifest.c
sdio.c
spi.cpp
timer_config.cpp
Expand Down
216 changes: 0 additions & 216 deletions boards/px4/fmu-v6x/src/manifest.c

This file was deleted.

13 changes: 11 additions & 2 deletions boards/px4/fmu-v6x/src/mtd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
*
****************************************************************************/

#include <nuttx/config.h>
#include <board_config.h>

#include <nuttx/spi/spi.h>
#include <px4_platform_common/px4_manifest.h>
// KiB BS nB
Expand Down Expand Up @@ -114,10 +117,16 @@ static const px4_mft_entry_s mtd_mft = {
.pmft = (void *) &board_mtd_config,
};

static const px4_mft_entry_s mft_mft = {
.type = MFT,
.pmft = (void *) system_query_manifest,
};

static const px4_mft_s mft = {
.nmft = 1,
.nmft = 2,
.mfts = {
&mtd_mft
&mtd_mft,
&mft_mft,
}
};

Expand Down

0 comments on commit 5ab9217

Please sign in to comment.