Hi,
is there a way in keil to remove info about project path like C:\...............from generated .bin or hex file?
thanks
Where do you see a path in a hex file? This is impossible because a hex file does not contain debug information. The same applies for a .bin files.
It is different for .axf files which are generated by the linker. These files may contain debug information with path information of the involved source files.
What file is this and how did you create it?
This might be a part of a *.axf file (=ELF/DWARF file format) that contains debug information and therefore all the source files with their paths. If you need a hex file without any debug information, then create it with 'Create HEX file" as described here:
https://developer.arm.com/documentation/101407/0538/Dialogs/Project/Options/Output/Output--Arm-Compiler-?lang=en
https://developer.arm.com/documentation/ka004238/latest