idf_build_get_property(idf_target IDF_TARGET)
if(NOT ${idf_target} STREQUAL ${CONFIG_IDF_TARGET})
message(FATAL_ERROR "CONFIG_IDF_TARGET in sdkconfig does not match "
- "IDF_TARGET environement variable. To change the target, delete "
+ "IDF_TARGET environment variable. To change the target, delete "
"sdkconfig file and build the project again.")
endif()
endfunction()
"checked ${toolchain_file_global} and ${toolchain_file_component}")
endif()
endif()
-endmacro()
\ No newline at end of file
+endmacro()