Is there a way i can convert text files to either .o/.bin file using objcopy or any other tool for ARM cortex M4 controller??

Hello team,

I am looking an easiest way to include my text files in my firmware. Is there any way i can convert text files to either .o/.bin file  so that i can flash it directly on mcu with firmware.bin or can merge it with firmware.bin.

Thanks in advance!!