[minip][pktbuf] Move pktbuf allocation to a common pool

Rather than having a pool for pktbuf buffers and a pool for pktbufs, move
them to a common pool.
This commit is contained in:
Christopher Anderson
2015-09-09 13:41:51 -07:00
parent 6846ab3e89
commit 9a5589a4a4
5 changed files with 81 additions and 140 deletions

View File

@@ -27,7 +27,7 @@ GLOBAL_DEFINES += \
HEAP_START=$(HEAP_START) \
HEAP_LEN=$(HEAP_SIZE) \
\
PKTBUF_COUNT=16
PKTBUF_POOL_SIZE=16
# XXX todo, drive pll config from here
#HSE_VALUE=8000000 \

View File

@@ -19,7 +19,7 @@ GLOBAL_DEFINES += \
PLL_N_VALUE=336 \
PLL_P_VALUE=2 \
\
PKTBUF_COUNT=8
PKTBUF_POOL_SIZE=16
GLOBAL_INCLUDES += $(LOCAL_DIR)/include