cc2530dk: Fixed the startup text for dongle builds

See Pull Request #21
This commit is contained in:
George Oikonomou 2012-09-18 15:56:22 +01:00
parent 9215081f41
commit 5399fa2b6f
2 changed files with 3 additions and 1 deletions

View file

@ -174,7 +174,7 @@ main(void) CC_NON_BANKED
PUTSTRING("##########################################\n"); PUTSTRING("##########################################\n");
putstring(CONTIKI_VERSION_STRING "\n"); putstring(CONTIKI_VERSION_STRING "\n");
putstring("TI SmartRF05 EB\n"); putstring(MODEL_STRING);
switch(CHIPID) { switch(CHIPID) {
case 0xA5: case 0xA5:
putstring("cc2530"); putstring("cc2530");

View file

@ -65,6 +65,7 @@
* 2: P1_1 (Green - active: low) * 2: P1_1 (Green - active: low)
*/ */
#if MODEL_CC2531 #if MODEL_CC2531
#define MODEL_STRING "TI cc2531 USB Dongle\n"
#define USB_CONF_ENABLE 1 #define USB_CONF_ENABLE 1
/* Enabled the ISR for Interrupt Num 6 */ /* Enabled the ISR for Interrupt Num 6 */
@ -93,6 +94,7 @@
#define LED2_MASK 0x01 #define LED2_MASK 0x01
#define LED1_MASK 0x02 #define LED1_MASK 0x02
#else #else
#define MODEL_STRING "TI SmartRF05 EB\n"
#define LEDS_GREEN 1 #define LEDS_GREEN 1
#define LEDS_RED 2 #define LEDS_RED 2