On Sat, Sep 13, 2014 at 11:16 PM, Michael Andersen <[email protected]>
wrote:

> Hi
>
> I am working on the git master,
>

I assume you mean gh:tinyos/tinyos-main,  yes?

Also do you have a cloned fork?   If you publish on github I can look at
what you have done so far.


> and I am working on a new cortex based platform.
>

sweet.


> The problems arose because the in-tree lib/printf does not play nicely
> with the arm libc functions, so I wrote a replacement that handles
> everything cleanly, but I would like to force it to be included before
> lib/printf.
>

lib/printf only gets included when pulled in via a platform file.

so you could put your new printf into say tos/lib/printf_arm or
tos/lib/printf_new and then change what the platform file invokes.

That should work.


> The alternative is to modify lib/printf to be aware of my platform, but I
> would like to avoid that if possible.
>

yeah you really don't want to do that.




> Regards
> Michael
>
> On Sat, Sep 13, 2014 at 8:36 PM, Eric Decker <[email protected]> wrote:
>
>> First, what code body are you working on?
>>
>> The answer is different for the development trunk than the last released
>> TinyOS (2.1.2).
>>
>> Also what platform are you actually working on?
>>
>> On Sat, Sep 13, 2014 at 4:13 PM, Michael Andersen <
>> [email protected]> wrote:
>>
>>> Hi
>>>
>>> I am wanting to change the "printf.h" that is used by blip, but any
>>> PFLAGS include paths added in the foo.platform file in
>>> support/make/platforms/ appear after the include flags for the goals added
>>> in the application makefile, leading to them being ignored. How do I solve
>>> this in the correct way?
>>>
>>> This is just a specific example of a more general question of how to add
>>> includes that are higher priority than those specified by extras like blip.
>>>
>>> Thanks
>>> Michael
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>>
>>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to