Fix error for ESP32. Scripts checks if exists and generates only in target folder if there
build_output/firmware
easier to find and firmware is named after the `envs`. A second folder is generated in `build_output` -> `map` where the generated map files to the bin(s) are stored.