On Tue, Jun 3, 2014 at 1:55 PM, DJ Delorie <d...@redhat.com> wrote:
>
>> Will TI be providing sufficient documentation on the CIO API that the
>> msp430 implementation can be completed, thus making the system
>> interface usable in other frameworks?
>
> I have enough information to finish the msp interface, I've just had
> no reason to do so so far.

That doesn't really help the rest of us, though.

>  CIO doesn't have exit() though so the RH
> simulator *also* has its own syscall interface, just for that call.
> If you just want to "exit cleanly" a branch-to-self opcode will also
> trigger an exit(0) from the RH simulator.

Which is fine, but I'm not interested in interfacing with either the
TI or RH simulators.  I'm interfacing with other external hardware
including LCDs and FAT file systems, and I want to re-use the standard
libc interface at the application layer.

>> I personally would wish that newlib prefer APIs that are not
>> proprietary.  My intent for my own msp430-elf projects is to implement
>> a msp430 libgloss approach that's much closer to what was done in the
>> arm target for libgloss.  If there's a chance that'd be adopted
>> upstream as an alternative to the CIO one, it'd motivate me to make
>> that a priority.
>
> CIO was used at TI's request, to be compatible with their simulators
> and their hardware drivers - I.e. a CIO library in your app would work
> in the simulator *and* on real hardware - I think this works with
> msp430-elf-gdb also.

Perfectly understandable that since TI's paying you to do this, they
get to choose the default implementation.

Like Mark, one of my needs is for input as well as output.  For ARM, I
can take a binary toolchain from launchpad with a pre-built newlib and
substitute a new system interface that meets my requirements.  As long
as I can do the same thing for the msp430 one, I'll have no issues
with the default solution being CIO.

Peter

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to