buildsystem: flash binary to a named partition
buildsystem: flash binary to a named partition

Add support for CMake version less than 3.8. These versions don't
provide a way to have ternary expressions in expressions generator.

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf