Joined: 08 Sep 2003 Posts: 99 Location: New Castle, DE
File names for software index?
Posted: Mon Apr 15, 2019 11:57 am
I'm looking for a way to get the file name of each include file and put it in ROM at the time of compiling.
This would be used for a software configuration index function and printed out serial.
I see _file_ and _filename_ but I think these are only valid for the main compile time file.
'include files' tend to be say 'drivers' or code you write, so it'd be easy to add 1 or 2 lines at the beginning of the files. I'd have 'main()' transfer and store those values to ROM in a neat,organized table.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum