I'm trying to port Contiki-OS to the MSP430F5 Launchpad
from Texas Instrument.
The MSP430 is already supported in Contiki, however the it doesn't run on the Launchpad platform.
I've studied some custom Platform port made for other chips and platform. The goal is to add a new folder in the platform
folder.
The desired new folder is supposed to have this architecture (like every platforms folder) :
- myCustomPlatformFolder
Makefile
(Compile instructions for this platform)contiki-conf.h
(Define the configuration of this platform)contifi-main.c
(Used by Contiki core to launch the platform)- dev
- optional files defining sensors functionalities
My problem is that I don't really know where to start in order to create a fully operational configuration. There is some parts of the native configuration that I understand and that I can fill using the MSP430F5 data sheet (CLOCK_CONF_SECOND
, F_CPU
) . However, in every other defined platform, there is a lot a constants in contiki-conf.h that I don't understand / don't know where they come from.
I'm a novice in Contiki development, or even uController development, so I wonder where I can find informations that would help me.
Is there a place where I can find some instructions about creating a new Contiki platform port ?
What does the contiki-conf.h
file should contain in order to make my launchpad work ?