Disabled rtimer redefinition, removed outdated address print and timer-test from regression tests

This commit is contained in:
Antonio Lignan 2016-06-02 10:17:57 +02:00
parent 8cd075f3e5
commit 7dd2f1144b
3 changed files with 5 additions and 8 deletions

View File

@ -110,7 +110,7 @@ static void
board_init(void)
{
#ifdef SOFTDEVICE_PRESENT
// Initialize the SoftDevice handler module.
/* Initialize the SoftDevice handler module */
SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, NULL);
#endif
#ifdef PLATFORM_HAS_BUTTON
@ -167,12 +167,10 @@ main(void)
netstack_init();
linkaddr_t linkaddr;
ble_get_mac(linkaddr.u8);
// Set link layer address
/* Set link layer address */
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));
uip_debug_lladdr_print(&uip_lladdr);
PRINTF("\n");
process_start(&ble_iface_observer, NULL);
process_start(&tcpip_process, NULL);
#endif /* NETSTACK_CONF_WITH_IPV6 */

View File

@ -132,9 +132,9 @@ typedef uint32_t uip_stats_t;
/*
* rtimer.h typedefs rtimer_clock_t as unsigned short. We need to define
* RTIMER_CLOCK_LT to override this
*/
typedef uint32_t rtimer_clock_t;
#define RTIMER_CLOCK_LT(a, b) ((int32_t)((a) - (b)) < 0)
*/
/** @} */
/*---------------------------------------------------------------------------*/

View File

@ -8,11 +8,10 @@ TOOLSDIR=../../tools
EXAMPLES = \
hello-world/nrf52dk \
nrf52dk/blink-hello/nrf52dk \
nrf52dk/coap-demo/nrf52dk:coap-server \
nrf52dk/coap-demo/nrf52dk:coap-client:SERVER_IPV6_ADDR=ffff \
nrf52dk/mqtt-demo/nrf52dk \
nrf52dk/timer-test/nrf52dk
nrf52dk/blink-hello/nrf52dk
TOOLS=