add boot2 info to binary info

This commit is contained in:
graham sanderson
2021-02-18 18:40:11 -06:00
parent 4639e75d0d
commit 4b7ffd71f0
3 changed files with 16 additions and 2 deletions

View File

@ -66,7 +66,13 @@ bi_decl(bi_program_url(PICO_PROGRAM_URL))
#endif
#endif
#if !PICO_NO_BUILD_TYPE_FEATURE
#if !PICO_NO_BI_BOOT2_NAME
#ifdef PICO_BOOT2_NAME
bi_decl(bi_string(BINARY_INFO_TAG_RASPBERRY_PI, BINARY_INFO_ID_RP_BOOT2_NAME, PICO_BOOT2_NAME))
#endif
#endif
#if !PICO_NO_BI_BUILD_TYPE
#ifdef PICO_CMAKE_BUILD_TYPE
bi_decl(bi_program_build_attribute(PICO_CMAKE_BUILD_TYPE))
#else