MX
87393a086c
fix rfid fuzzer crashes, some new random names
2022-09-21 08:43:07 +03:00
MX
51ffdcd3bc
update api, add icons, fix picopass again
2022-09-15 01:14:55 +03:00
hedger
d47fdce337
updater: fixed failing backups on /int with empty files in it
2022-09-14 21:04:46 +03:00
MX
3fbaad1488
Merge branch 'fz-dev' into dev
2022-09-14 21:04:04 +03:00
SG
873e1f114b
[FL-2627] Flipper applications: SDK, build and debug system ( #1387 )
2022-09-15 01:11:38 +09:00
MX
5272b81ae6
Merge branch 'fz-dev' into dev
2022-08-30 11:42:39 +03:00
Sebastian Mauer
1350dcaf63
Add support for PAC/Stanley tags ( #1648 )
...
* Add support for PAC/Stanley tags
* Address review comments
2022-08-30 01:04:17 +10: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
MX
56907f0c9f
Merge branch 'fz-dev' into dev
2022-08-23 11:11:11 +03:00
hedger
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
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
db430214e2
Return storage fixes OFW PR 1563
...
This reverts commit b2bd1353a9
.
2022-08-12 00:53:52 +03:00
MX
b2bd1353a9
Temporary drop storage fixes OFW PR #1563
2022-08-10 16:53:54 +03:00
MX
338871cb2b
Merge branch 'fz-dev' into dev
2022-08-09 21:39:35 +03:00
hedger
1d50a5981e
[FL-2059] Storage fixes for handling empty files ( #1563 )
...
* storage: fixed handling of zero-length files
* docs: added ReadMe.md for vscode workspace
* rpc: storage: improved empty file & error handling in write handler
* docs: markdown fix
* docs: typo fixes
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-10 00:57:11 +09:00
Peter Seprus
f3d7d7dba0
Extend random name generator ( #1551 )
...
* Extend random name generator
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
2022-08-08 00:28:04 +09:00
MX
81be4dfe13
Merge branch 'fz-dev' into dev
2022-08-03 21:09:13 +03:00
Georgii Surkov
135fbd294b
[FL-2693] RW buffered streams ( #1523 )
...
* Add write methods for stream cache
* Fix logical error
* Implement write cache for buffered file streams
* Minor code refactoring
* Less ugly code
* Better read() implementation
* Intermediate implementation
* Fix logical error
* Code cleanup
* Update FFF comments
* Fix logical error
* Github: rsync with delete
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:43:14 +09:00
SG
bc34689ed6
Make printf great again ( #1438 )
...
* Printf lib: wrap *printf* functions
* Printf lib, FW: drop sprintf. Dolphin: dump timestamp as is, wo asctime.
* FW: remove sniprintf, wrap assert functions
* Printf lib: wrap putc, puts, putchar
* Printf: a working but not thread-safe concept.
* Poorly wrap fflush
* stdglue: buffers
* Core: thread local buffers
* Core: move stdglue to thread api, add ability to get FuriThread instance of current thread.
* RPC tests: replace sprintf with snprintf
* Applications: use new stdout api
* Printf lib: wrap more printf-like and stdout functions
* Documentation
* Apps: snprintf size fixes
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:00:17 +09:00
MX
aa40f428a5
Merge branch 'fz-dev' into dev
2022-08-02 19:27:01 +03:00
Georgii Surkov
01afb289c0
[FL-2713] Buffered file streams fix ( #1515 )
...
* Fix incorrect buffered stream behaviour
* Add specific tests
* Make the test fail on wrong behaviour
* Better names
Co-authored-by: あく <alleteam@gmail.com>
2022-08-02 22:17:37 +09:00
Eng1n33r
2c0dcc808d
Merge branch 'fz-dev' into dev
2022-07-26 15:52:19 +03:00
hedger
056446dfed
[FL-2675] /int space reservation ( #1448 )
...
* storage: added global #defines for /int, /ext & /any
* storage: introduced PATH_EXT, PATH_INT& PATH_ANY macros
* core apps: moved hardcoded config files names to separate headers; prefixed them with "."; updater: added file name migration to new naming convention on backup extraction
* storage: fixed storage_merge_recursive handling of complex directory structures; storage_move_to_sd: changed data migration logic to all non-dot files & all folders
* core: added macro aliases for core record names
* Bumped protobuf commit pointer
* storage: reserved 5 pages in /int; denying write&creation of non-dot files when running out of free space
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:21:51 +09:00
Eng1n33r
15d5a0c1f2
Merge branch 'fz-dev' into dev
2022-07-25 19:46:29 +03:00
Georgii Surkov
c22d66590e
[FL-2682] Allow spaces in file names #1444
2022-07-25 20:23:47 +09:00
Eng1n33r
087c66c8e4
Merge branch 'flipperdevices:dev' into dev
2022-07-22 20:22:15 +03:00
Georgii Surkov
16e598b2c0
[FL-2655, FL-2650] Buffered file streams ( #1424 )
...
* Initial buffered file stream implementation
* Fix logical errors
* Fix more logical errors
* Minimally working implementation
* Adapt infrared unit tests for buffered streams
* Increase read buffer size from 512 to 1K
* Correct naming and formatting
* More code improvements
* Allow passing access and open modes for buffered streams
* Implement tests for buffered streams
* Better file and method names
* Add comments and correct formatting
* Use buffered streams in Infrared
* Fix compilation error
2022-07-23 01:00:25 +09:00
Eng1n33r
ad970c6c6d
Merge branch 'fz-dev' into dev
2022-07-20 16:28:48 +03:00
あく
e3c7201a20
Furi: core refactoring and CMSIS removal part 2 ( #1410 )
...
* Furi: rename and move core
* Furi: drop CMSIS_OS header and unused api, partially refactor and cleanup the rest
* Furi: CMSIS_OS drop and refactoring.
* Furi: refactoring, remove cmsis legacy
* Furi: fix incorrect assert on queue deallocation, cleanup timer
* Furi: improve delay api, get rid of floats
* hal: dropped furi_hal_crc
* Furi: move DWT based delay to cortex HAL
* Furi: update core documentation
Co-authored-by: hedger <hedger@nanode.su>
2022-07-20 13:56:33 +03:00
Eng1n33r
1c55a55ddd
adaptation to the new build system + fixes
2022-06-26 20:57:29 +03:00
Eng1n33r
aaeede7793
Merge branch 'fz-dev' into dev
2022-06-26 15:16:32 +03:00
hedger
f3b1475ede
[FL-2052] New build system based on scons ( #1269 )
2022-06-26 21:00:03 +09:00
Eng1n33r
767f7ff92e
code formatted
2022-06-24 13:01:41 +03:00
Eng1n33r
6314272a71
Merge branch 'flipperdevices:dev' into dev
2022-06-09 15:03:18 +03:00
Nikolay Minaylov
41cf421234
[FL-2565] Archive: switch to browser worker #1295
2022-06-09 16:09:52 +09:00
Eng1n33r
22cbe276a8
big merge with fz main repo
2022-06-01 16:07:53 +03:00
r3df0xx
b23b3c9e8d
Revert "fetch big commit from upstream"
...
This reverts commit 6634999113
.
2022-05-27 22:18:35 +03:00
r3df0xx
6634999113
fetch big commit from upstream
2022-05-27 22:12:40 +03:00
r3df0xx
cf714d3e66
Revert "Fetch upstream dev changes"
...
This reverts commit 6e88e33171
, reversing
changes made to 580fe77fb7
.
2022-05-27 17:14:43 +03:00
r3df0xx
6e88e33171
Fetch upstream dev changes
2022-05-27 16:49:52 +03:00
Nikolay Minaylov
79920a3522
[FL-2491] File browser GUI module ( #1237 )
...
* File browser module and test app
* nfc: Add support for saved files in subdirectories
* nfc: Use helper function to get shadow path when loading data
* File browser dialog integration pt.1
* File browser dialog integration pt.2
* Gui,Dialogs: drop file select
* Correct use of dynamic string_t(string_ptr)
Co-authored-by: Yukai Li <yukaili.geek@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-27 14:19:21 +03:00
r3df0xx
17818f3c42
Merge remote-tracking branch 'upstream/dev' into dev
2022-05-24 20:29:48 +03:00
gornekich
d31578508a
[FL-2245] Introduce Mifare Classic Emulation ( #1242 )
...
* digital signal: introduce digital signal
* nfca: add nfca signal encoder
* nfc: add mifare classic emulation scene
* nfca: add classic emulation support to lib and hal
* mifare classic: support basic read commands
* nfc: add mifare classic menu scene
* mifare classic: start parsing commands in emulation
* mifare classic: add nested auth
* nfc: fix errors
* mifare classic: add encrypt function
* nfc: fix mifare classic save
* lib hex: add hex uint64_t ASCII parser
* flipper format: add uint64 hex format support
* nfc: add mifare classic key map
* nfc: hide mifare classic keys on emulation
* mifare classic: add NACK responce
* nfc: add partial bytes support in transparent mode
* nfc: mifare classic add shadow file support
* digital signal: move arr buffer from BSS to heap
* mifare classic: process access bits more careful
* nfca: fix memory leack
* nfc: format sources
* mifare classic: cleun up
Co-authored-by: あく <alleteam@gmail.com>
2022-05-24 17:00:15 +03:00
r3df0xx
7fbf49d377
plugins
2022-05-17 15:54:09 +03:00
SG
fac4391af7
[FL-2499] Folders rename fix ( #1190 )
...
* Toolbox: dir_walk concept (like os.walk)
* Storage CLI: tree command
* Storage: fix folders copying, stage 1
* UnitTest: proper delays in subghz tests
* Toolbox: dir_walk, recursive and filter options
* dir_walk: unit tests
* Merge: Fix unused param
* SubGhz: cleaned up data parsing routine
* SubGhz unit test: cleaned up logs, yield data load
* SubGhz unit test: naming
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-10 17:05:36 +03:00
hedger
4d6b170769
[FL-2520] FW build with -Wextra ( #1185 )
...
* Fixing compiler warnings with -Wextra
* More warnings suppression, WIP
* Even more warning fixes
* Added new lines at end of text files.
* Padding fix
* Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline
* Fixes for Secplus v1
* -additional warnings
* +-Wredundant-decls fixes
* FuriHal: print stack overflow task name in console
* FuriHal: add missing include
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-05-06 16:37:10 +03:00
hedger
fe254d469f
[FL-2510] Fixed BT startup while backing up LFS ( #1180 )
...
* Waiting for dummy BT record on LFS ops; cleaner retry for backup file open
* Fixed files not being closed on failed open
2022-04-28 19:05:37 +03:00
SG
c60562a02c
[FL-2502] Properly closing directory on free ( #1174 )
...
* Storage: better (at least working) mechanism to distinguish between files and dirs
* Storage API: debug log
* TarArchive: fix stream memleak
* TarArchive: fix another memleak
* Storage: better logs
* Storage: changed the log level to trace
Co-authored-by: あく <alleteam@gmail.com>
2022-04-27 19:16:06 +03:00
hedger
7ce305fca3
[FL-2269] Core2 OTA ( #1144 )
...
* C2OTA: wip
* Update Cube to 1.13.3
* Fixed prio
* Functional Core2 updater
* Removed hardware CRC usage; code cleanup & linter fixes
* Moved hardcoded stack params to copro.mk
* Fixing CI bundling of core2 fw
* Removed last traces of hardcoded radio stack
* OB processing draft
* Python scripts cleanup
* Support for comments in ob data
* Sacrificed SD card icon in favor of faster update. Waiting for Storage fix
* Additional handling for OB mismatched values
* Description for new furi_hal apis; spelling fixes
* Rework of OB write, WIP
* Properly restarting OB verification loop
* Split update_task_workers.c
* Checking OBs after enabling post-update mode
* Moved OB verification before flashing
* Removed ob.data for custom stacks
* Fixed progress calculation for OB
* Removed unnecessary OB mask cast
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-04-27 18:53:48 +03:00