AVR-Ada Wiki
Ada cross compiler and libraries for AVR µCs
Status: Beta
Brought to you by:
rolf_ebert
1. cd /opt/avrada-1.2.2 2. cd ./avr/lib/gnat 3. sudo dos2ux *.gpr
Eliminates pesky Windows/DOS CR in project text files.
4. sudo edit avr_app.gpr
Change Line:
Mapfile_Opt := "-Wl,-Map=../" & Main_Name & ".map,--cref";
to:
Mapfile_Opt := "-Wl,-Map=./" & Main_Name & ".map,--cref";
If you don't like the map file being created in the upper level directory (-Map=../). Better to have it in the project's current directory IMO.