cc2530dk: Fixed the startup text for dongle builds
See Pull Request #21
This commit is contained in:
parent
9215081f41
commit
5399fa2b6f
|
@ -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");
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue