Hi there,
I'm working on AM3517 evaluation kit, with TIs wince 7.
My final goal should be a simple task... to control/toggle some LEDs, connected to an IOexpander, from my C#/.NET based application. That could be LED1-4 on the baseboard on the evaluation kit.
The test application TestGPIO shows how to do this, but my trivial problem is how to build my own application and do the same!
I had a similar approach to the CAN controller driver, but here I was able to create a native dll wrapper to manage my CreateFile(...) and DeviceIoControl(...) access. This mainly simplified my C# managed application, meaning simplified my use of PInvoke stuff.. By the way, I have created and installed an SDK for my device. I'm able to do some business with my C# applications, loading my dll wrapper and communicate via CAN bus. The problem just suddenly arised when I needed to toggle a LED :-)
To begin with, I would like to add to my 'DLL - Win32 Smart Device Project' dll wrapper, some more wrappers for the GPIOOpen(), GPIOSetBit(..), GPIOClrBit, etc. Its just that I believe I need to link to some library that has the GPIOxxx implementation. #include "sdk_gpio.h" is not enough. I get this classic linker error.
Error 1 error LNK2019: unresolved external symbol GPIOOpen referenced in function DllWrap_Initiate dllWrapper.obj
Well, I hope you understand my issue here.
Regards
Palson