[CCC DEV] TVM on arduino layout

Mathias Spiessens mathias.spiessens at student.kuleuven.be
Fri Feb 24 11:33:11 GMT 2012


On 02/24/2012 10:41 AM, Carl Ritson wrote:
>>> It is possible to write a memory region on the Intel SCC, but for simplicity
>>> it would be nice to just have a header and recompile tvm + that header. Is
>>> there a tool/script to convert the .tbc to a C header file?
>> We used to do this all the time. What I'm wondering is if the
>> tenctool(s) do this now. The old slinker used to do this, but I don't
>> know if the plinker does.
> I don't think there are any tools to do this at present.
>
> Since there is no need to interpret the TBC to convert it into a
> header you can do the transformation (open file, output hex in
> appropriate format) with about 10 lines of code in most scripting
> languages.  Equally for this reason it would be simple to add it to
> either tool (plinker or tenctool).  I would add it to the plinker
> right now, but I have very heavy cold and know it'll take 100x more
> time and result in bugs if I do.
>
> Cheers,
>
> Carl
As Carl suggested I've quickly written a python script to do this.

Thanks!

Mathias



More information about the developers mailing list