cc3000 driver with expanded buffers.

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Files at this revision

API Documentation at this revision

Comitter:
heroic
Date:
Sat May 03 21:39:51 2014 +0000
Parent:
47:376590c00a3c
Child:
49:0400c0aeba7f
Commit message:
Reduce memory consumption.

Changed in this revision

cc3000.h Show annotated file Show diff for this revision Revisions of this file
cc3000_common.h Show annotated file Show diff for this revision Revisions of this file
--- a/cc3000.h	Wed Apr 23 02:04:48 2014 +0000
+++ b/cc3000.h	Sat May 03 21:39:51 2014 +0000
@@ -49,7 +49,7 @@
 #include "cc3000_nvmem.h"
 #include "cc3000_socket.h"
 
-#define MAX_SOCKETS 4
+#define MAX_SOCKETS 2
 // cc3000 Ethernet Interface - enabled by default
 #define CC3000_ETH_COMPAT   1
 
--- a/cc3000_common.h	Wed Apr 23 02:04:48 2014 +0000
+++ b/cc3000_common.h	Sat May 03 21:39:51 2014 +0000
@@ -103,7 +103,7 @@
   The 1 is used for the overrun detection */
 
 #define CC3000_MINIMAL_TX_SIZE      (118 + 1)
-#define CC3000_MAXIMAL_TX_SIZE      (1519 + 1)
+#define CC3000_MAXIMAL_TX_SIZE      (576 + 1)
 
 //TX and RX buffer size - allow to receive and transmit maximum data at lengh 8.
 #ifdef CC3000_TINY_DRIVER