Currently I am trying to compile binaries for the AT91SAM7S256 using SEGGER, and I've been running into an issue at the linking phase (source files all compile fine) where any file that makes use of "lib_AT91SAM7S64.h" has multiple undefined references when attempting to link.
Here's a sample of some of the error messages:
Output/Executable_1 Debug/Obj/AdcInterface.o: In function `initializeADCInterface':
undefined reference to `AT91F_PIO_CfgInput'
undefined reference to `AT91F_PIO_InterruptEnable'
undefined reference to `AT91F_PIO_GetInterruptStatus'
The thing is that these functions that're "undefined" are defined within the "lib_AT91SAM7S64.h" file. I'm at a loss as to what to do, as I've never ran into errors during the linking phase before.
I am not using any makefiles or anything. This project was originally developed using Green Hills Software, but it compiles and builds without issue on that IDE. I do not have access to Green Hills Software, however, and have been trying to get SEGGER to compile this.