Implement mutex for local target, fix concurrency test (#104)

* Implement mutex support for target_lo

* Kill application if test hangs

* Use mutex in furi_take and furi_give

* Give furi application enough time to finish

* remove app obj after build

* enable counting semaphores

Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
Vadim Kaushan
2020-09-07 17:35:18 +03:00
committed by GitHub
parent 0307b12fd5
commit 884fccc591
8 changed files with 58 additions and 18 deletions

View File

@@ -261,18 +261,16 @@ rust_lib:
$(RUST_LIB_CMD)
example_blink:
rm $(BUILD_DIR)/app.o
EXAMPLE_BLINK=1 make
rm $(BUILD_DIR)/app.o
example_uart_write:
rm $(BUILD_DIR)/app.o
EXAMPLE_UART_WRITE=1 make
rm $(BUILD_DIR)/app.o
example_ipc:
rm $(BUILD_DIR)/app.o
EXAMPLE_IPC=1 make
rm $(BUILD_DIR)/app.o
test:
TEST=1 make