diff options
| author | [email protected] <[email protected]> | 2012-04-24 02:05:45 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-04-24 02:05:45 +0000 |
| commit | 09592b5df8b42f97b7688e4c33d8eca0376d8014 (patch) | |
| tree | aaa11dab5dbed4e931d1f01406ae60628e36bdba /bsp | |
| parent | ffd65c60c4509e13a34fde4de80b15e463ed2a47 (diff) | |
fixed a compiling error, if RT_LWIP_PBUF_POOL_BUFSIZE isn't defined in rtconfig.h:
drivers\luminaryif.c(48): error: #59: function call is not allowed in a constant expression
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2102 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/lm3s8962/rtconfig.h | 4 | ||||
| -rw-r--r-- | bsp/lm3s9b9x/rtconfig.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bsp/lm3s8962/rtconfig.h b/bsp/lm3s8962/rtconfig.h index c4158624d4..08ea77ab04 100644 --- a/bsp/lm3s8962/rtconfig.h +++ b/bsp/lm3s8962/rtconfig.h @@ -150,4 +150,8 @@ #define RT_LWIP_ETHTHREAD_PRIORITY 23
#define RT_LWIP_ETHTHREAD_MBOX_SIZE 4
#define RT_LWIP_ETHTHREAD_STACKSIZE 512
+
+/* the size of each pbuf in the pbuf pool. */
+#define RT_LWIP_PBUF_POOL_BUFSIZE 1500
+
#endif
diff --git a/bsp/lm3s9b9x/rtconfig.h b/bsp/lm3s9b9x/rtconfig.h index a0835068c7..644aaefdc1 100644 --- a/bsp/lm3s9b9x/rtconfig.h +++ b/bsp/lm3s9b9x/rtconfig.h @@ -154,5 +154,7 @@ /* TCP receive window. */
#define RT_LWIP_TCP_WND 8192
+/* the size of each pbuf in the pbuf pool. */
+#define RT_LWIP_PBUF_POOL_BUFSIZE 1500
#endif
|
