MX
58a33a51eb
Merge branch 'fz-dev' into dev
2022-09-06 23:43:59 +03:00
Max Andreev
d1c79a83de
New toolchain 15 ( #1709 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-09-06 20:19:34 +09:00
MX
a8858e38b5
Merge branch 'fz-dev' into dev
2022-09-05 19:23:34 +03:00
Max Andreev
b7a6d18186
Fix CI/CD in tags #1703
2022-09-05 22:40:54 +09:00
MX
c41555b579
Merge branch 'fz-dev' into dev
2022-09-03 16:30:13 +03:00
Dig
97b27261d5
fbt: fbtenv_chck_many_source, fix typos + grep logic ( #1699 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-09-03 21:53:43 +09:00
Max Andreev
bd54c2b342
Fix CI/CD ( #1698 )
...
* Test
newline
commit
* Test
newline
commit
* Fix some
variables
and test newline "quotted" commit
2022-09-03 19:18:24 +09:00
Max Andreev
53aa5c71a0
Amap workflow, "toolchain improvements" ( #1685 )
...
* fix quotes in amap
* try to fix quotes
* try to read "commit_message"
* Add new actions anv parser
* fix amap_anayse
* fix script ssl error
* test build with new get commit details method
* fix build.yml
* add fbt envs to get_env.py
* fix envs
* using new commit info "way"
* try to fix report link in PR page
* fix "pvs_studio.yml" again
* fix vars
* fix "build.yml"
Co-authored-by: あく <alleteam@gmail.com>
2022-09-03 16:09:03 +09:00
MX
5272b81ae6
Merge branch 'fz-dev' into dev
2022-08-30 11:42:39 +03:00
Walter Doekes
611b7e15ed
Remove execute permissions from *.c and *.h files ( #1651 )
...
* Add permission fix (no execute bit for source files) to fbt lint|format
* Remove execute bit from 59 source files using fbt format
* Also list which permissions are unwanted in lint.py
* Also remove exec permissions from lib/../rfal_nfc.c
Co-authored-by: あく <alleteam@gmail.com>
2022-08-30 01:20:57 +09:00
Himura Kazuto
ffa3ff5e7c
Remove obsolete info from docs ( #1672 )
2022-08-29 00:39:08 +09:00
MX
c714a32ea5
Merge branch 'fz-dev' into dev
2022-08-27 16:17:16 +03:00
Max Andreev
689da15346
workflows and fbtenv improovements ( #1661 )
...
* add --restore option, improove clearing
* fix trap
* fix unset
* fix fbtenv clearing
* disabling pvs studio and amap analyses in forks, fbtenv.sh fixes
* fbtenv fix
Co-authored-by: あく <alleteam@gmail.com>
2022-08-27 21:38:13 +09:00
MX
3327093dae
Merge branch 'fz-dev' into dev
2022-08-23 23:01:33 +03:00
Max Andreev
7c54fcf60a
fix fbtenv.sh under zsh ( #1645 )
...
* fix fbtenv under ZSH, some improovements, add amap workflow timeout
* fix copy .map file in build.yml
2022-08-24 02:57:59 +09:00
MX
11e73cc670
Merge branch 'fz-dev' into dev
2022-08-23 19:20:06 +03:00
SG
9bfb641d3e
[FL-2529][FL-1628] New LF-RFID subsystem ( #1601 )
...
* Makefile: unit tests pack
* RFID: pulse joiner and its unit test
* Move pulse protocol helpers to appropriate place
* Drop pulse_joiner tests
* Generic protocol, protocols dictionary, unit test
* Protocol dict unit test
* iButton: protocols dictionary
* Lib: varint
* Lib: profiler
* Unit test: varint
* rfid: worker mockup
* LFRFID: em4100 unit test
* Storage: file_exist function
* rfid: fsk osc
* rfid: generic fsk demodulator
* rfid: protocol em4100
* rfid: protocol h10301
* rfid: protocol io prox xsf
* Unit test: rfid protocols
* rfid: new hal
* rfid: raw worker
* Unit test: fix error output
* rfid: worker
* rfid: plain c cli
* fw: migrate to scons
* lfrfid: full io prox support
* unit test: io prox protocol
* SubGHZ: move bit defines to source
* FSK oscillator: level duration compability
* libs: bit manipulation library
* lfrfid: ioprox protocol, use bit library and new level duration method of FSK ocillator
* bit lib: unit tests
* Bit lib: parity tests, remove every nth bit, copy bits
* Lfrfid: awid protocol
* bit lib: uint16 and uint32 getters, unit tests
* lfrfid: FDX-B read, draft version
* Minunit: better memeq assert
* bit lib: reverse, print, print regions
* Protocol dict: get protocol features, get protocol validate count
* lfrfid worker: improved read
* lfrfid raw worker: psk support
* Cli: rfid plain C cli
* protocol AWID: render
* protocol em4100: render
* protocol h10301: render
* protocol indala26: support every indala 26 scramble
* Protocol IO Prox: render
* Protocol FDX-B: advanced read
* lfrfid: remove unused test function
* lfrfid: fix os primitives
* bit lib: crc16 and unit tests
* FDX-B: save data
* lfrfid worker: increase stream size. Alloc raw worker only when needed.
* lfrfid: indala26 emulation
* lfrfid: prepare to write
* lfrfid: fdx-b emulation
* lfrfid: awid, ioprox write
* lfrfid: write t55xx w\o validation
* lfrfid: better t55xx block0 handling
* lfrfid: use new t5577 functions in worker
* lfrfid: improve protocol description
* lfrfid: write and verify
* lfrfid: delete cpp cli
* lfrfid: improve worker usage
* lfrfid-app: step to new worker
* lfrfid: old indala (I40134) load fallback
* lfrfid: indala26, recover wrong synced data
* lfrfid: remove old worker
* lfrfid app: dummy read screen
* lfrfid app: less dummy read screen
* lfrfid: generic 96-bit HID protocol (covers up to HID 37-bit)
* rename
* lfrfid: improve indala26 read
* lfrfid: generic 192-bit HID protocol (covers all HID extended)
* lfrfid: TODO about HID render
* lfrfid: new protocol FDX-A
* lfrfid-app: correct worker stop on exit
* misc fixes
* lfrfid: FDX-A and HID distinguishability has been fixed.
* lfrfid: decode HID size header and render it (#1612 )
* lfrfid: rename HID96 and HID192 to HIDProx and HIDExt
* lfrfid: extra actions scene
* lfrfid: decode generic HID Proximity size lazily (#1618 )
* lib: stream of data buffers concept
* lfrfid: raw file helper
* lfrfid: changed raw worker api
* lfrfid: packed varint pair
* lfrfid: read stream speedup
* lfrfid app: show read mode
* Documentation
* lfrfid app: raw read gui
* lfrfid app: storage check for raw read
* memleak fix
* review fixes
* lfrfid app: read blink color
* lfrfid app: reset key name after read
* review fixes
* lfrfid app: fix copypasted text
* review fixes
* lfrfid: disable debug gpio
* lfrfid: card detection events
* lfrfid: change validation color from magenta to green
* Update core_defines.
* lfrfid: prefix fdx-b id by zeroes
* lfrfid: parse up to 43-bit HID Proximity keys (#1640 )
* Fbt: downgrade toolchain and fix PS1
* lfrfid: fix unit tests
* lfrfid app: remove printf
* lfrfid: indala26, use bit 55 as data
* lfrfid: indala26, better brief format
* lfrfid: indala26, loading fallback
* lfrfid: read timing tuning
Co-authored-by: James Ide <ide@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-24 00:57:39 +09:00
Max Andreev
a7a9c38036
Amap and PVS Studio reports in CI/CD ( #1526 )
2022-08-23 20:29:26 +09:00
MX
56907f0c9f
Merge branch 'fz-dev' into dev
2022-08-23 11:11:11 +03:00
Lesha Lomalkin
4e1470cef2
slideshow.py: add return code on error ( #1636 )
...
* slideshow.py: add return code on error
* Scripts: remove dead code
Co-authored-by: Lesha Lomalkin <info@lomalkin.ru>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-23 01:24:08 +09:00
MX
a928cb6ed7
add some checks for custom flipper name
...
and update audio ir asset by Amec0e
2022-08-16 09:43:21 +03:00
MX
a896aa4113
allow setting custom flipper name
...
serial & ble mac generated from custom name (if set), CI support added too
2022-08-14 05:34:54 +03:00
MX
686786bb2f
Merge branch 'fz-dev' into dev
2022-08-13 17:49:38 +03: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
MX
250674925b
Merge branch 'fz-dev' into dev
2022-08-12 16:52:25 +03:00
Yukai Li
1db7632041
fbt: clear PYTHONPATH in env setup ( #1585 )
2022-08-12 12:01:25 +03:00
MX
13465ef41d
Merged latest OFW changes
2022-08-12 05:18:27 +03:00
あく
e0b184c057
Scripts: add new region to otp generator ( #1582 )
2022-08-12 01:10:50 +09:00
MX
5541535904
allow using link from env
2022-08-02 19:31:46 +03:00
MX
aa40f428a5
Merge branch 'fz-dev' into dev
2022-08-02 19:27:01 +03:00
Max Andreev
93a4b9c4a9
[FL-2649] Drop Docker in CI/CD ( #1412 )
...
* enable sparseCheckout, moving github actions from docker to raw shell
* fix missing known_hosts while setting ssh priv key
* fix build.yml
* add ssh key to upload just in time
* fixing rsync syntax
* fix build.yml
* try to fix build.yml again
* testing rsync
* test rsync again
* add linters
* add Black Python linter to submodules
* add Black submodule
* add working python linter target, dirty file list
* up toolchain to version 4
* up toolchain to ver 5
* up toolchain version to 6
* fbt: using black 22.6.0
* remove Black submodule, up toolchain to ver 7
* fbt: added lint_py, format_py targets
* add pvs_studio workflow
* fix pvs_studio segfault
* fix pvs_studio command
* fix pvs_studio command 2
* show env before run pvs_studio
* try to debug pvs_studio
* try to strace pvs_studio..
* Add FBT_TOOLCHAIN_PATH, MacOS Rosseta check, and ignore non-x86_64 linux architectures
* prevent redownloading toolchain on github-runners
* fix toolchain download exitcode
* add strace to debug pvs_studio segfault
* disable strace to catch full code dump
* Add './fbt cli' target to access Flipper CLI via PySerial
* remove pvs_studio from this PR
* removing clang-format from toolchain due errors
* make source easy, and fix some mistakes found by @hedger
* Add check_submodules workflow, some fixes
* fixing mistakes
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-08-02 23:05:31 +09:00
hedger
a1637e9216
fbt fixes & improvements ( #1490 )
...
* fbt: minimal USB flash mode; scripts: faster storage.py with larger chunks
* fbt: fixed creation of temporary file nodes confusing scons
* docs: removed refs to --with-updater
* fbt: removed splashscreen from minimal update package
* fbt: renamed dist arguments for consistency
* docs: fixed updater_debug target
* fbt: separate target for generating compilation_database.json without building the code.
* fbt: added `jflash` target for programming over JLink probe; refactored usb flashing targets
* fbt: building updater_app in unit_tests configuration
* fbt: fixed reset behavior after flashing with J-Link
* fbt: generating .map file for firmware binary & external apps
* fbt/core: moved library contents before apps code
Co-authored-by: あく <alleteam@gmail.com>
2022-08-02 22:46:43 +09:00
Eng1n33r
2c0dcc808d
Merge branch 'fz-dev' into dev
2022-07-26 15:52:19 +03:00
hedger
3fa5e18c5a
[FL-2692, FL-2604, FL-2632] New first start sequence ( #1456 )
...
* desktop: restored automatic power off & manual power off on slideshow view; assets: added frames for new first start sequence; docs: added info on slideshow compilation
* desktop: restarting long timer on OK button release
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:44:03 +09:00
Eng1n33r
ee5e39240b
Merge branch 'fz-dev' into dev
2022-07-26 01:08:36 +03:00
Szymon Lisowiec
27b698f081
fbt: Fixed build for users with space in username ( #1437 )
...
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-07-26 00:31:34 +03:00
Eng1n33r
569a26935a
Merge branch 'flipperdevices:dev' into dev
2022-07-23 20:36:01 +03:00
Zoë Prosvetova
7c49f604f9
Fix toolchain typos ( #1435 )
2022-07-24 02:33:39 +10:00
Eng1n33r
4584e7bc8d
use custom url in builds
2022-07-20 21:25:02 +03:00
Eng1n33r
ad970c6c6d
Merge branch 'fz-dev' into dev
2022-07-20 16:28:48 +03:00
adisbladis
ec57dd310a
fbt: Respect SOURCE_DATE_EPOCH when setting build date ( #1421 )
...
* fbt: using SOURCE_DATE_EPOCH from environment for build timestamp (if set)
Co-authored-by: hedger <hedger@users.noreply.github.com>
2022-07-20 15:48:10 +03:00
Eng1n33r
521db5dc0d
Merge branch 'fz-dev' into dev
2022-07-14 20:24:33 +03:00
Max Andreev
fd498bdfcf
[FL-2554] Embedded arm-none-eabi toolchain ( #1351 )
2022-07-15 01:24:26 +09:00
Eng1n33r
41341658dd
Merge branch 'fz-dev' into dev
2022-07-04 21:57:40 +03:00
hedger
b95cd2df14
[FL-2578] Updater fixes related to /int handling ( #1359 )
...
* Updater fixes related to /int handling
updater: performing factory reset on update, checking for LFS free space before updating, fixed improper error handling on backup/restore operations, rebalanced update stage weights for better progress visuals
scripts: added CLI output validation for selfupdate.py
storage: added pointer validation in storage_int_common_fs_info
desktop: fixed crash on rendering invalid slideshows
* Typo fix
* rpc: Updated protobuf to 0.9
* rpc: removed updater status conversion
Co-authored-by: あく <alleteam@gmail.com>
2022-07-04 22:36:12 +09:00
Eng1n33r
5b4e7f8dd1
tc versioning from brunkbatya branch
2022-07-02 17:03:48 +03:00
Eng1n33r
89e077125b
windows toolchain from ofw
...
https://github.com/flipperdevices/flipperzero-firmware/pull/1351
2022-07-02 02:31:16 +03:00
Eng1n33r
e8c392c60a
Merge remote-tracking branch 'flipperdevices/dev' into dev
2022-07-01 01:52:45 +03:00
hedger
b3767d143f
fbt: fixes ( #1352 )
...
* fbt: added --git-tasks; fixed typos
* fbt: fixed --extra-int-apps handling; scripts: moved storage.py & selfupdate.py to App() framework
* fbt: changed pseudo-builders to PhonyTargets with commands; added link to latest build dir as build/latest
* fbt: Restored old ep git handling
* fbt: dropped git tasks & dirlink.py
* fbt: removed extra quoting in fbt.cmd
* docs: added flash_usb to ReadMe.md
Co-authored-by: あく <alleteam@gmail.com>
2022-07-01 01:06:12 +09:00
Eng1n33r
b2f6cd0b34
Merge branch 'flipperdevices:dev' into dev
2022-06-28 16:06:11 +03:00