Skip to content

Commit d6d6fbf

Browse files
committed
Revert "extmod: Place lwIP memory in a dedicated section."
This reverts commit 7d23620.
1 parent 4502e13 commit d6d6fbf

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

extmod/lwip-include/lwipopts_common.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,6 @@
109109
// Needed for PPP.
110110
#define sys_jiffies sys_now
111111

112-
// Place lwIP memory in a dedicated section to allow relocating it.
113-
// Note: alignment is enforced without adding trailing padding bytes.
114-
#define LWIP_DECLARE_MEMORY_ALIGNED(variable_name, size) \
115-
__attribute__((section(".lwip"), aligned(MEM_ALIGNMENT))) u8_t variable_name[size]
116-
117112
typedef uint32_t sys_prot_t;
118113

119114
#endif // MICROPY_INCLUDED_LWIPOPTS_COMMON_H

0 commit comments

Comments
 (0)