Commit Graph

178 Commits

Author SHA1 Message Date
Konstantin Volkov
73edfcc05e copying all folders, since tests are not collecting 2023-03-22 13:22:03 +03:00
Konstantin Volkov
9e43fb0e92 debug output for dockerfile 2023-03-22 13:05:55 +03:00
Konstantin Volkov
a08a8396ac Merge branch 'dev' into doom/2991-e2e-runner 2023-03-22 12:57:04 +03:00
Konstantin Volkov
d814507fe4 fixed tty/acm0 typo 2023-03-22 12:49:51 +03:00
Konstantin Volkov
d37ceb2336 removed -r pytest flag and fixed serial of the programmer 2023-03-22 12:45:34 +03:00
Konstantin Volkov
85b7436109 optimized smoke_test.yml, fixed branch in dockerfile 2023-03-22 12:36:19 +03:00
Daniil Velovaty
cebe55bbf6 Added tests of NFC emulation with reader 2023-03-21 18:55:12 +03:00
Sergey Gavrilov
6ec62f48f9 [FL-3180] OTP programmer: return exit code based on error type (#2504) 2023-03-20 21:07:17 +09:00
Konstantin Volkov
d674c67b75 removed autouse from pytest and added temporary image name for docker 2023-03-20 11:55:55 +03:00
Konstantin Volkov
72b36506c4 fixed docker requirements, fixed docker folder 2023-03-20 11:41:09 +03:00
Konstantin Volkov
99f1b73314 merged dev 2023-03-20 11:31:06 +03:00
Konstantin Volkov
24b910698f added dockerfile example 2023-03-20 11:19:38 +03:00
Daniil Velovaty
c87d961b74 Added Wiegand reader implementation 2023-03-16 19:24:31 +03:00
hedger
771c47f809 fbt: explicitly set dist suffix length, not depending on environment settings. See (#2497) 2023-03-16 22:46:18 +09:00
hedger
53435579b3 [FL-3097] fbt, faploader: minimal app module implementation (#2420)
* fbt, faploader: minimal app module implementation
* faploader, libs: moved API hashtable core to flipper_application
* example: compound api
* lib: flipper_application: naming fixes, doxygen comments
* fbt: changed `requires` manifest field behavior for app extensions
* examples: refactored plugin apps; faploader: changed new API naming; fbt: changed PLUGIN app type meaning
* loader: dropped support for debug apps & plugin menus
* moved applications/plugins -> applications/external
* Restored x bit on chiplist_convert.py
* git: fixed free-dap submodule path
* pvs: updated submodule paths
* examples: example_advanced_plugins.c: removed potential memory leak on errors
* examples: example_plugins: refined requires
* fbt: not deploying app modules for debug/sample apps; extra validation for .PLUGIN-type apps
* apps: removed cdefines for external apps
* fbt: moved ext app path definition
* fbt: reworked fap_dist handling; f18: synced api_symbols.csv
* fbt: removed resources_paths for extapps
* scripts: reworked storage
* scripts: reworked runfap.py & selfupdate.py to use new api
* wip: fal runner
* fbt: moved file packaging into separate module
* scripts: storage: fixes
* scripts: storage: minor fixes for new api
* fbt: changed internal artifact storage details for external apps
* scripts: storage: additional fixes and better error reporting; examples: using APP_DATA_PATH()
* fbt, scripts: reworked launch_app to deploy plugins; moved old runfap.py to distfap.py
* fbt: extra check for plugins descriptors
* fbt: additional checks in emitter
* fbt: better info message on SDK rebuild
* scripts: removed requirements.txt
* loader: removed remnants of plugins & debug menus
* post-review fixes
2023-03-14 23:29:28 +09:00
Konstantin Volkov
c236de56cf trying adding readline 2023-03-14 12:55:29 +03:00
Konstantin Volkov
619d7862ec added headless version of opencv and fixed yml 2023-03-14 12:37:29 +03:00
Konstantin Volkov
0fbaec05be changed protobuf version, removed gui from pytest command 2023-03-14 12:26:31 +03:00
Konstantin Volkov
3006ee4ee6 changed venv for code, fixed requirements for python 3.10.2 (minimal), test fixes, added xfail option, new/fixed ref images 2023-03-14 11:51:54 +03:00
Konstantin Volkov
74715b9879 removed pyreadline, restoring toolchain 2023-03-13 15:20:19 +03:00
Konstantin Volkov
b068eedf3c pyreadline==1.7.1 2023-03-13 15:16:15 +03:00
Konstantin Volkov
ca1812a565 conflict in pyreadline version2 2023-03-13 15:14:34 +03:00
Konstantin Volkov
142e48cefd conflict in pyreadline version 2023-03-13 15:11:21 +03:00
Konstantin Volkov
5120ee7223 removed pyreadline, since it is windows only requirement for protobuf 2023-03-13 15:02:37 +03:00
Konstantin Volkov
dbe40c89f8 upgraded numpy version for python 3.11.2 support in fbt, protobuf_py needs update now 2023-03-13 14:48:04 +03:00
Konstantin Volkov
d24aef778f experimenting with requirements: numpy for protobuf and opencv for fixing dependency issues 2023-03-13 14:42:00 +03:00
Konstantin Volkov
dcaf77440f fixed requirements for black / fixed submodule 2023-03-13 14:26:42 +03:00
Konstantin Volkov
69212c860e black and isort, triggering smoke re-run 2023-03-13 13:55:35 +03:00
Konstantin Volkov
5ee030c746 Merge branch 'doom/2991-e2e-runner' of github.com:flipperdevices/flipperzero-firmware into doom/2991-e2e-runner 2023-03-13 13:47:01 +03:00
Konstantin Volkov
007eac44ef Merge branch 'dev' into doom/2991-e2e-runner 2023-03-13 13:46:37 +03:00
あく
4bd3dca16f Fbt: fix broken resource deployment (#2477) 2023-03-10 20:13:11 +09:00
Sergey Gavrilov
4fd043398a Embed assets in elf file (#2466)
* FBT: file_assets generator
* Elf file: process manifest section externally
* FBT, file_assets generator: add assets signature
* Storage: assets path alias
* Flipper application: assets unpacker
* Apps, Storage: use '/data' alias for apps data
* Storage: copy file to file
* Assets: log flag, fixes
* Update f18 api
* Assets: asserts
* Assets: fix signature_data check
* App assets: example
* Example assets: fix folder structure in readme
* Assets: fix error handling
* Assets builder: use ansii instead of utf-8, use .fapassets section instead of .fapfiles, add assets path to signature
* Elf file: comment strange places
* Storage: totaly optimized storage_file_copy_to_file
2023-03-10 01:01:53 +10:00
Velovach
382bcaf040 Added keyboard implementation 2023-03-02 20:56:15 +03:00
Sergey Gavrilov
777a4d109d [FL-3055] Getter for application data path (#2181)
* Threads: application id
* Unit tests: appsdata getter test
* Unit tests: moar test cases for appsdata getter
* Unit tests: remove folders after test
* Storage: dir_is_exist, migrate, + unit_tests
* Plugins: migration
* Storage: common_exists, moar unit_tests 4 "common_migrate", "common_migrate" and "common_merge" bugfixes
* Storage: use FuriString for path handling
* Storage API: send caller thread id with path
* Storage: remove StorageType field in storage file list
* Storage: simplify processing
* Storage API: send caller thread id with path everywhere
* Storage: /app alias, unit tests and path creation
* Storage, path helper: remove unused
* Examples: app data example
* App plugins: use new VFS path
* Storage: file_info_is_dir
* Services: handle alias if the service accepts a path.
* App plugins: fixes
* Make PVS happy
* Storage: fix storage_merge_recursive
* Storage: rename process_aliases to resolve_path. Rename APPS_DATA to APP_DATA.
* Apps: use predefined macro instead of raw paths. Example Apps Data: README fixes.
* Storage: rename storage_common_resolve_path to storage_common_resolve_path_and_ensure_app_directory
* Api: fix version
* Storage: rename alias message
* Storage: do not create app folders in path resolving process in certain cases.

---------

Co-authored-by: Astra <93453568+Astrrra@users.noreply.github.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-03-02 03:57:27 +10:00
Konstantin Volkov
bd2f5f951a Merge branch 'dev' into doom/2991-e2e-runner 2023-03-01 08:18:38 +03:00
Daniil Velovaty
d0ee5d5375 Fix tests for RC 0.78.1 2023-02-28 18:46:38 +03:00
あく
1d55aee39c Fix incorrect type choise condition in image compressor (#2434) 2023-02-27 02:29:42 +10:00
Mathie
203adabc46 Update update.py (#2426)
Fixed grammar mistake

Co-authored-by: あく <alleteam@gmail.com>
2023-02-25 22:41:49 +09:00
Max Andreev
3de6ae07b7 [FL-2974] Up toolchain version to 21 (#2416)
Co-authored-by: あく <alleteam@gmail.com>
2023-02-20 21:21:29 +09:00
Max Andreev
c7fbc8323b Toolchain 20 rollback (#2410)
* Toolchain rollback
* Remove extra code
2023-02-18 01:06:48 +09:00
hedger
335f8b9aff fbt: FBT_QUIET option; docs on environment (#2403)
* fbt: added FBT_QUIET to suppress toolchain version output; docs: added info on fbt environment
* docs: typo fixes
* fbt: fix for FBT_QUIET handling on *nix
* Add FBT_VERBOSE flag
* Add export
* Fix export
* docs: updates for FBT_VERBOSE

Co-authored-by: DrunkBatya <drunkbatya.js@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-02-17 21:22:08 +09:00
Max Andreev
487d03eca4 Fix openssl path again (#2409)
* Temp fix openssl  cert path
* Moving fix from CI to fbtenv
* Fix openssl again
2023-02-17 18:59:08 +09:00
Max Andreev
32b74b968e Fix openssl cert path in fbtenv (#2408)
* Temp fix openssl  cert path
* Moving fix from CI to fbtenv
2023-02-17 18:16:53 +09:00
Daniil Velovaty
a18793eae1 Added cards and tests for NFC with bench 2023-02-16 20:55:23 +03:00
Max Andreev
2fdebb639b [FL-3098] Up toolchain to version 20 (#2397)
* Up toolchain to 20
* Python reformat, add version info into fbtenv

Co-authored-by: あく <alleteam@gmail.com>
2023-02-16 01:56:25 +09:00
Daniil Velovaty
ca6338fbb9 Add skipping bench test and recognition lists 2023-02-14 19:02:23 +03:00
hedger
d0c6c3402c Updater visual fixes (#2391)
* updater: removed unused code; fbt: fixed build error processing in certain cases
* updater: simplified internal pre-update state
* updater: rebalanced stage weights; fixed progress hiccups
2023-02-13 23:07:53 +09:00
Hellitron
826415beb1 Fixed NFC tests (new pict, new menu items) 2023-02-10 15:16:38 +03:00
Hellitron
9220211a2e Repair for tests (RC 0.77) 2023-02-10 11:32:29 +03:00
Konstantin Volkov
78a369de67 added protobuf_py submodule to scripts/flippigator 2023-02-09 13:54:46 +03:00