goldsimon
5e41ca8e23
freertos port: check we're not in interrupt
...
Also try to make LWIP_ASSERT_CORE_LOCKED() work for NO_SYS (check we're
not in interrupt)
8 years ago
goldsimon
ed928d0a60
freertos port: fix LWIP_NETCONN_SEM_PER_THREAD
8 years ago
goldsimon
669b1843ce
freertos port: fix compiling sys_arch_netconn_sem_alloc() with strict warnings
8 years ago
goldsimon
0868a3a8ae
freertos port: make sys_now() overriable
...
for platforms that have a hardware timer, this can be more
accurate than using freertos ticks
8 years ago
goldsimon
8b8f408cc0
freertos port: add sys_mbox_trypost_fromisr() & ERR_NEED_SCHED
8 years ago
goldsimon
f4140a0548
freertos port: allow thread stack size to be passed in number of stack words (freertos like; optional)
8 years ago
Our Air Quality
f73d8783d5
freertos: add core locking check support
...
Add support to check the core locking: sys_lock_tcpip_core, sys_unlock_tcpip_core, sys_mark_tcpip_thread, sys_check_core_locking
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
Our Air Quality
68beada75e
freertos: misc fixes
...
* sys_msleep - typo
* sys_arch_protect - note and check the nesting (optional)
* sys_arch_mbox_fetch - handle msg being NULL
* sys_arch_mbox_tryfetch - handle msg being NULL
* sys_mbox_free - check that the queue is empty (optional)
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
goldsimon
c27b222217
Work on freertos port: added preprocessor sanity checks of freertos configuration;
...
- renamed LWIP_FREERTOS_PROTECT_USES_MUTEX to LWIP_FREERTOS_SYS_ARCH_PROTECT_USES_MUTEX;
- sys_jiffies returns ticks, not time in ms
8 years ago
Axel Lin
4317e16a23
ports/freertos: Remove unused variable in sys_mbox_free
...
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: goldsimon <goldsimon@gmx.de>
8 years ago
goldsimon
c49fd72046
freertos port: fix sys_now() for systems with ticks other than 1ms; use taskENTER_CRITICAL instead of vPortEnterCritical (same for exit)
8 years ago
goldsimon
b266694609
FreeRTOS port: fix default value of LWIP_FREERTOS_PROTECT_USES_MUTEX to 0
8 years ago
Axel Lin
2400a13529
ports/freertos: Fix timeout for sys_arch_mbox_fetch
...
Pass timeout_ticks instead of portMAX_DELAY to xQueueReceive if
timeout_ms is set.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
8 years ago
goldsimon
308998bba6
Added FreeRTOS port
8 years ago