TinyCLR ver 1 and TinyCLR ver 2 compatibility

Is UART API library for TinyCLR ver 1 and ver 2 is compatible at source code level ?

Thanks in advance.

it’d be unreasonable to ask for source code compatibility.

What are you really asking? Do you mean at the API level, that you use in your app?

If you have hardware that only runs TinyCLR 1.0 remember there’s no chance of porting TinyCLR 2.0 to that firmware so you’re locked in. If you’re after something with a future, jump to the SITCore lines now

Hi. Sorry, I asked misleading question.

I successfully ported 6lowpan library to nanoFramework and would like port it to TinyCLR. But for TinyCLR I have only an old hardware G30.

At that moment to porting the library is important only UART API portion of TinyCLR.The question is: Can i later reuse that code on TinyCLR v 2 or UART API is different ?

UART API was different between TinyCLR 1.0 and TinyCLR 2.0
you can port from nanoFramework to TinyCLR 1.0 - G30 “99% as is” but for TinyCLR 2.0 you need to make some changes because it was similiar to old .NETMF (but belive it is very easy and better managed for use)

1 Like