hedger and あく
0d94abf856
fbt: dist improvements ( #3186 )
...
* fbt: MENUEXTERNAL apps now respect build configuration; fixed `fap_deploy`
* fbt, ufbt: better message for missing app manifests (shows real paths)
Co-authored-by: あく <alleteam@gmail.com >
2023-11-02 22:28:39 +09:00
hedger
7bd3bd7ea4
fbt: source collection improvements ( #3181 )
...
* fbt: reduced amount of redundant compilation units
* fbt: added GatherSources() method which can reject source paths starting with "!" in sources list; optimized apps' source lists
* docs: updated on path exclusion for `sources`
* apps: examples: fixed example_advanced_plugins source list
* docs: more details on `sources`; apps: narrower sources lists
2023-11-01 13:21:31 +09:00
hedger
bbe68d6ffc
[FL-3629] fbt: SD card resource handling speedup ( #3178 )
...
* fbt: reduced size of resources dependency graphs, resulting in faster build task evaluation
* lib: flipper_app: fixed error message & error handling for plugins
2023-10-31 15:27:58 +04:00
hedger and あく
917410a0a8
[FL-3629] fbt: reworked assets & resources handling ( #3160 )
...
* fbt: reworking targets & assets handling WIP
* fbt: dist fixes
* fbt: moved SD card resources to owning apps
* unit_tests: moved resources to app folder
* github: updated unit_tests paths
* github: packaging fixes
* unit_tests: fixes
* fbt: assets: internal cleanup
* fbt: reworked assets handling
* github: unit_tests: reintroducing fixes
* minor cleanup
* fbt: naming changes to reflect private nature of scons tools
* fbt: resources: fixed dist archive paths
* docs: updated paths
* docs: updated more paths
* docs: included "resources" parameter in app manifest docs; updated assets readme
* updated gitignore for assets
* github: updated action versions
* unit_tests: restored timeout; scripts: assets: logging changes
* gh: don't upload desktop animations for unit test run
Co-authored-by: あく <alleteam@gmail.com >
2023-10-31 00:17:30 +09:00
hedger and あく
35c903494c
[FL-3627, FL-3628, FL-3631] fbt: glob & git improvements ( #3151 )
...
* fbt: optional shallow submodule checkout
* fbt: more git threads by default
* fbt: git condition fix
* fbt: renamed FBT_SHALLOW to FBT_GIT_SUBMODULE_SHALLOW
* github: enabled FBT_GIT_SUBMODULE_SHALLOW in flows
* fbt: always compile icons' .c, even if user does not specify a proper source glob; changed glob to require files at user-specified paths to exist
* fbt: fail build for missing imports in .faps
* fbt: moved STRICT_FAP_IMPORT_CHECK to commandline options; enabled by default
* ufbt: enabled STRICT_FAP_IMPORT_CHECK
Co-authored-by: あく <alleteam@gmail.com >
2023-10-23 18:55:36 +09:00
hedger
4ae9a02efa
FuriHal ble: length fix for fw version prop ( #3136 )
...
* hal ble: length fix for fw version prop
* hal ble: dev_info char: setting data after setup is done
* api: storage: enabled storage_file_sync
2023-10-09 21:53:20 +09:00
hedger and あく
d47e5ca520
fbt: glob improvements ( #3117 )
...
* fbt: glob improvements, now treats entries with no special glob chars as files by default, not calling scons' globbing for them
* fbt: further fixes for glob
* fbt: less strict existence checks
* fbt: fixed frame_rate collection; typo fixes & comments
Co-authored-by: あく <alleteam@gmail.com >
2023-10-06 16:11:02 +09:00
hedger
e1030e7999
fbt: reworked tool path handling ( #3105 )
...
* fbt: removed absolute paths from env setup; moved abs paths to cdb tool
* fbt: moved tool lookup to cdb emitter
* fbt: cdb: quote only tools with spaces in path
* typo fix
* fbt: pvs: suppress license expiration warning
2023-09-25 14:04:34 +09:00
hedger and あく
1891d54baf
[FL-3600] Added fal_embedded parameter for PLUGIN apps ( #3083 )
...
* fbt, ufbt: added `fal_embedded` parameter for PLIGIN apps, to embed them into .fap
* fbt: fixed dependency settings for assets
* fbt: extapps: Removed unneeded casts
* fbt: extapps: code simplification
* fbt: fal_embedded: fixed dependency relations
Co-authored-by: あく <alleteam@gmail.com >
2023-09-21 21:56:00 +09:00
hedger and あく
b80dfbe0c5
github: fixed grep arg for RC builds ( #3093 )
...
* github: fixed grep arg for RC builds
* scripts: fbt: checking for .git existence, not for it being a dir
Co-authored-by: あく <alleteam@gmail.com >
2023-09-21 18:44:55 +09:00
hedger
f0f2a6c11f
github: typo fix ( #3070 )
...
* github: typo fix
* github: sdk action: added validation for action inputs
* github: sdk action: 10+ rcs
2023-09-12 18:24:44 +09:00
hedger
8bfa9898e3
github: final fixes for SDK publishing ( #3069 )
...
* Fixes 4 fixes 4 fixes
* gh: proper step naming
* github: Restored SDK processing logic
2023-09-12 10:20:45 +09:00
hedger
91813831c6
github: specified shell for SDK submission action ( #3068 )
2023-09-12 01:36:13 +09:00
hedger
c657eb8a40
github: potential fix for compact builds ( #3067 )
...
* github: potential fix for compact builds
* github: explicit build mode
2023-09-12 01:18:04 +09:00
hedger
15894235a9
[FL-3596] fbt: added FW_CFG_<name> with build configuration ( #3062 )
2023-09-11 22:34:41 +09:00
hedger and あく
77d6c41914
github: submit SDKs to prod & dev ( #3060 )
...
* github: submit SDKs to prod & dev
* github: increased limit of queried SDKs
Co-authored-by: あく <alleteam@gmail.com >
2023-09-11 19:51:03 +09:00
hedger
dfd5233760
github: don't cancel jobs if parallel ones failed ( #3044 )
2023-09-05 18:17:16 +04:00
hedger
452e27b05e
github: workflow improvements ( #3032 )
...
* github: compact build: status reporting step
* github: build: matrix strategy
* debugging
* github: added version_token to /uploadfiles request
* github: reworked main build flow
* github: suppressed non-zero cp status
* github: build: fixed comment lookup; experimental changes to apps build order
* github: removed summary step for compact builds; united map analyzer steps
* fbt: added get_apiversion target; moved ext apps processing logic to AppBuildset
* ufbt: added missing global
* fbt: Moved incompatible app list to firmware config output
* fbt: cleaner extapps processing
* github: build: added automation for SDK publishing
2023-09-05 20:49:39 +09:00
hedger
5eeb672dd4
github: workflow trigger optimizations ( #3030 )
2023-09-01 12:09:48 +09:00
hedger
c3aa151712
github: Check for todos ( #3011 )
2023-08-25 23:38:41 +09:00
hedger and あく
56b5b35236
Intelligent probing with warnings for fwflash.py ( #3005 )
...
* scripts: fwflash: intelligent probing with warnings
* scripts: fwflash: better texting
Co-authored-by: あく <alleteam@gmail.com >
2023-08-24 03:04:12 +09:00
hedger and あく
ace0901125
[FL-3486,FL-3392] fbt: various improvements and bug fixes ( #2982 )
...
* fbt: extapps: compact debug format for .faps
* fbt: sdk: fixed symbol cache regen logic for removed-only symbols
* lib: elf_file: early .fap file handle release
* fbt: extapps: added FAP_VERSION define for application environments
* github: added appsymbols artifact
* api: updates for f18
* github: fixed early fap_dist
* fbt: added flash_dap
* ufbt: added flash_dap
* fbt: reworked flash target; scripts: program.py->fwflash.py and changes
* vscode: updated configuration
* scripts: fwflash.py: ugly fixes for ufbt
* scripts: fwflash.py: cleanup
* fbt: flash: always use .elf file
* scripts: fwflash: fixed elf file path
Co-authored-by: あく <alleteam@gmail.com >
2023-08-23 03:33:10 +09:00
hedger and あく
200c44bdca
loader: restored support for debug apps ( #2993 )
...
* fbt: restored loader support for debug apps (no GUI tho)
* desktop: fixed code for handling autorun apps
* loader: fixed autorun app messing up last update stage
* Loader: handle status without message
Co-authored-by: あく <alleteam@gmail.com >
2023-08-23 02:38:45 +09:00
hedger
35cdefa1ca
Removed explicit dependency on scons for external scripting ( #2999 )
2023-08-23 02:11:53 +09:00
hedger and あく
7178bd20cf
ufbt: fixed FAP_SRC_DIR ( #2970 )
...
* fbt, ufbt: fixed "_appdir" internal property and FAP_SRC_DIR not working in ufbt environment
* fbt, ufbt: reworked CompileIcons(); added app's own root to app's #include path
* fbt: cleaner resolve_real_dir_node
Co-authored-by: あく <alleteam@gmail.com >
2023-08-11 01:21:56 +09:00
hedger and あく
17bcfee224
[FL-3441] faploader: always create app dir, even if it doesn't have subdirs ( #2901 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-08-02 00:43:14 +09:00
hedger
309f65e401
[FL-3437] fbt: build target for faps ( #2888 )
...
* fbt: added build target for faps. Usage: ./fbt build APPSRC=<appid>
* Updated docs & vscode config
* Code cleanup
2023-07-18 13:39:30 +04:00
hedger
20f6394ad8
[FL-3431] Radio headers in SDK ( #2881 )
2023-07-17 11:51:15 +04:00
hedger and あく
f2324e4d1c
[FL-3377] Update error code descriptions ( #2875 )
...
* updater: added update error code descriptions
* updater: separate ram/flash messages
* updater: extra pre-update checks
* updater: fixed string comparison
* updater: Additional logging
Co-authored-by: あく <alleteam@gmail.com >
2023-07-14 17:45:16 +04:00
hedger and Aleksandr Kutuzov
5334a0ab92
[FL-3376] Fixed GATT attribute order ( #2776 )
...
* hal: gatt: swapped rx/tx serial chars order
* hal: gatt: reordered HID attrs to maintain previous order
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-06-15 21:24:47 +09:00
hedger and あく
2312fe5bfc
[FL-3361] fbt: stable build dates ( #2751 )
...
* scripts: using commit date for clean build timestamp; current day otherwise
* scripts: version: Removing GIT_COMMIT_DATE from final data
Co-authored-by: あく <alleteam@gmail.com >
2023-06-09 21:27:47 +09:00
hedger
1c306a04fc
[FL-3359] github: added debugapps artifact; packaging resources per-target ( #2750 )
...
* github: added debugapps artifact; packaging resources per-target
* github: target name fixes
* github: fixed path for debug apps
* scripts: dist: removed lib stub artifact
* scripts: fixed broken SDK
* github: removed unused step
2023-06-08 21:43:05 +09:00
e3e64e5e83
[FL-3267] ble: refactored bt gatt characteristics setup ( #2587 )
...
* ble: refactored bt gatt characteristics setup
* ble: naming fixes, small optimizations
* ble: expanded bitfields; fixed pvs warnings
* ble: fixed pvs warnings for real
* ble: using FlipperGattCharacteristicDataPropsFixed for char[] props
* ble: removed flipper_gatt_characteristic_props_const_char
* ble: gatt: naming changes
* ble: gatt: fixed device_info service constant attrs sizes
* ble: gatt: copy descriptors to char instances; reworked hid chars to be callback-based; moved max size getter to callback with NULL data; added comments
* ble: gatt: removed hid_svc_report_data_callback
* ble: hid svc: better double loop idx naming
* ble: hid svc: simplified hid_svc_update_info
* ble: gatt: removed magic values; fixed type for HidSvcGattCharacteristicInfo
* ble: gatt: moved long uuids to separate files
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: あく <alleteam@gmail.com >
2023-06-08 18:42:02 +09:00
hedger and あく
3226254876
[FL-3351] github: re-enabled f18 build ( #2743 )
...
* github: re-enabled f18 build
* scripts: storage: better transfer logging
* Fix PVS warnings
Co-authored-by: あく <alleteam@gmail.com >
2023-06-08 15:16:01 +09:00
hedger
436194e6c7
[FL-3346] fbt: added Flipper selection when multiple are connected over USB ( #2723 )
...
* fbt: added Flipper selection when multiple are connected over USB
* scripts: serial_cli: added --port (-p) option
2023-06-08 13:47:27 +09:00
hedger and あく
754e640c8d
[FL-3246] fbt, ufbt: added checks for appid in app manifests( #2720 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-06-07 11:14:33 +09:00
hedger and あく
8d2ea14f06
[FL-3330] fbt: added hooks for build & dist environments; added FW_ORIGIN_* macro for apps & SDK ( #2705 )
...
* fbt: added hooks for build & dist environments
* Moved env hooks to an optional file
* Fixed var name
* Added fw origin to device info
* Bumped device info version
* fbt: added FIRMWARE_ORIGIN option. Different implementation for FW_ORIGIN_* C macro.
* api: bumped versions
* fbt: added fbt_options_local.py
* gitignore: cleanup
Co-authored-by: あく <alleteam@gmail.com >
2023-05-30 01:40:56 +09:00
hedger and あく
4f054ed535
api: added toolbox/api_lock.h ( #2702 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-05-26 21:57:24 +09:00
hedger
a821a2fcc0
[FL-3328] Removed user-specific data from tar artifacts ( #2691 )
2023-05-23 19:51:21 +09:00
hedger
9dedcd07b6
api: added lib/nfc/protocols/nfc_util.h ( #2674 )
2023-05-15 20:55:22 +09:00
hedger
8d1f5b04b3
[FL-3317] fbt: allow strings for fap_version field in app manifests ( #2672 )
2023-05-14 20:49:52 +09:00
hedger
9914aa40bd
[FL-3302] Part 2 of hooking C2 IPC ( #2662 )
2023-05-11 11:25:06 +09:00
hedger and あく
eebc6241b7
[FL-3302] ble: attempt to handle hardfaulted c2 ( #2653 )
...
* ble: attempt to handle hardfaulted c2
* MfKey32: nicer macros
* FuriHal: slightly different core2 hardfault message
* Update ReadMe
Co-authored-by: あく <alleteam@gmail.com >
2023-05-09 13:06:44 +09:00
hedger and Aleksandr Kutuzov
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
hedger and あく
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 and あく
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
hedger and Aleksandr Kutuzov
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
hedger and あく
c5b460b416
[FL-3260] Added API version to device info ( #2611 )
...
* hal: device_info: added API version to "firmware.api.major" & "firmware.api.minor"
* FuriHal: bump device info version
Co-authored-by: あく <alleteam@gmail.com >
2023-05-03 12:58:59 +09:00
hedger and SG
d70ba2b740
[FL-3286] Don't reboot on crash in debug builds ( #2613 )
...
* furi: never reboot on furi_crash in debug builds
* furi: crash info: added registers
* furi: check and assert optimization, split registers and stack info dump
* furi: macro uppercase
Co-authored-by: SG <who.just.the.doctor@gmail.com >
2023-04-26 01:33:13 +09: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 and Aleksandr Kutuzov
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
hedger and あく
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
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
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
hedger and Aleksandr Kutuzov
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
hedger and Aleksandr Kutuzov
f192ccce2c
FatFS: use rtc for timestamping ( #2555 )
...
* fatfs: use rtc
* fatfs: removed duplicate get_fattime declaration
* pvs: fixed warnings for fatfs timestamp
* fatfs: fixed seconds packing
* FuriHal: critical section around RTC datetime access
* FatFS: remove unused configration defines, update documentation
* FuriHal: checks instead of assets in RTC
---------
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-04-01 23:50:30 +10:00
hedger
60ac2e9881
[FL-3161] Improved debugging experience for external apps ( #2507 )
...
* debug: automated support for multiple debug symbol files
* faploader: extra checks for app list state
* debug: trigger BP before fap's EP if under debugger
* faploader, debug: better naming
* docs: info on load breakpoint
* faploader: header cleanup
* faploader: naming fixes
* debug: less verbose; setting debug flag more often
* typo fix
2023-03-21 00:03:55 +09: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 and あく
d8385b7f91
gh: use shallow clones whenever possible ( #2491 )
...
* gh: use shallow clones whenever possible
* gh: reverted submodule checks
* gh: lint: joined linting scripts
* gh: renamed linter workflow
* check python linter output
* gh: reworked linter
* checking c linter
* gh: merged submodule check & lint
* gh: renamed step
* gh: removed redundant `submodules: false`
Co-authored-by: あく <alleteam@gmail.com >
2023-03-16 00:24:56 +09:00
hedger
d12f76dacb
Nfc: fixes for latest PVS-studio 7.23 ( #2490 )
2023-03-15 21:01:33 +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
hedger
4ab832cc46
github: check API versions for all targets to match on gh build ( #2459 )
...
* github: check API versions for all targets to match on gh build
* typo fix
* gh: forcing target mismatch to test pipeline
* reverted API version change
2023-03-05 14:17:33 +09:00
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
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
hedger and あく
a005087636
fbt: building fap_dist for compact gh build; accessor: fixed for latest ibutton changes ( #2377 )
...
* fbt: building fap_dist as default target; accessor: fixed for latest ibutton changes
* fbt: not building fap_dist as default target; github: doing fap_dist for compact builds
Co-authored-by: あく <alleteam@gmail.com >
2023-02-09 03:16:05 +09:00
hedger and Aleksandr Kutuzov
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
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 and あく
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
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
hedger and あく
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
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
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
0a86ad43ca
fbt: fix for launch_app ( #1978 )
2022-11-06 17:39:50 +10: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
hedger and あく
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
hedger and あく
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
hedger and あく
8b7a52b97b
fbt: fixed linter paths ( #1930 )
...
* fbt: fixed linter paths
* lint: changed file permissions
Co-authored-by: あく <alleteam@gmail.com >
2022-10-27 05:25:31 +09:00
hedger and あく
a8edb41eae
fbt, docs: typo fixes; vscode: fixed deprecated target names ( #1926 )
...
Co-authored-by: あく <alleteam@gmail.com >
2022-10-27 00:18:06 +09:00
hedger and Aleksandr Kutuzov
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
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
hedger and あく
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
hedger
8ec5527ae4
fbt: fix for cincludes in app's private library definition ( #1882 )
2022-10-17 03:11:27 +10: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
hedger and Aleksandr Kutuzov
eb4ff3c0fd
[FL-2832] fbt: more fixes & improvements ( #1854 )
...
* github: bundling debug folder with scripts; docs: fixes & updates; fbt: added FAP_EXAMPLES variable to enable building example apps. Disabled by default. fbt: added TERM to list of proxied environment variables
* fbt: better help output; disabled implicit_deps_unchanged; added color to import validator reports
* fbt: moved debug configuration to separate tool
* fbt: proper dependency tracker for SDK source file; renamed linker script for external apps
* fbt: fixed debug elf path
* fbt: packaging sdk archive
* scripts: fixed sconsdist.py
* fbt: reworked sdk packing; docs: updates
* docs: info on cli target; linter fixes
* fbt: moved main code to scripts folder
* scripts: packing update into .tgz
* fbt, scripts: reworked copro_dist to build .tgz
* scripts: fixed naming for archived updater package
* Scripts: fix ぐるぐる回る
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-10-13 01:12:05 +09:00
hedger and あく
9bf11d9fd2
[FL-2859,2838] fbt: improvements for FAPs ( #1813 )
...
* fbt: assets builder for apps WIP
* fbt: automatically building private fap assets
* docs: details on how to use image assets
* fbt: renamed fap_assets -> fap_icons
* fbt: support for fap_extbuild field
* docs: info on fap_extbuild
* fbt: added --proxy-env parame ter
* fbt: made firmware_cdb & updater_cdb targets always available
* fbt: renamed fap_icons -> fap_icon_assets
* fbt: deprecated firmware_* target names for faps; new alias is "fap_APPID"
* fbt: changed intermediate file locations for external apps
* fbt: support for fap_private_libs; docs: updates
* restored mbedtls as global lib
* scripts: lint.py: skip "lib" subfolder
* fbt: Sanity checks for building advanced faps as part of fw
* docs: info on fap_private_libs; fbt: optimized *.fam indexing
* fbt: cleanup; samples: added sample_icons app
* fbt: moved example app to applications/examples
* linter fix
* docs: readme fixes
* added applications/examples/application.fam stub
* docs: more info on private libs
Co-authored-by: あく <alleteam@gmail.com >
2022-10-06 22:55:57 +09:00
hedger and あく
76d38e832e
fbt: reproducible manifest builds & improvements ( #1801 )
...
* fbt: reproducible manifest builds, less rebuild on small updates; scripts: assets: using timestamp from commandline af available
* fbt: added app import validation for launch_app & single app build targets
* fbt: COMSTR for app imports validation
* docs: minor fixes
* docs: markdown fix
* vscode: comments for RTOS startup
Co-authored-by: あく <alleteam@gmail.com >
2022-09-29 20:00:22 +09:00
hedger and あく
f8b532f063
[FL-2831] Resources cleanup in updater ( #1796 )
...
* updater: remove files from existing resources Manifest file before deploying new resources
* toolbox: tar: single file extraction API
Co-authored-by: あく <alleteam@gmail.com >
2022-09-29 02:13:12 +09:00
hedger
efb09380bd
[FL-2836] Fast flash programming mode ( #1782 )
...
* updater: lowered logging level for resources unpacking; hal: implemented fast flash write mode
* hal: reworked fast flash programming; clearing most error flags on flash init; changed some flash functions return type from bool to void; scripts: fixed malformed CRC values in update bundles in certain cases;
* hal: flash: larger critical section
* hal: flash: enabling fast write inside critical section
* api_symbols: bump minor version
2022-09-26 20:03:21 +09:00
hedger
432ff41d6a
[FL-2844] desktop: removing slideshow file when leaving slideshow view ( #1762 )
...
* [FL-2844] desktop: removing slideshow file when leaving slideshow view; vscode: fix for BM port fetcher; fap api: more symbols for LL
* desktop: actually removing slideshow file
* desktop: moved slideshow removal to scene code; fbt: better blackmagic device handling
* fbt: disabled pagination for gdb
* vscode: restored blackmagic command line
* fbt: fixed debug_other target; added debug_other_blackmagic
* furi: added furi_thread_suspend API group; fixed null-pointer deref for thread name; cleaned up RTOS config
* furi: changed thread state check to eTaskGetState
2022-09-21 23:42:59 +09:00
hedger and あく
ed385594a3
faploader: more subsystem headers in API table ( #1742 )
...
* faploader: more subsystem headers in API table; not counting header entries for SDK version change
* subghz: removed dead function
* Adjusted API version
* hal: removed furi_hal_power_get_system_voltage
* lib: mbedtls: additional flags for .fap linkage
* fbt: rebuilding assets when git commit id changes
* fbt: removed assets rebuild on git commit id change; added explicit dependency for SDK source on compiled assets parts; removed unneeded sdk regeneration runs
* fbt: changed stock plugins to EXTERNAL apps; restored building app as a PLUGIN as a part of main fw as well as a .fap; readme fixes
* fbt: restored certain apps to PLUGIN type
* fbt: app manifests: renamed version->fap_version, added extra fields
* fbt: fixed version processing after rename
Co-authored-by: あく <alleteam@gmail.com >
2022-09-19 21:39:00 +09:00
hedger and あく
007a3d295e
[FL-2819] updater: fixed failing backups on /int with empty files in it #1735
...
Co-authored-by: あく <alleteam@gmail.com >
2022-09-15 22:55:55 +09:00
hedger and Aleksandr Kutuzov
28beff1ab6
Fbt: fixed gdb-py path for MacOS, docs: spelling fixes, codeowners ( #1736 )
...
* fbt: fixed gdb-py path for MacOS, docs: spelling fixes
* Gtihub: update codeowners
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2022-09-15 22:40:26 +09:00
hedger and あく
9829145d8c
fbt: fixed include paths; added PVS-Studio configuration ( #1615 )
...
* fbt: fixed include paths for generated version header
* lib: STM32CubeWB: refactored & cleaned up WPAN include paths
* hal: linter fixes for new headers
* fbt: added version_json target
* Added .pvsconfig; split common_defines.h into 2 files
* Added PVS-Studio basic configuration files; updated .gitignore
Co-authored-by: あく <alleteam@gmail.com >
2022-08-23 02:06:17 +09:00
hedger
2e993b0a58
[FL-2748] disabled automatic poweroff for single-frame slideshows #1621
2022-08-19 01:46:43 +09:00
hedger
e1ffb4ac4d
fbt: support for LOADER_AUTOSTART; post-build size stats ( #1594 )
...
* fbt: restored LOADER_AUTOSTART support
* scripts: added fwsize.py wrapper for size command; fbt: changed size post-build stats to fwsize.py call
* fbt: removed size wrapper
* fbt: added stats for binary flash size in pages
* fbt: hint on build options details
* scripts: fixed fwsize.py for *nix
2022-08-13 08:17:11 +10:00
hedger and あく
c846bca280
FuriHal: do not enable LSECSS if BORRST is active ( #1590 )
...
Co-authored-by: あく <alleteam@gmail.com >
2022-08-12 22:40:28 +09:00
hedger and あく
874eb46c93
rpc: fixed missing read blocks ( #1581 )
...
* rpc: fixed missing read blocks
* rpc: storage: restored old behavior
* rpc: allocating 0 bytes for empty read
Co-authored-by: あく <alleteam@gmail.com >
2022-08-11 23:51:31 +09:00
hedger
add2497a1c
rpc: additional verification of message data ( #1576 )
...
* rpc: additional verification of message data
* rpc: storage: fixed read handler
* acessor: fixed record naming
2022-08-11 17:28:57 +09:00