Commit Graph
18 Commits
Author SHA1 Message Date
8c36d65e63 Input handling and debouncing (#148)
* Add input driver and definitions for target_f2

* Add input_dump example

* Invert charge input

* Fix back and left button configuration

* remove input debug

* input testing case

* move header

* lint code

Co-authored-by: aanper <mail@s3f.ru>
2020-10-02 09:44:05 +03:00
Vadim KaushanandGitHub 33be546b94 Publish target_f1 artifacts in CI, build target_f2 in CI (#141)
* Publish target_f1 artifacts in CI

* Add target_f2 to CI
2020-09-29 15:40:47 +03:00
06ee165ab6 Lock furi record for the whole notification process (#119)
Co-authored-by: aanper <mail@s3f.ru>
2020-09-17 12:58:45 +03:00
Vadim KaushanandGitHub 93cee4c37c Merge pull request #114 from Flipper-Zero/printf
Implement transparent printf support
2020-09-17 11:33:43 +03:00
Vadim KaushanandGitHub 2d66f55626 Merge pull request #125 from Flipper-Zero/docker-cache
Add docker cache
2020-09-17 11:15:43 +03:00
Vadim Kaushan b96336fefa Add TLS method definitions to cmsis_os.h 2020-09-17 00:12:00 +03:00
Vadim Kaushan cea7b2bde0 Replace fuprintf with printf in the uart_write example 2020-09-14 21:26:45 +03:00
Vadim Kaushan d376982b4c Fix fopencookie open flags 2020-09-10 23:35:50 +03:00
Vadim Kaushan aa859586a9 Implement TLS for target_lo 2020-09-10 22:52:58 +03:00
Vadim Kaushan 449e905f46 Handle furi_open() error 2020-09-10 22:06:39 +03:00
Vadim Kaushan d39d2265e3 Implement transparent printf support 2020-09-10 21:55:10 +03:00
884fccc591 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>
2020-09-07 17:35:18 +03:00
Vadim KaushanandGitHub ca1e5678d2 Explicitly set PATH for docker-compose (#90) 2020-09-04 07:05:52 +03:00
Vadim KaushanandGitHub f7882dbff4 Remove docker cache to speedup builds (#79) 2020-08-31 23:32:17 +03:00
a008c38078 Add GitHub Actions CI rules (#70)
* Prepare Dockerfile for GitHub Actions

* Add Action

* Add CI rules

* Move docker files into the docker directory to prevent fetching build artifacts

* Cache Docker layers

Co-authored-by: aanper <mail@s3f.ru>
2020-08-31 23:12:18 +03:00
b13925f7ab Add library with Rust bindings to target_f1 code (#68)
* Move flipper-core into a workspace

* Fix target build rules

* Add flipper-f1-sys library

* Add flipper-f1-sys dependency to flipper-core

* Remove apparently useless includes

* Build and export HAL statics

* Disable Rust dependency detection for target_f1 build

* Install libclang-10-dev in docker

* Build Rust libs every time

* remove duplicate sources from make

* clean build different example

* wip add example fn

* Implement rust_uart_write()

* fix rebuild instructions for target_f1

Co-authored-by: aanper <mail@s3f.ru>
2020-08-31 22:33:38 +03:00
Vadim KaushanandGitHub 5094623d04 Rename test functions (#52) 2020-08-26 14:44:49 +03:00
1bec8dd23a Install Rust in docker image, add Rust library and build rules (#41)
* Install Rust in docker image

* Also install thumbv7em-none-eabi target

* Install Rust in docker image

* Also install thumbv7em-none-eabi target

* Add Rust example

* Link to the Rust example

* Call function from the Rust lib

* Move PROJECT_DIR to the 'paths' section

* Fix target_f1 build

* Link to the Rust library in target_f1

* Generate cbindgen bindings

* Add forgotten dependency line

* Use panic=abort instead of eh_personality lang item

* Install Rust in docker image

* Also install thumbv7em-none-eabi target

* Add Rust example

* Link to the Rust example

* Call function from the Rust lib

* Move PROJECT_DIR to the 'paths' section

* Link to the Rust library in target_f1

* Generate cbindgen bindings

* Add forgotten dependency line

* Use panic=abort instead of eh_personality lang item

* add rust call test

Co-authored-by: aanper <mail@s3f.ru>
2020-08-26 13:08:20 +03:00