The file sys_arch.c was modified to dislable FIQs. FIQs have to be quit due
errors in rpp_eth_recv_raw_thr(). Error was caused by malfunctioning semaphore
when receiving data.
[MS: I don't understand the description above, but the code seems to work with
this change.]
_disable_IRQ();
/* while interrupts ethernet related or interrupt for context switch don't use FIQ, we dont need to disable it */
-/* _disable_FIQ(); */
+ _disable_FIQ();
return status;
#else /* !SYS_ARCH_SEMPHR_PROTECT */
taskENTER_CRITICAL();
#define portQUEUE_OVERHEAD_BYTES 0
/* 1 - semaphore/mutex is used to protect critical sections; 0 - interrupt disable is used to protect critical sections */
-#define SYS_ARCH_SEMPHR_PROTECT 1 & !NO_SYS
+#define SYS_ARCH_SEMPHR_PROTECT 0
typedef u8_t sys_prot_t;