This mean AT91_GPIO is using for firmware(porting kit) and using for SDK(secret labs), too?
Not really. There are four parts:
- .NET Micro Framework Porting Kit
- Netduino firmware source by Secret Labs
- .NET Micro Framework SDK
- Secret Labs SDK (for Netduino boards)
AT91_GPIO.cpp is in 1. and 2. - these two parts you need to build the Netuino firmware. Install the .NET MF Porting Kit, download Netduino Firmware source zip and extract it over Porting Kit, overwriting the files.
.NET MF SDK (3.) must be installed to have .NET MF project support in Visual Studio and you also need Secret Labs SDK (4.) to have assemblies (.dll) and project templates for Netduino.
Excuse me, I don’t know about .obj file! Can you explain about it?
C/C++ source file is compiled into OBJ file, which is then linked with the rest of OBJ files and libraries into final executable, in this particular case (microcontroller) the 'executable' is in ELF format, which is then transformed into HEX (resp. SREC) or BIN suitable for flashing.
I don’t know where to start and which files should be changed!
Try searching the forum and wiki for 'building firmware' or such, it has been discussed numerous times. You'd need the source code, an ARM Toolchain and a lot of patience - 4.1 is rather old...