diff options
Diffstat (limited to 'lib/chibios/os/various/lwip_bindings/static_lwipopts.h')
-rw-r--r-- | lib/chibios/os/various/lwip_bindings/static_lwipopts.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/chibios/os/various/lwip_bindings/static_lwipopts.h b/lib/chibios/os/various/lwip_bindings/static_lwipopts.h new file mode 100644 index 000000000..ecac1aa69 --- /dev/null +++ b/lib/chibios/os/various/lwip_bindings/static_lwipopts.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | /** | ||
18 | * @file static_lwipopts.h | ||
19 | * | ||
20 | * @addtogroup static_lwipopts | ||
21 | * @{ | ||
22 | */ | ||
23 | |||
24 | #ifndef STATIC_LWIPOPTS_H | ||
25 | #define STATIC_LWIPOPTS_H | ||
26 | |||
27 | #define NO_SYS 0 | ||
28 | |||
29 | #define LWIP_TIMERS 1 | ||
30 | #define LWIP_TIMERS_CUSTOM 0 | ||
31 | |||
32 | #define LWIP_TCPIP_CORE_LOCKING 1 | ||
33 | #define LWIP_TCPIP_CORE_LOCKING_INPUT 0 | ||
34 | #define LWIP_COMPAT_MUTEX_ALLOWED | ||
35 | |||
36 | #define SYS_LIGHTWEIGHT_PROT 1 | ||
37 | |||
38 | #define MEM_ALIGNMENT 4 | ||
39 | |||
40 | #endif /* STATIC_LWIPOPTS_H */ | ||
41 | |||
42 | /** @} */ | ||