We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
As title.
This is not available in the Keil tools. :-(
I have seen tools where the Linker provides symbols that can do this kind of thing - but not Keil.
uVision doesn't even give the compiler access to the parameters entered in the Target Options, though this could easily be done with predefined macros - like it does for the Memory Model: www.keil.com/.../c51_pp_predefmacroconst.htm
:-(
You may be able to get what you need by defining variables that you know (by Linker controls?) will be first & last in the group?
Perhaps if you explained what you're actually trying to achieve, people might be able to offer informed suggestions...
I haven't been able to find that much info about it, but does the SROM feature provide any useful solutions?
See http://www.keil.com/support/docs/2374.htm
On the C166 the linker seems to create symbols that you can use in your source files using macros, the linker will fill in the addresses or sizes at link-time. See http://www.keil.com/support/man/docs/l166/l166_sections.htm but it contains a dead link to more SROM info at http://www.keil.com/support/man/docs/c166/c166_ap_srom.htm (already mailed the webmaster about this).
Regards, Joost Leeuwesteijn
See also: http://www.keil.com/support/man/docs/lx51/lx51_ls_srom.htm http://www.keil.com/support/man/docs/lx51/lx51_ls_segmentinfo.htm http://www.keil.com/support/man/docs/lx51/lx51_ls_classinfo.htm
Now that does look useful!
I haven't noticed it before - is it a new feature? If so, in what version did it appear?
Now that does look useful! I haven't noticed it before - is it a new feature? If so, in what version did it appear?
Not sure where it appeared; expecting a Reinhard-post soon :-) Or check the changelog's/release notes.
I noticed it in the C166 toolset and searched on C51 and it turned out that C51 also supports it. It adds alot of flexibility.
The manual: http://www.keil.com/support/man/docs/lx51/lx51_ls_classinfo.htm says it's preliminary info so I guess it's all pretty new stuff. The C166 doesn't have much info about it either, except a link to a non-existing page.
Haven't been able to find anything in the release notes, for C166 nor C51. Maybe if you'd check all the What's New pages, which I'm not going to do.
"The manual: http://www.keil.com/support/man/docs/lx51/lx51_ls_classinfo.htm says it's preliminary info so I guess it's all pretty new stuff"
Actually, it's said that for at least 3 years now... :-(
My PDF version of the Assembler & Utilities manual is dated 02.2001, and is is in there (on p291)
So there you go - I've been missing it for all these years!
says it's preliminary info
The manuals will stop being "preliminary" once the Google apps make it past "beta".