Skip to content

Commit b68adea

Browse files
committed
Updates to WiFi shield firmware.
1 parent 0d8a1a2 commit b68adea

File tree

20 files changed

+3032
-592
lines changed

20 files changed

+3032
-592
lines changed

firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/BOARDS/ARDUINO/arduino.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#define LED1_GPIO AVR32_PIN_PB20
9494
#define LED2_GPIO AVR32_PIN_PB21
9595
#define DEB_PIN_GPIO AVR32_PIN_PA20
96+
#define DEB2_PIN_GPIO AVR32_PIN_PB00
9697
//! @}
9798

9899
/*! \name PWM Channels of LEDs

firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/SERVICES/LWIP/lwip-1.3.2/src/include/lwip/opt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@
12261226
* in seconds. (does not require sockets.c, and will affect tcp.c)
12271227
*/
12281228
#ifndef LWIP_TCP_KEEPALIVE
1229-
#define LWIP_TCP_KEEPALIVE 0
1229+
#define LWIP_TCP_KEEPALIVE 1
12301230
#endif
12311231

12321232
/**

firmwares/wifishield/wifiHD/src/SOFTWARE_FRAMEWORK/UTILS/DEBUG/debug.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
#include "compiler.h"
4848
#include "debug.h"
49+
#include "util.h"
4950

5051

5152
#if (defined __GNUC__)
@@ -117,3 +118,16 @@ void uc3_round_trace(U32 val)
117118

118119
//Enable_global_interrupt();
119120
}
121+
122+
void dump(char* _buf, uint16_t _count) {
123+
124+
int i;
125+
for (i = 0; i < _count; ++i)
126+
{
127+
printk("0x%x ", _buf[i]);
128+
if ((i!=0)&&(i % 10 == 0))
129+
printk("\n\t");
130+
}
131+
printk("\n");
132+
}
133+

0 commit comments

Comments
 (0)