mbed-os/features/FEATURE_LWIP
Russ Butler e57869039e Fix semaphore usage on lpc1768 emac
The semaphore xTXDCountSem had the count to match the number of
resources available, but was being used as a binary semaphore in a
loop to listen for events. This patch updates the logic to make use of
the resource count.

With RTX5 the OS traps with an error if the a semaphore is released
more times than its count with an error similar to
"Semaphore 10000e6c error -17". Because xTXDCountSem is being used
as a binary semaphore it triggered this trap. With this patch the
semaphore is no longer used as a binary semaphore and no longer traps.
2017-06-05 11:37:06 -05:00
..
TESTS/mbedmicro-net Reduce test overhead in preparation for CMSIS 5 2017-05-14 19:25:19 -05:00
lwip-interface Fix semaphore usage on lpc1768 emac 2017-06-05 11:37:06 -05:00