minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip by
Diff: core/memp.c
- Revision:
- 2:fcd6ac34b3f8
- Parent:
- 0:51ac1d130fd4
- Child:
- 6:00bf89892c76
diff -r 6e52445ea8c8 -r fcd6ac34b3f8 core/memp.c --- a/core/memp.c Fri Jun 22 10:00:27 2012 +0000 +++ b/core/memp.c Fri Jun 22 11:11:29 2012 +0000 @@ -170,7 +170,7 @@ static u8_t memp_memory[MEM_ALIGNMENT - 1 #define LWIP_MEMPOOL(name,num,size,desc) + ( (num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size) ) ) #include "lwip/memp_std.h" -]; +]__attribute((section("AHBSRAM1"))); #endif /* MEMP_SEPARATE_POOLS */