8000 lwIP-1.4: use fixed locking functions by d-a-v · Pull Request #6455 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

lwIP-1.4: use fixed locking functions #6455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
lwIP-1.4: use fixed locking functions
  • Loading branch information
d-a-v committed Aug 26, 2019
commit 6c38d0883d555fce7ff5626a5dc36e41f9db6663
Binary file modified tools/sdk/lib/liblwip_gcc.a
Binary file not shown.
8 changes: 5 additions & 3 deletions tools/sdk/lwip/include/arch/cc.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "osapi.h"
#define EFAULT 14
#include <sys/pgmspace.h>
#include <../../../cores/esp8266/core_esp8266_features.h>

//#define LWIP_PROVIDE_ERRNO

Expand Down Expand Up @@ -84,9 +85,10 @@ typedef unsigned long mem_ptr_t;
#define LWIP_PLATFORM_ASSERT(x)
#endif

#define SYS_ARCH_DECL_PROTECT(x)
#define SYS_ARCH_PROTECT(x)
#define SYS_ARCH_UNPROTECT(x)
typedef uint32_t sys_prot_t;
#define SYS_ARCH_DECL_PROTECT(lev) sys_prot_t lev
#define SYS_ARCH_PROTECT(lev) lev = xt_rsil(15)
#define SYS_ARCH_UNPROTECT(lev) xt_wsr_ps(lev)

#define LWIP_PLATFORM_BYTESWAP 1
#define LWIP_PLATFORM_HTONS(_n) ((u16_t)((((_n) & 0xff) << 8) | (((_n) >> 8) & 0xff)))
Expand Down
0