From d8ce25a57dd6570924018722f76ec6687720f88a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 15 Oct 2017 12:22:40 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10827 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/lwipopts.h | 12 +++ ...Select ELF file)(OpenOCD, Flash and Run).launch | 104 ++++++++++----------- 2 files changed, 64 insertions(+), 52 deletions(-) (limited to 'demos/STM32/RT-STM32-LWIP-FATFS-USB') diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/lwipopts.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/lwipopts.h index e23a1f6f0..901683775 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/lwipopts.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/lwipopts.h @@ -36,7 +36,19 @@ #include "static_lwipopts.h" /* Optional, application-specific settings.*/ +#if !defined(TCPIP_MBOX_SIZE) #define TCPIP_MBOX_SIZE MEMP_NUM_PBUF +#endif +#if !defined(TCPIP_THREAD_STACKSIZE) #define TCPIP_THREAD_STACKSIZE 1024 +#endif + +/* Use ChibiOS specific priorities. */ +#if !defined(TCPIP_THREAD_PRIO) +#define TCPIP_THREAD_PRIO (LOWPRIO + 1) +#endif +#if !defined(LWIP_THREAD_PRIORITY) +#define LWIP_THREAD_PRIORITY (LOWPRIO) +#endif #endif /* LWIP_HDR_LWIPOPTS_H__ */ diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/debug/RT-STM32-LWIP-FATFS-USB (Select ELF file)(OpenOCD, Flash and Run).launch b/demos/STM32/RT-STM32-LWIP-FATFS-USB/debug/RT-STM32-LWIP-FATFS-USB (Select ELF file)(OpenOCD, Flash and Run).launch index 85e1e2c83..631cd8b2b 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/debug/RT-STM32-LWIP-FATFS-USB (Select ELF file)(OpenOCD, Flash and Run).launch +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/debug/RT-STM32-LWIP-FATFS-USB (Select ELF file)(OpenOCD, Flash and Run).launch @@ -1,52 +1,52 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3