MX
62fa698e2d
Merge branch 'ofw-dev' into dev
2023-05-14 20:38:24 +03:00
hedger
8d1f5b04b3
[FL-3317] fbt: allow strings for fap_version field in app manifests ( #2672 )
2023-05-14 20:49:52 +09:00
MX
c2713eff87
New way of changing device name
...
Settings scene, char Validator, Idea -> by Willy-JL
Implemented by me
Kod plohoi, ochen plohoi, kto mozhet - sdelaite kak nado, esli smozhete :)
Ya luche varianta ne pridumal poka 4to
2023-05-14 05:38:00 +03:00
MX
1d2d05cfdf
Fix merge issues
2023-05-09 20:24:43 +03:00
MX
face4bd3c7
Merge branch 'fz-dev' into dev
2023-05-09 18:28:46 +03:00
あく
f57f0efc48
Debug: revert cortex debug to lxml and drop DWT ( #2651 )
...
* Debug: revert cortex debug to lxml
* Debug: update PyCortexMDebug readme
* fbt: moved "debug" dir to "scripts" subfolder
* ufbt: added missing debug_other & debug_other_blackmagic targets; github: fixed script bundling
* lint: fixed formatting on debug scripts
* vscode: updated configuration for debug dir changes
---------
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2023-05-09 03:31:44 +04:00
hedger
241b4ef6e4
[FL-3299] furi_crash: added C2 status; added fw-version gdb command ( #2638 )
...
* furi_crash: added C2 status
* debug: Added "fw-version" gdb command; vscode: updated configuration to use new command
* debug: added fw-info command to debug_other session
* Toolbox: versioned structure for Version
* debug: fw-version: no longer needs an ELF file loaded
* debug: flipperversion: removed unused variable
* debug_other: print running fw version
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-05-09 07:31:39 +09:00
MX
417343e3dd
Merge branch 'fz-dev' into dev
2023-05-09 01:14:42 +03:00
hedger
268b88be0d
[FL-3285] Removed STM32CubeWB module ( #2608 )
...
* libs: removed STM32CubeWB module; split cube into 3 submodules
* fixed f18 version
* fbt: options: fixed expected stack version
* pvs: updated for new paths
* fbt: ep: multithreaded submodule update
* libs: stm32cubewb: fixed duplicate include path; renamed to stm32wb; codeowners: updated paths; docs: updated paths
* pvs: updated paths
* libs: added cmsis_core from ARM sources, v.5.4.0, from https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/Core/Include
* Updated stm32wb_copro structure
* PVS: exclude cmsis core from analysis
---------
Co-authored-by: あく <alleteam@gmail.com>
2023-05-09 06:30:33 +09:00
hedger
538f96f0ac
[FL-3300] API version in UI ( #2649 )
...
* desktop, about: replaced commit# with API version
* scripts: storage: added approx speed for file uploads
* scripts: selfupdate: use folder name by default
* vscode: fixed broken get_blackmagic shell integration on *nix
Co-authored-by: あく <alleteam@gmail.com>
2023-05-08 20:11:23 +09:00
hedger
f7dd77795a
ufbt: deploying sample ufbt automation for new apps; added source "ufbt -s env"
for toolchain access ( #2648 )
2023-05-08 20:01:52 +09:00
MX
2b2be1789f
Merge branch 'fz-dev' into dev
2023-05-07 22:25:56 +03:00
Perry Fraser
954780ed24
Fix storage.py exist_dir logic ( #2639 )
...
* Fix storage.py exist_dir logic. This method would return true if the given path existed as either a directory or
a file, which is what the plain exist method is for.
2023-05-07 22:40:38 +04:00
MX
cae4790ef2
Merge branch 'fz-dev' into dev
2023-05-03 17:15:59 +03:00
hedger
c3ececcf96
[FL-3174] Dolphin builder in ufbt; minor ufbt/fbt improvements ( #2601 )
...
* ufbt: added "dolphin_ext" target (expects "external" subfolder in cwd with dolphin assets); cleaned up unused code
* ufbt: codestyle fixes
* scripts: fixed style according to ruff linter
* scripts: additional cleanup & codestyle fixes
* github: pass target hw code when installing local SDK with ufbt
* ufbt: added error message for missing folder in dolphin builder
* scripts: more linter fixes
* sdk: added flipper_format_stream; ufbt: support for --extra-define
* fbt: reduced amount of global defines
* scripts, fbt: rearranged imports
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-05-03 14:48:49 +09:00
Georgii Surkov
238005890e
[FL-3294] Fix TERMINFO on Linux systems ( #2630 )
...
* Fix TERMINFO on Linux systems
* Set TERMINFO_DIRS only on Linux
* Unset TERMINFO_DIRS if it was not set before
2023-05-03 00:56:25 +03:00
hedger
1ef70c0bb4
[FL-3280] cubewb: downgraded to v1.15.0 ( #2605 )
...
* cubewb: downgraded to v1.15.0
* hal: updated f18 symbols to match LL
* hal: flash: use furi_hal_cortex_timer for timeouts
* scripts: fixed cube version validation from config file
* hal: flash: added 3 seconds timeout when waiting for C2 to unlock flash controller. On timeout, triggers furi_check
* nfc: fixed missing interrupt setup on multiple platformSetIrqCallback() invocations
* hal: gpio: don't trigger furi_check on furi_hal_gpio_add_int_callback() with same parameters
* Reverted NFC fixes - will be in a separate PR
* scripts: storage: fixed exception handler for paths
2023-04-24 16:19:36 +09:00
hedger
02c4b6d7e2
scripts: storage: fixed exception handler for paths
2023-04-23 14:06:01 +03:00
hedger
10efb9590a
scripts: fixed cube version validation from config file
2023-04-23 00:12:53 +03:00
hedger
3561f79cf4
cubewb: downgraded to v1.15.0
2023-04-22 20:42:27 +03:00
MX
e8bd435fe3
fw version in json
2023-04-21 09:46:48 +03:00
MX
57d9cdb3c4
Merge branch 'fz-dev' into dev
2023-04-20 16:08:09 +03:00
hedger
4d015a1106
[FL-3271] cubewb: updated to v1.16.0 ( #2595 )
...
* cubewb: updated project to v1.16.0
* hal: updated api_symbols for f18
* FuriHal: add missing enterprise sleep and insomnia
* FuriHal: slightly more paranoic sleep mode
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-20 21:57:51 +09:00
MX
2de476b11d
Merge branch 'fz-dev' into dev
2023-04-19 17:03:56 +03:00
hedger
3932503660
[FL-3243] github: testing SDK with ufbt action ( #2581 )
...
* github: testing SDK with ufbt action
* github: also build apps with ufbt
* github: fixed dir lookup for ufbt
* ufbt: checks for compatibility on app discovery
* github: Conditional app skip for ufbt
* github: fixed app build flow with ufbt
* extra debug
* github: lint: message capture
* github: testing different output capture method for linters
* shorter version of status check
* github: updated comment actions to suppress warnings
* Reverted formatting changes
Co-authored-by: あく <alleteam@gmail.com>
2023-04-19 20:08:13 +09:00
MX
93035f07aa
Merge branch 'fz-dev' into dev
2023-04-10 18:41:51 +03:00
MX
114e8d5b6a
Merge branch 'fz-dev' into dev
2023-04-10 18:41:22 +03:00
hedger
b9ccb274a7
ufbt: project & debugging updates ( #2572 )
...
* ufbt: removed warning in "channel=dev" update mode
* ufbt: removed API version warning; added get_blackmagic & get_apiversion targets
* ufbt: updater project template to include blackmagic & jlink targets
* ufbt: project template: fixes & updates
* ufbt: project template: added config update shortcut
* sdk: using fixed names for file components
2023-04-11 00:46:22 +10:00
hedger
a5a95847ea
scripts: sconsdist: added stub file artifact for older ufbt ( #2568 )
...
* scripts: sconsdist: added stub file artifact for older ufbt
* scripts: sconsdist: not creating dummy SDK archive
2023-04-06 23:49:28 +03:00
hedger
89161a7a1e
scripts: sconsdist: added stub file artifact for older ufbt ( #2568 )
...
* scripts: sconsdist: added stub file artifact for older ufbt
* scripts: sconsdist: not creating dummy SDK archive
2023-04-07 05:37:12 +10:00
あく
0d8518d31d
[FL-3232] FuriHal: fix gpio naming and add explicit pulls for vibro, speaker and ir_tx ( #2565 )
...
* FuriHal: fix gpio naming and add explicit pulls for vibro, speaker and ir_tx
* Github: workflow event debug print
* Github: proper PR head commit SHA extraction in get_env.py
2023-04-06 19:06:19 +10:00
MX
53f6ae7a39
Fix after-merge issues
2023-04-06 07:20:56 +03:00
MX
aac7654ca3
Merge branch 'fz-dev' into dev
2023-04-06 07:14:48 +03:00
hedger
a91d319839
[FL-3162] Moved ufbt to fbt codebase ( #2520 )
...
* scripts: moved ufbt code
* ufbt: fixed tool path
* ufbt: fixed linter/formatter target descriptions
* scripts: ufbt: cleanup
* fbt: moved fap launch target to tools; ufbt fixes
* fbt: fixed missing headers from SDK
* ufbt: removed debug output
* ufbt: moved project template to main codebase
* ufbt: fixed vscode_dist
* ufbt: path naming changes
* fbt: error message for older ufbt versions
* ufbt: docs fixes
* ufbt: fixed build dir location
* fbt: fixes for extapps objcopy
* fbt: extapps: removed extra debug output; fixed formatting
* ufbt: handle launch target for multiple known apps
* ufbt: dropping wrapper; linter fixes
* ufbt: fixed boostrap path
* ufbt: renamed entrypoint
* ufbt: updated vscode config
* ufbt: moved sconsign db location
* ufbt: fixed sconsign path
* fbt: SDK builders rework
* fbt: reworked sdk packaging
* ufbt: additional checks and state processing
* ufbt: fixed sdk state file location
* dist: not packaging pycache
* dump commit json content
* Github: more workflow debug prints
* Github: fix incorrect commit meta extraction in get_env.py
* ufbt, fbt: changed SConsEnvironmentError->StopError
* fbtenv: no longer needs SCRIPT_PATH pre-set
* ufbt: fixed sdk state check
* scripts: exception fixes for storage.py
* scripts: fbtenv: added FBT_TOOLCHAIN_PATH for on Windows for compat
* ufbt: app template: creating .gitkeep for images folder
* ufbt: app template: fixed .gitkeep creation
* docs: formatting fixes for AppManifests; added link to ufbt
* fbt: added link to PyPI for old ufbt versions
* sdk: fixed dir component paths
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-04-06 10:44:37 +08:00
MX
5660111b28
Merge branch 'fz-dev' into dev
2023-03-20 20:04:22 +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
MX
cda605f578
Merge branch 'fz-dev' into dev
2023-03-16 17:44:22 +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
MX
dd99c22792
Merge branch 'fz-dev' into dev
2023-03-14 19:55:16 +03: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
MX
f67a02203b
Merge branch 'fz-dev' into dev
2023-03-10 14:21:43 +03:00
あく
4bd3dca16f
Fbt: fix broken resource deployment ( #2477 )
2023-03-10 20:13:11 +09:00
Sergey Gavrilov
c5db1aaaf5
Revert "Revert "Embed assets in elf file ( #2466 )""
...
This reverts commit a04c01a2fd
.
2023-03-10 13:57:44 +03:00
Sergey Gavrilov
a04c01a2fd
Revert "Embed assets in elf file ( #2466 )"
...
This reverts commit 4fd043398a
.
2023-03-10 01:43:46 +03:00
MX
68fed0e03d
Merge branch 'fz-dev' into dev
2023-03-09 21:17:57 +03: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
MX
f3ab4bc292
Merge branch 'fz-dev' into dev
2023-03-02 21:18:35 +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
MX
5b0c5a82c0
Merge branch 'fz-dev' into dev
2023-02-26 21:24:38 +03:00
あく
1d55aee39c
Fix incorrect type choise condition in image compressor ( #2434 )
2023-02-27 02:29:42 +10:00
MX
2b8f55322e
Merge branch 'fz-dev' into dev
2023-02-26 05:51:58 +03:00
Mathie
203adabc46
Update update.py ( #2426 )
...
Fixed grammar mistake
Co-authored-by: あく <alleteam@gmail.com>
2023-02-25 22:41:49 +09:00
Round-Pi
e9aa2d3449
Merge branch 'DarkFlippers:dev' into dev2
2023-02-20 21:24:32 -05:00
MX
7d4bffb575
Merge branch 'fz-dev' into dev
2023-02-21 03:00:48 +03:00
Round-Pi
b89902942b
typo combing
2023-02-20 10:55:53 -05: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
MX
80a64d8e1a
Merge branch 'fz-dev' into dev
2023-02-17 21:55:32 +03: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
MX
ab515aeebb
Merge branch 'fz-dev' into dev
2023-02-17 13:07:56 +03: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
MX
85f6ee2870
Merge branch 'fz-dev' into dev
2023-02-15 23:33:35 +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
MX
b5a60dc10b
Merge branch 'fz-dev' into dev
2023-02-13 19:30:36 +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
MX
fe3862e113
Merge branch 'fz-dev' into dev
2023-02-09 17:52:59 +03:00
MX
b9351649ed
Merge branch 'fz-dev' into dev
2023-02-09 17:48:50 +03:00
Max Andreev
67c2d1cf61
Migrating CI/CD to Linode S3 ( #2380 )
...
* Test PVS linode S3
* Migrating to Linode S3
* Disable PVS action debug
* Fix pvs_studio.yml
2023-02-09 19:42:41 +09:00
Victor Nikitchuk
d7ecc95de4
Firmware fixes and improvements for flashing via blackmagic ( #2321 )
...
Co-authored-by: quen0n <quen0n@github.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2023-02-09 12:40:04 +09:00
MX
468d0ea966
Merge branch 'fz-dev' into dev
2023-02-08 12:43:07 +03:00
Michal Suchánek
00076deece
SCons: do not include backup files in build ( #2221 )
...
* SCons: do not include backup files in build
* fbt: now GlobRecursive by default excludes backup files
* fbt: added backup file exclusion to plain libs
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: あく <alleteam@gmail.com>
2023-02-08 18:35:38 +09:00
MX
6c768f2019
Merge branch 'fz-dev' into dev
2023-02-08 12:09:57 +03:00
hedger
224d0aefe4
[FL-2733] multitarget support for fbt ( #2209 )
...
* First part of multitarget porting
* Delete firmware/targets/f7/Inc directory
* Delete firmware/targets/f7/Src directory
* gpio: cli fixes; about: using version from HAL
* sdk: path fixes
* gui: include fixes
* applications: more include fixes
* gpio: ported to new apis
* hal: introduced furi_hal_target_hw.h; libs: added one_wire
* hal: f18 target
* github: also build f18 by default
* typo fix
* fbt: removed extra checks on app list
* api: explicitly bundling select mlib headers with sdk
* hal: f18: changed INPUT_DEBOUNCE_TICKS to match f7
* cleaned up commented out code
* docs: added info on hw targets
* docs: targets: formatting fixes
* f18: fixed link error
* f18: fixed API version to match f7
* docs: hardware: minor wording fixes
* faploader: added fw target check
* docs: typo fixes
* github: not building komi target by default
* fbt: support for `targets` field for built-in apps
* github: reworked build flow to exclude app_set; fbt: removed komi-specific appset; added additional target buildset check
* github: fixed build; nfc: fixed pvs warnings
* attempt to fix target id
* f7, f18: removed certain HAL function from public API
* apps: debug: enabled bt_debug_app for f18
* Targets: backport input pins configuration routine from F7 to F18
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2023-02-08 01:33:05 +09:00
MX
f116e8165f
Merge branch 'fz-dev' into dev
2023-02-06 22:46:17 +03:00
Sergey Gavrilov
6e179bda1f
Script that can find programmer and flash firmware via it. ( #2193 )
...
* Init
* Fallback to networked interface
* remove unneeded cmsis_dap_backend
* serial number
* windows :(
* remove jlink, fix path handling
* scripts: program: path normalization
* scripts: program: path normalization: second encounter
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: あく <alleteam@gmail.com>
2023-02-06 23:56:36 +09:00
MX
c708a301f5
Merge branch 'fz-dev' into dev
2023-01-18 18:26:49 +03:00
hedger
a0814aab31
[FL-3081] fbt: removed DEBUG_TOOLS & FAP_EXAMPLES flags ( #2291 )
...
* fbt: deprecated DEBUG_TOOLS & FAP_EXAMPLES flags
* fixes for PVS warnings
* scripts: fbt: fixed leaking PYTHONHOME
2023-01-17 18:07:47 +03:00
hedger
341610b8a1
[FL-3080] fbt: PVS support ( #2286 )
...
* fbt: added firmware_pvscheck & firmware_pvs targets for *nix
* fbt: pvs support on Windows
* fbt: additional fixes & docs for PVS support
* fbt: fixes for updater env configuration
* github: reworked pvs workflow
* vscode: added PVS shortcut
* pvs: added --ignore-ccache flag
* fbt: pvs: opening web browser if there are warnings
* fbt: pvs: added browser handler for mac
* github: fixed report path for PVS
* fbt: pvs: fixed report upload path
* removed intentional PVS warning
* fixed more PVS warnings
* fixed secplus_v1 PVS warning
* fbt: added PVSNOBROWSER flag
* github: setting PVSNOBROWSER for pvs runs
* fbt: less debug output
Co-authored-by: あく <alleteam@gmail.com>
2023-01-17 15:55:49 +03:00
Stephen Kent
d2df35a35b
fbt: add fap_deploy
target to build and copy all .fap apps to flipper ( #2146 )
...
* fbt: add `faps_copy` target to build and copy all .fap apps to flipper
* fbt: restore default runfap.py invocation behavior, use -n for copy only
* fbt: proper implementation of fap_deploy target
Co-authored-by: hedger <hedger@nanode.su>
2023-01-11 13:13:07 +03:00
MX
a94c553c5a
Merge branch 'fz-dev' into dev
2023-01-07 01:59:20 +03:00
yan0f
9740dd8c75
Fix typos in source code ( #2258 )
2023-01-07 01:06:50 +09:00
MX
a850aa8f2c
Force no dirty build status for multiple builds
...
kostili and velosipedy
2022-12-29 01:41:23 +03:00
MX
66d31b3a0e
Merge branch 'fz-dev' into dev
2022-12-28 21:01:36 +03:00
Konstantin Volkov
27ee0f73f7
Fixing various typos in readme files #2208
...
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
2022-12-28 23:30:20 +09:00
Konstantin Volkov
3108dc7c8c
Splitting units and updater benches ( #2165 )
...
* test run, moved updated to separate physical runner/flipper/card
* simplified units, removed re-flashing, moved format to beginning of run
* added reboot requence and mini optimizations
* forgot gitadd, added script modifications, workflow changes
* fixed linter issues
* moved updater to unit bench for speed up
* changes to units, flash (not full) on second update, new fbt GDB thread check
* changed serial of second device
* testing pipelines, added failing unit test
* fixed gdb step
* fixed gdb step v2 electric boogaloo
* fixed gdb step v3, fixed target
* reverted while1 in units, tests complete
* testing colored output
* trying different term setting
* debug outputs for terminal
* fixed typo in SConstruct and another terminal test
* reverted changes, no colored output, for production
* fixed log output to readable format
* fixed linter
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-12-28 23:16:06 +09:00
MX
473f9c0e44
Merge branch 'fz-dev' into dev
2022-12-27 16:06:27 +03:00
Sergey Gavrilov
727f043747
OpenOCD scripts ( #2101 )
...
* Scripts: option bytes check
* Scripts: option bytes set
* Scripts: openocd config
* Scripts: increased readability, process IPCCBR option byte
* Scripts: split dap_ob.py
* Updater: process IPCCBR option byte
* Scripts: move chip-related functions to chip definition
* Scripts: freeze CPU registers
* Scripts: flash programming routine
* ob.py
* otp.py
* otp: handle errors correctly
* downgrade to python 3.9
* correct type hinting
* Scripts: fix path to ob.data
Co-authored-by: あく <alleteam@gmail.com>
2022-12-27 21:59:36 +09:00
MX
f5985ee27c
Merge branch 'fz-dev' into dev
2022-12-26 23:32:45 +03:00
Max Andreev
1c926cf8a2
Trigger amap from another repo ( #2171 )
...
* Add s3 upload, repository dispatch
* Add trigger
* Fix map file upload
* Debug
* Add event file upload to s3
* fix triggering
* Fix upload process
* fix build.yml
Co-authored-by: あく <alleteam@gmail.com>
2022-12-27 05:22:22 +09:00
MX
6d368c3e3a
Merge branch 'fz-dev' into dev
2022-12-26 22:42:21 +03:00
Georgii Surkov
8582670a34
[FL-2811] Fix PVS-Studio warnings ( #2142 )
...
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
Sergey Gavrilov
c2cb14834d
[FL-3062] Fix unit tests ( #2180 )
...
* SubGHZ unit test: fail if async_tx is not started
* Memgr unit test: fix for multithreaded enviroment
* Unit tests: fix failed_tests count
* Unit tests: remove debug code
* Double update test: increase flipper detection time
Co-authored-by: あく <alleteam@gmail.com>
2022-12-24 23:13:21 +09:00
MX
921b47ac50
Merge branch 'fz-dev' into dev
2022-12-19 22:24:52 +03:00
Max Andreev
361ca8b750
Rollback new amap workflow ( #2152 )
2022-12-20 02:09:19 +09:00
MX
fd5b1f1943
Merge branch 'fz-dev' into dev
2022-12-19 19:51:19 +03:00
Max Andreev
ef7052fbad
Fix new amap workflow ( #2151 )
...
* Fix amap workflow
* get_env.py
* Fix amap_analyse.yml
2022-12-20 01:42:06 +09:00
MX
084cdc6ad0
Merge branch 'fz-dev' into dev
2022-12-19 16:57:00 +03:00
Konstantin Volkov
36e15a1352
Doom/Unit_tests flashing proper firmware ( #2133 )
...
* doom: should fix all issues, needs review
* fixed flash call and added port
* increased timeout, full flash wasn't completing
* turned serial back
* added unit formatting and force flag for overwriting files
* testing crash
* fixed step names, added release flashing, removed unit_tests from updater tests
* changed checkout method, added step validations
* removed duplicated tag
* fixed styling, stopped relying on shebang lines, removed debug output
* moved format to the end, flash_usb_full copies resourses already
* awaiting flipper after flashing and step status for file move
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-12-19 22:07:23 +09:00
MX
35a4eef3fc
Merge branch 'fz-dev' into dev
2022-12-10 19:30:20 +03:00
Max Andreev
9d728a1c65
Check FL ticket in PR name after merge ( #2076 )
...
* Add base
* Add base again
* Test reporting
* Fix reporting
* Fix secrets
* Fix arguments in report
* Remove depricated actions
* Disable reporting on PR
Co-authored-by: あく <alleteam@gmail.com>
2022-12-10 22:10:51 +09:00
MX
8794aad5d0
Merge branch 'fz-dev' into dev
2022-12-08 21:41:45 +03:00
Georgii Surkov
df808be8d7
[FL-3003] Fix logical error in storage script ( #2105 )
...
* Fix logical error in storage script
* Fix formatting
2022-12-08 18:31:22 +09:00
MX
79812a1fe0
Merge branch 'fz-dev' into dev
2022-11-30 02:13:05 +03:00
Danil Kalashnikov
0ab14c37c9
fbt: add missing Force flag when moving toolchain from temp path ( #2044 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 22:31:32 +09:00
MX
3d36105142
Merge branch 'fz-dev' into dev
2022-11-28 23:12:17 +03:00
Smooklu
03140e4349
Bluetooth Remote to HID Remote ( #2039 )
...
* WIP BT + USB Hid
* Refactoring Submenus/Views
* Changed to bool instead of enum
* Revamp finished
* Removed usb_keyboard
* Renaming device_types that can do USB+BT
* Removed error view
* Renaming folder structure and file names
* Fixed views.h
* Fixed hid.h
* Fixed hid_mouse.c
* Fixed a accidetnal renaming
* Apps: add missing view remove call in hid app destructor
* Hid app: hal abstraction, split into bluetooth and usb remotes. Fbt: customizable icon symbol name.
* Hid app: update usb remote icon
* Hid: single status change routine
* HID App: final touches
* HID App: rename BtHidTikTok to HidTikTok, format sources
* HID App: fix comma in keyboard
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 01:27:16 +09:00
MX
7829428455
Merge branch 'fz-dev' into dev
2022-11-23 19:21:50 +03:00
MangoTornado
669822cdd2
Fix typos in various outputs ( #2032 )
...
* Fix typos in various outputs
* Update u2f_view.c
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 22:15:08 +09:00
MX
0e338f7964
Merge branch 'fz-dev' into dev
2022-11-12 22:22:38 +03:00
hedger
41de5f3c52
fbt: more fixes for windows environment #2011
2022-11-13 03:28:29 +09:00
hedger
b56fed477a
Path handling fixes in toolchain download #2010
2022-11-13 02:22:40 +09:00
MX
950dee48a0
Merge branch 'fz-dev' into dev
2022-11-12 16:43:12 +03:00
hedger
f9730bcafe
fbt: lint fixes ( #2008 )
...
* lint: exclude "lib" subfolder from naming checks; fbt: moved LINT_SOURCES from literal strings to Dir() nodes
* lint: also exclude hidden directories
Co-authored-by: あく <alleteam@gmail.com>
2022-11-12 19:03:22 +09:00
MX
930b369812
Merge branch 'fz-dev' into dev
2022-11-10 21:38:03 +03:00
hedger
a959fa32bc
fbt: 'target' field for apps; lib debugging support ( #1995 )
...
* fbt: added 'target' field to application manifest
* fbt: earlier pagination setup for gdb
* fbt: added LIB_DEBUG flag
* fbt: sdk: added SDK_MAP_FILE_SUBST
2022-11-10 20:55:11 +09:00
MX
684fdc632f
Merge branch 'fz-dev' into dev
2022-11-10 06:57:08 +03:00
Max Andreev
ce294c3b1e
Update toolchain to version 19. Update codeowners. Fix amap analyze. ( #1986 )
...
* Up toolchain to 19
* Fix amap_analyse.yml
* Github: update codeowners
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-11-09 01:56:49 +09:00
hedger
2d6c2886ae
fbt: compile_db fixes ( #1981 )
...
* fbt: forked compilation_db tool
* fbt: fixes for static analysis
* pvs-studio: ignoring more generic warnings
* fbt: util: added extract_abs_dir
* vscode: added fap-set-debug-elf-root for debug configurations
2022-11-07 23:54:41 +09:00
hedger
04e50c9f89
fbt: fixes for ufbt pt3 ( #1970 )
...
* fbt: replaced debug dir paths with FBT_DEBUG_DIR
* scripts: updated requirements.txt
* fbt: fixed wrong import
* fbt: removed delayed import for file2image
* fbt: added UPDATE_BUNDLE_DIR internal var
* fbt: cleaner internal management of extapps
* applications: added fap_libs for core apps to link with resources when building with --extra-ext-apps
* fbt: removed deprecation stub for faps
* fbt: added quotation for icons build cmd
* fbt: reworked BUILD_DIR & fap work dir handling; fap debug: using debug elf path from fbt
* fbt: explicit LIB_DIST_DIR
2022-11-05 20:47:59 +09:00
MX
79b37556d4
Merge branch 'fz-dev' into dev
2022-11-02 22:53:12 +03:00
hedger
ebc2b66372
fbt fixes for mfbt pt2 ( #1951 )
...
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
* fbt: minor refactorin
* fbt: moved sdk management code to extapps.scons
* fbt: fixed sdk symbols header path; disabled -fstack-usage
* fbt: changed pathing for .py scripts
* fbt: changed SDK_HEADERS pathing; added libusb to SDK; added icon_i.h to SDK; added hw target to SDK meta
* fbt: added libusb headers to SDK
* picopass: include cleanup; api: added subghz/registry.h; api: added mbedtls to exported headers
* picopass: fixed formatting
* fbt: fixed COPRO_ASSETS_SCRIPT
* sdk: added basic infrared apis
* toolchain: added ufbt to list of legal fbtenv callers; updated error messages
* fbt: changed manifest collection & icon processing code
* fbt: simpler srcdir lookup
* toolchain: path management fixes; fbt: fixes for fap private libs paths
* scripts: toolchain: reworked download on Windows
* toolchain: v17
* scripts: added colorlog for logging
* Github: fix unit tests
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 00:15:40 +09:00
MX
4da3f9cf15
Merge branch 'fz-dev' into dev
2022-10-28 19:43:22 +03:00
hedger
4b921803cb
fbt: fixes for ufbt compat ( #1940 )
...
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 00:32:06 +09:00
MX
2cfb5bdfc6
Merge branch 'fz-dev' into dev
2022-10-28 18:03:31 +03:00
Konstantin Volkov
492f147568
[FL-2887] actions unit tests runner ( #1920 )
...
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 22:59:09 +09:00
MX
c72b305480
Merge branch 'fz-dev' into dev
2022-10-26 03:44:21 +03:00
hedger
0adad32418
fbt fixes pt4 ( #1899 )
...
* fbt: fixed py scripts for gdb
* fbt: removed compiled dolphin assets from tracked files; resolved cached dependency issues by globally disabling deps cache; changed dependency tracking for dolphin assets
* fbt: fix for "resources" node lookup
* toolchain: bump to v.16 with scons + x64 win binaries
* fbt: using scons from toolchain
* vscode: fixed paths for 64-bit Windows toolchain
* fbt: added colors!
* fbt: moved import validator to ansi lib coloring
* fbt: moved COMSTR vars to tools
* fbt: custom action for fap dist
* fbt: added OPENOCD_ADAPTER_SERIAL configuration var for openocd operations
* fbt: added get_stlink target
* docs: details on libs for faps
* vscode: added DAP config for using Flipper as a debugger for a 2nd Flipper
* fbt: blind deps fix for sdk_origin
* fbt: sdk: moved deployment actions to pure python
* Github: disable disableLicenseExpirationCheck option for pvs
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-26 07:15:02 +09:00
MX
328fbffb80
Merge branch 'fz-dev' into dev
2022-10-19 18:24:56 +03:00
hedger
79c3040629
fbt: fixed dependency issues with SDK definition file ( #1893 )
...
* fbt: fixed dependency issues with SDK definition file
* fbt: more path fixes; marked up new symbols
2022-10-19 23:28:48 +09:00
MX
576dab02a4
Merge branch 'fz-dev' into dev
2022-10-18 16:28:20 +03:00
hedger
4942bd2105
scripts: fixed c2 bundle format ( #1889 )
...
* scripts: fixed c2 bundle format
* scripts: copro.py: small refactoring
Co-authored-by: あく <alleteam@gmail.com>
2022-10-18 21:13:28 +09:00
MX
d2018dfa1d
Merge branch 'fz-dev' into dev
2022-10-17 02:54:39 +03:00
hedger
8ec5527ae4
fbt: fix for cincludes in app's private library definition ( #1882 )
2022-10-17 03:11:27 +10:00
MX
f96f2e2411
Merge branch 'fz-dev' into dev
2022-10-14 22:25:48 +03:00
MX
6442caa3e4
Revert "fbt - fix flash usb without resources "
...
This reverts commit ce173fd44c
.
2022-10-14 22:25:11 +03:00
Kevin Kwok
865baed0bb
Fix FileNotFoundError in ./fbt flash_usb ( #1876 )
...
* Fix FileNotFoundError in ./fbt flash_usb
* scripts: update.py: proper fix for file naming
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: hedger <hedger@nanode.su>
2022-10-15 03:07:23 +09:00
MX
ce173fd44c
fbt - fix flash usb without resources
...
this is not "stolen" from official, bug are present in ofw at current moment
2022-10-14 01:31:44 +03:00
hedger
8fdee1e460
Scripts: simpler tar format ( #1871 )
...
* scriptsL simpler tar format
* scripts: shorter names for files in update bundle
* scripts: limiting max OTA package dir name length to 80
* scripts: resource bundle: checks for file name length
* scripts: made resource packing errors critical
2022-10-14 00:05:07 +09:00
MX
ff52f7d9ba
Merge branch 'hedger/fbt_tarfix' into dev
2022-10-13 17:48:16 +03:00
hedger
abfe53f156
scripts: made resource packing errors critical
2022-10-13 18:27:21 +04:00
hedger
9a2228bfa4
scripts: resource bundle: checks for file name length
2022-10-13 18:09:04 +04:00
MX
da17adb5ee
update tar formats
2022-10-13 17:08:00 +03:00
hedger
7b16de2d6f
scripts: limiting max OTA package dir name length to 80
2022-10-13 17:03:11 +03:00
hedger
735056628c
scripts: limiting max OTA package dir name length to 80
2022-10-13 18:01:49 +04:00
hedger
220adf2375
scripts: shorter names for files in update bundle
2022-10-13 16:55:04 +03:00
hedger
af1fb2018a
scripts: shorter names for files in update bundle
2022-10-13 17:38:47 +04:00
MX
5f28eafcd2
scripts: fix tar format
...
OFW PR 1871 by hedger
2022-10-13 01:47:03 +03:00
MX
3a569d4be8
Merge branch 'fz-dev' into dev
2022-10-13 00:42:15 +03:00
hedger
db2f4847ba
scriptsL simpler tar format
2022-10-12 23:13:17 +04:00