Hi all, I have a suggestion for improving the device-specific header files, which were taken (I assume) from the IAR suite. The thing that annoys me about them is that they duplicate a great deal of code - I'm quite positive that they could be better done by having some include files for the various peripheral modules, and making each device-specific header include them. I also think this would make the files easier to work with.
It should also be noted that these files declare twice as many symbols as are really necessary, since they are designed also for use with the IAR assembler, which make use of the C preprocessor. GNU as / gasp doesn't, so this is, IMHO, not terribly useful for the gcc stuff. If this seems like a good idea, I volunteer to undertake the reorganisation of these files, which shouldn't take long at all. Which leads me to my second suggestion. I'd like to make some symbols declaration files for use with as / gasp. Right now there don't seem to be any. Are there any objections to my adding such? I'm not entirely sure where to put them - suggestions for a good location are most welcome. cheers -- Michael Ashton <[email protected]> ---- "Because `as' tries to assemble programs in one pass, NEW-LC may not be undefined. If you really detest this restriction we eagerly await a chance to share your improved assembler." -- The GNU Assembler Manual
