@ -45,6 +45,11 @@
#define SYSLOG_CONF_NUM_INTERFACES 1
#endif
/**
* @brief Boards has a radio
*/
#define HAS_RADIO
void init_clks1(void);
typedef uint8_t radio_packet_length_t;
@ -34,6 +34,11 @@
#define MSP430_HAS_DCOR 1
#define MSP430_HAS_EXTERNAL_CRYSTAL 1
#endif // _MSB_BOARD_H
@ -98,6 +98,11 @@
#define LED_ORANGE_TOGGLE (LED_ORANGE_PORT->ODR ^= (1<<LED_ORANGE_PIN))
/** @} */
* Define the type for the radio packet length for the transceiver
@ -26,6 +26,11 @@
#define LED_OFF(led_nr) (LPC_GPIO1->FIOCLR = PIN_LED##led_nr)
#define LED_TOGGLE(led_nr) (LPC_GPIO1->FIOPIN ^= PIN_LED##led_nr)
@ -53,6 +53,11 @@
#include "board-conf.h"
@ -46,6 +46,11 @@
@ -35,6 +35,11 @@
#define LED_RED_ON (FIO3CLR = LED_RED_PIN)
#define LED_RED_TOGGLE (FIO3PIN ^= LED_RED_PIN)
@ -41,6 +41,11 @@ void _native_LED_RED_ON(void);
void _native_LED_RED_TOGGLE(void);
#define LED_RED_TOGGLE (_native_LED_RED_TOGGLE())
typedef uint16_t radio_packet_length_t;
@ -20,6 +20,11 @@
#define VICIntEnClear VICIntEnClr
void init_clks2(void);
void bl_init_clks(void);
@ -29,6 +29,11 @@
#define IBIAS 0x1f
#define FTUNE 0x7
@ -58,6 +58,10 @@
#include <stdint.h>
@ -60,6 +60,10 @@
#include <msp430x16x.h>
@ -72,6 +72,10 @@
#define USER_BTN_PRESSED ((USER_BTN_PxIN & USER_BTN_MASK) == 0)
#define USER_BTN_RELEASED ((USER_BTN_PxIN & USER_BTN_MASK) != 0)