Kconfig backport #18259 & remove contrained flash depedency on NO_HELP

This commit is contained in:
Peter van der Perk
2021-10-07 10:09:01 -04:00
committed by Daniel Agar
parent c3c9910f04
commit bb7b033e11
3 changed files with 6 additions and 8 deletions
+4 -3
View File
@@ -273,9 +273,10 @@ if(EXISTS ${BOARD_DEFCONFIG})
if(CONSTRAINED_FLASH)
set(px4_constrained_flash_build "1" CACHE INTERNAL "constrained flash build" FORCE)
add_definitions(-DCONSTRAINED_FLASH)
if (NO_HELP)
add_definitions(-DCONSTRAINED_FLASH_NO_HELP="https://docs.px4.io/master/en/modules/modules_main.html")
endif()
endif()
if (NO_HELP)
add_definitions(-DCONSTRAINED_FLASH_NO_HELP="https://docs.px4.io/master/en/modules/modules_main.html")
endif()
if(CONSTRAINED_MEMORY)