diff --git a/platforms/nuttx/toc/CMakeLists.txt b/platforms/nuttx/toc/CMakeLists.txt index 646c3835b8b9..6f6079a88929 100644 --- a/platforms/nuttx/toc/CMakeLists.txt +++ b/platforms/nuttx/toc/CMakeLists.txt @@ -60,8 +60,8 @@ if(NOT USE_LD_GOLD) target_link_libraries(toc PRIVATE -Wl,--print-memory-usage) endif() -target_link_libraries(toc PRIVATE board_toc) -target_link_libraries(drivers_board PRIVATE board_toc) +target_link_libraries(toc PRIVATE board_toc image_cfg) +target_link_libraries(drivers_board PRIVATE board_toc image_cfg) set(TOC_BINARY_OUTPUT ${PX4_BINARY_DIR}/toc.bin) diff --git a/src/include/image_toc.h b/src/include/image_toc.h index 479888b21315..048eaeeb24da 100644 --- a/src/include/image_toc.h +++ b/src/include/image_toc.h @@ -48,6 +48,7 @@ #define TOC_FLAG1_DECRYPT 0x8 #define TOC_FLAG1_COPY 0x10 +#define TOC_FLAG1_ICFG 0x40 #define TOC_FLAG1_RDCT 0x80 #define TOC_START_MAGIC 0x00434f54 /* "TOC" */