Connect to SSID, get ip by dhcp, ping google.com, display statistics
Dependencies: NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed
Fork of cc3000_ping_demo by
Diff: init.cpp
- Revision:
- 10:b98f2d6e6da5
- Parent:
- 3:f38499c4000e
--- a/init.cpp Tue Jun 03 08:43:07 2014 +0000 +++ b/init.cpp Wed Jun 25 06:12:22 2014 +0000 @@ -35,10 +35,10 @@ NVIC_set_all_irq_priorities(3); NVIC_SetPriority(SPI0_IRQn, 0x0); // Wi-Fi SPI interrupt must be higher priority than SysTick - NVIC_SetPriority(PORTA_IRQn, 0x1); + NVIC_SetPriority(PORTA_IRQn, 0x3); NVIC_SetPriority(SysTick_IRQn, 0x2); // SysTick set to lower priority than Wi-Fi SPI bus interrupt - PORTA->PCR[16] |=PORT_PCR_ISF_MASK; - PORTA->ISFR |= (1 << 16); + // PORTA->PCR[16] |=PORT_PCR_ISF_MASK; +// PORTA->ISFR |= (1 << 16); } #elif (MY_BOARD == WIFI_DIPCORTEX)