Hi,
actually the only difference between .flashing srec and .elf files is selecting .srec instead of .elf file in debug configurations:

There are no additional special steps. The - s-record file is not an executable file (in meaning what is .elf or .exe format) - it is content of memory represented by text file format.