system: Log a warning when booting bootloader or app configured for FPGA use

Such a firmware may appear to work on normal chip, but not everything will function as expected.
This commit is contained in:
Angus Gratton
2021-02-01 14:22:50 +11:00
parent fb18b0ad18
commit 8dbb14b469
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ macro(__target_init)
set(env_idf_env_fpga $ENV{IDF_ENV_FPGA})
if(${env_idf_env_fpga})
idf_build_set_property(__IDF_ENV_FPGA "y")
message(STATUS "IDF_ENV_FPGA is set, building for FPGA environment")
message(NOTICE "IDF_ENV_FPGA is set, building for FPGA environment")
endif()
endmacro()