Hello,
I am using uVision 5, and I need to use AT91SAM7, I have downloaded the example program in https://www.keil.com/download/docs/304.asp
However, I got this error :
.\ADC.axf: Warning: L6373W: libattrs.map file not found in System Library directory C:\Program Files (x86)\ARM\ADSv1_2\LIB\armlib\. Library selection may be impaired..\ADC.axf: Error: L6242E: Cannot link object __main.o as its attributes are incompatible with the image attributes. ... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
(and it continue)
I have tried to fix the warning L6373W, because the address "C:\Program Files (x86)\ARM\ADSv1_2\LIB\armlib\" doesnt fix with the installation folder of the uVision 5 in my computer. I found the location of the image file libattrs.map and added this file to the project , and got this message
FCARM - Output Name not specified, please check 'Options for Target - Utilities'
I hope someone can help me.
thanks in advanced,
Arlen
what version and edition of Keil MDK 5 are you using
The version is 5.31.0.0
Something more i've just noticed
Before uVision , i have used "CodeWarrior for ARM Developer Suite". I saw that in the environment variables -> System variables that
is the same that appears in the warning below:
Warning: L6373W: libattrs.map file not found in System Library directory C:\Program Files (x86)\ARM\ADSv1_2\LIB\armlib\. Library selection may be impaired.
How could I fixed it without uninstalling "CodeWarrior for ARM Developer Suite"?
Finally I've uninstalled CodeWarrior and a reinstalled uVision, however when i started again and tryied create a project for AT91SAMS64 , in the project created doesnt appear the startup file SAM7.s , and the file AT91SAMS64.H is not found