this is the first time in my life to use a mailing list(why there isn't a forum?), hope it wont cause any trouble.
I'm developing a firmware of a communication SoC of our own, based on ARM11, all the peripherals are implemented by ourself. the chip has taped out, and I've made the firmware work with Linux GNU tool chain, the bin file could work on board.
Now i'd like to port the contiki OS to our platform, and have read a lot of guides and discussions(for weeks), but it seems everybody is using a chip on the market... so i'm not sure how difficult is it to bring it to our own platform.
OK, I was planning the first step is to build a basic "hello world" program with clock and uart implemented for contiki, but the uart confused me.
For example, the example project cc2538, in platform/cc2538dk/contiki-main.c, there is two kinds of output: printf and puts. it seems the printf is calling the stdio lib function and the puts is using the uart, so i think the printf contents will not appear on the uart output, am I right?
i've checked the final assembly. from the result i can see the printf didn't call anything related to the uart.
So why there is printf, anyway.
And how can I connect the standard printf library to my uart all the time? In contiki wiki it says the printf is calling putchar and the putchar is platform dependent, but i cannot find any clue the printf will call the user-implemented uart related code.
and as the title, I'm so thankful if anyone could give me a list of contiki porting step by step. i've familiar with the concepts like process etc.
thank you very much.