Skip to content

Commit

Permalink
Update configuration and options for STM32 network targets (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Mar 13, 2019
1 parent 83efc2b commit 02b7248
Showing 1 changed file with 9 additions and 4 deletions.
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

0 comments on commit 02b7248

Please sign in to comment.