multiplatform library from single chip C project [message #1695260] |
Wed, 13 May 2015 06:27 |
David Piska Messages: 1 Registered: May 2015 |
Junior Member |
|
|
Dear All,
I am trying to use code from single chip processor project, compiled in (Eclipse) Code Composer Studio Version: 6.1. (Texas Instruments). It is easy, but relatively large code. There are several buttons, led diodes and alphanumeric display.
I need to take logic of this single chip project and implement it on multiplatform library used with C# - Xamarin, which I can use in Windows, Android, Ios Mac and Ipad.
Which is the best way to do multiplatform library?
for example,
int p;
extern int __multp(int a, int b)
{ p=p+a*b;
return p+(a*b);
}
If I compile it with Eclipse CDT and MinGW, compiler makes 22KB large library which needs libgcc_s_dw2-1.dll (112KB). This library works on C# Windows, but not in Android and Ios platform.
Is any way how to do one library for all platforms? Using in C# .net Xamarin.
Thanks a lot,
David.
|
|
|
Powered by
FUDForum. Page generated in 0.03319 seconds