Skip to content
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

Update configuration and options for STM32 network targets #1259

Merged
merged 1 commit into from
Mar 13, 2019
Merged
Changes from all commits
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
13 changes: 9 additions & 4 deletions targets/CMSIS-OS/ChibiOS/ST_STM32F769I_DISCOVERY/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@
#define NO_SYS_NO_TIMERS 0
#endif

// empty on purpose
#define LWIP_TCPIP_THREAD_ALIVE()

/**
* MEMCPY: override this if you have a faster implementation at hand than the
* one included in your C library
Expand Down Expand Up @@ -705,6 +708,8 @@
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
#endif

#define LWIP_DHCP_CHECK_LINK_UP 1

/*
------------------------------------
---------- AUTOIP options ----------
Expand Down Expand Up @@ -1272,7 +1277,7 @@
* sys_thread_new() when the thread is created.
*/
#ifndef TCPIP_THREAD_PRIO
#define TCPIP_THREAD_PRIO (NORMALPRIO + 1)
#define TCPIP_THREAD_PRIO (NORMALPRIO)
#endif

/**
Expand Down Expand Up @@ -1306,7 +1311,7 @@
* sys_thread_new() when the thread is created.
*/
#ifndef SLIPIF_THREAD_PRIO
#define SLIPIF_THREAD_PRIO (NORMALPRIO + 1)
#define SLIPIF_THREAD_PRIO (NORMALPRIO)
#endif

/**
Expand All @@ -1331,7 +1336,7 @@
* sys_thread_new() when the thread is created.
*/
#ifndef PPP_THREAD_PRIO
#define PPP_THREAD_PRIO (NORMALPRIO + 1)
#define PPP_THREAD_PRIO (NORMALPRIO)
#endif

/**
Expand All @@ -1356,7 +1361,7 @@
* sys_thread_new() when the thread is created.
*/
#ifndef DEFAULT_THREAD_PRIO
#define DEFAULT_THREAD_PRIO (NORMALPRIO + 1)
#define DEFAULT_THREAD_PRIO (NORMALPRIO)
#endif

/**
Expand Down