Reincarnate the sensinode/cc2430 port

This commit is contained in:
George Oikonomou 2012-03-05 16:28:06 +00:00
parent c78b5bad5c
commit b7674c3636
114 changed files with 10044 additions and 3068 deletions

View file

@ -3,31 +3,44 @@
/* Define model text */
#ifdef MODEL_N100
#define SENSINODE_MODEL "N100 Module (CC2431-F128)"
#define SENSINODE_MODEL "N100 Module"
#endif
#ifdef MODEL_N600
#define SENSINODE_MODEL "N600 NanoRouter USB (CC2430-F128)"
#define SENSINODE_MODEL "N600 NanoRouter USB"
#endif
#ifdef MODEL_N601
#define SENSINODE_MODEL "N601 NanoRouter USB (CC2431-F128)"
#define SENSINODE_MODEL "N601 NanoRouter USB"
#endif
#ifdef MODEL_N710
#define SENSINODE_MODEL "N710 NanoSensor (CC2430-F128)"
#define SENSINODE_MODEL "N710 NanoSensor"
#endif
#ifdef MODEL_N711
#define SENSINODE_MODEL "N711 NanoSensor (CC2431-F128)"
#define SENSINODE_MODEL "N711 NanoSensor"
#endif
#ifdef MODEL_N740
#define SENSINODE_MODEL "N740 NanoSensor"
#endif
#ifndef SENSINODE_MODEL
#define MODEL_N100
#define SENSINODE_MODEL "Sensinode N100 (CC2431-F128)"
#define SENSINODE_MODEL "N100 Module"
#endif
/* All current models use these LED pins */
#ifndef FLASH_SIZE
#define FLASH_SIZE "F128"
#endif
/*
* N740 has a serial-parallel chip onboard
* Defines and functions to control it
*/
#ifdef MODEL_N740
#include "dev/n740.h"
#else
/* All other models use these LED pins */
#define LED1_PIN P0_4
#define LED2_PIN P0_5
/* Buttons */
#endif
#ifdef MODEL_N711
#define BUTTON1_PIN P0_6
@ -41,4 +54,7 @@
#define TEMP_PIN P0_1
#endif
/* Model-Specific startup functions */
void model_init();
void model_uart_intr_en();
#endif /* __MODELS_H__ */