mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Disabled rtimer redefinition, removed outdated address print and timer-test from regression tests
This commit is contained in:
parent
8cd075f3e5
commit
7dd2f1144b
@ -110,7 +110,7 @@ static void
|
|||||||
board_init(void)
|
board_init(void)
|
||||||
{
|
{
|
||||||
#ifdef SOFTDEVICE_PRESENT
|
#ifdef SOFTDEVICE_PRESENT
|
||||||
// Initialize the SoftDevice handler module.
|
/* Initialize the SoftDevice handler module */
|
||||||
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
|
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLATFORM_HAS_BUTTON
|
#ifdef PLATFORM_HAS_BUTTON
|
||||||
@ -167,12 +167,10 @@ main(void)
|
|||||||
netstack_init();
|
netstack_init();
|
||||||
linkaddr_t linkaddr;
|
linkaddr_t linkaddr;
|
||||||
ble_get_mac(linkaddr.u8);
|
ble_get_mac(linkaddr.u8);
|
||||||
// Set link layer address
|
/* Set link layer address */
|
||||||
linkaddr_set_node_addr(&linkaddr);
|
linkaddr_set_node_addr(&linkaddr);
|
||||||
// Set device link layer address in uip stack.
|
/* Set device link layer address in uip stack */
|
||||||
memcpy(&uip_lladdr.addr, &linkaddr, sizeof(uip_lladdr.addr));
|
memcpy(&uip_lladdr.addr, &linkaddr, sizeof(uip_lladdr.addr));
|
||||||
uip_debug_lladdr_print(&uip_lladdr);
|
|
||||||
PRINTF("\n");
|
|
||||||
process_start(&ble_iface_observer, NULL);
|
process_start(&ble_iface_observer, NULL);
|
||||||
process_start(&tcpip_process, NULL);
|
process_start(&tcpip_process, NULL);
|
||||||
#endif /* NETSTACK_CONF_WITH_IPV6 */
|
#endif /* NETSTACK_CONF_WITH_IPV6 */
|
||||||
|
@ -132,9 +132,9 @@ typedef uint32_t uip_stats_t;
|
|||||||
/*
|
/*
|
||||||
* rtimer.h typedefs rtimer_clock_t as unsigned short. We need to define
|
* rtimer.h typedefs rtimer_clock_t as unsigned short. We need to define
|
||||||
* RTIMER_CLOCK_LT to override this
|
* RTIMER_CLOCK_LT to override this
|
||||||
*/
|
|
||||||
typedef uint32_t rtimer_clock_t;
|
typedef uint32_t rtimer_clock_t;
|
||||||
#define RTIMER_CLOCK_LT(a, b) ((int32_t)((a) - (b)) < 0)
|
#define RTIMER_CLOCK_LT(a, b) ((int32_t)((a) - (b)) < 0)
|
||||||
|
*/
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
@ -8,11 +8,10 @@ TOOLSDIR=../../tools
|
|||||||
|
|
||||||
EXAMPLES = \
|
EXAMPLES = \
|
||||||
hello-world/nrf52dk \
|
hello-world/nrf52dk \
|
||||||
nrf52dk/blink-hello/nrf52dk \
|
|
||||||
nrf52dk/coap-demo/nrf52dk:coap-server \
|
nrf52dk/coap-demo/nrf52dk:coap-server \
|
||||||
nrf52dk/coap-demo/nrf52dk:coap-client:SERVER_IPV6_ADDR=ffff \
|
nrf52dk/coap-demo/nrf52dk:coap-client:SERVER_IPV6_ADDR=ffff \
|
||||||
nrf52dk/mqtt-demo/nrf52dk \
|
nrf52dk/mqtt-demo/nrf52dk \
|
||||||
nrf52dk/timer-test/nrf52dk
|
nrf52dk/blink-hello/nrf52dk
|
||||||
|
|
||||||
TOOLS=
|
TOOLS=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user