HexPandaa
4c499d9045
Fix directory name in lib readme ( #1528 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 02:13:06 +09:00
Fedor Indutny
3ee93e1a82
nfc: make dict attack more interactive ( #1462 )
...
* nfc: deduplify dict attack worker code
* nfc: make dict attack more interactive
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 02:07:35 +09:00
Ryan Murphy
284c56718b
NFC: Edit UID feature ( #1513 )
...
* Added option to edit UID in saved NFC files
* Fixed bug with saved filename
* Only show for data that can't be read
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 02:00:17 +09: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
hedger
6499597586
vscode: initial development configuration ( #1520 )
...
* vscode: initial development configuration; fbt: `vscode_dist` target for deploying vscode config
* vscode: fixed fbt blackmagic command
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:32:31 +09:00
Žiga Deisinger
51f5641c5e
FIX: Fixed inconsistencies between texts ( #1496 )
...
* FIX: Fixed inconsistencies between texts: I have changed inconsistencies. Sometimes there was a missing capital letter and sometimes there was dot instead of exclamation mark and so on. No other changes were made. I have made the correction based on how other text looks on Fliper and for headers most texts use Pascal Case.
* FIX: Fixed inconsistencies between texts: Found 2 more texts with inconsistencies.
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 01:18:48 +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
SG
eed4296890
MPU Hal ( #1492 )
...
* Furi HAL: memory protection unit
* Core: prohibit NULL dereferencing, even for reads.
* Applications: fix NULL dereference
* Core: stack protection by MPU
* MPU: stack region alignment
* Apps: fix null pointer dereferences
* Threads: fix non-null arg check
* Desktop settings: fix null pointer dereference
* Core: documented null-check hack
* Fix null dereference issues
* Apps: args check
* Core: naming fixes
* format code
* Core: remove NONNULL specifier
* FurHal: move MPU initialization to begining, fix enum naming
Co-authored-by: あく <alleteam@gmail.com>
2022-08-04 00:47:10 +09:00
SG
4a6477aaa8
Core, logs: removed tag concatenation ( #1524 )
...
* Core, logs: removed tag concatenation
* Logs: remove unused fn
* Logs: remove allocation
2022-08-03 21:01:38 +09: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
hedger
1e732830ec
ci: check for uncommited changes after build ( #1461 )
...
* ci: check for uncommited changes after build
* assets: updated Manifest to match sources
* ci: simplified uncommited files check
* resources: Updated Manifest
* fbt: always rebuild manifest
Co-authored-by: あく <alleteam@gmail.com>
2022-08-02 22:29:16 +09: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
あく
f9745b4141
[FL-2705] App RPC Bug Fixes and redesign ( #1491 )
...
* Rpc: remove callback timer
* Rpc: simplify rpc event callback
* Rpc: migrate to new confirmation schema
* Rpc: migrate to new confirmation schema part2: finalize ibutton and rfid
* Rpc: migrate to new confirmation schema part3: finallize nfc and fix id in load
* Rpc: hardened sequencing check
* Rpc: migrate to new confirmation schema part4: finalize subghz
* iButton: properly handle exit
* Nfc: correct sequence for rpc exit send
* Rpc: fix review issues and nfc exit message
* Rpc: more logging and condition race fix in confirmation
* Rpc: migrate to new confirmation schema part5: finalize infrared
* Rpc: more logging
2022-08-02 22:54:12 +10:00
SG
f9386b2649
Assets: unused assets removed ( #1514 )
2022-08-02 14:24:42 +03:00
Skorpionm
4da6eba395
[FL-2706, FL-2709] SubGhz: checking saved key files for length ( #1485 )
...
* [FL-2706] SubGhz: checking saved key files for length
* SubGhz: fix RAW file upload error
* [FL-2709] GubGhz: RAW screen fix
Co-authored-by: あく <alleteam@gmail.com>
2022-08-01 21:24:21 +09:00
hedger
84550d5878
[FL-2654] Updater: retrying pre-boot SD card mount multiple times ( #1402 )
...
* Updater: retrying pre-boot SD card mount multiple times
* Updater: added delay before retrying SD card mount on early boot
Co-authored-by: あく <alleteam@gmail.com>
2022-07-31 08:48:55 +09:00
MX
712a48b5db
Fix typo in subghz ( #1467 )
...
* fix typo across subghz
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-31 08:34:38 +09:00
Anna Prosvetova
4c39dcbe0c
☦️ Rpc: fix backup commands responses ( #1502 )
2022-07-31 08:14:16 +09:00
gornekich
c40e8811d6
[FL-2701], [FL-2702], [FL-2699] NFC fixes ( #1478 )
...
* nfc: change read scene views
* nfc: rework return after save success
* nfc: add fallback to read UID of unrecognized iso14443-3
* nfc: show mifare desfire on read success
* nfc: add restore original confirm scene
* nfc: fix icon name
* nfc: clear 6 bit in SAK to emulate 14443-4 uids
* nfc: don't change original sak
2022-07-28 21:34:28 +09:00
TQMatvey
b6e52e979d
Infrared.c: Dont Close GUI 2 times ( #1477 )
...
GUI was being closed 2 times upon exit, this PR fixes that by removing 1 of those cases
2022-07-28 12:48:45 +03:00
gornekich
c777206065
NFC: fix navigation from menu scenes #1459
2022-07-27 02:28:37 +09:00
hedger
80a7de8078
updater: fixed dolphin level not being migrated ( #1458 )
2022-07-27 02:13:09 +09:00
gornekich
9c59bcd776
[FL-2605] NFC new design ( #1364 )
...
* nfc: add new read scene
* lib: refactore nfc library
* mifare desfire: add read card fuction
* lib nfc: add auto read worker
* nfc: add supported cards
* nfc: add mifare classic read success scene
* nfc: add troyka support
* submodule: update protobuf
* nfc: mifare classic keys cache
* nfc: rework mifare classic key cache
* Correct spelling
* nfc: add user dictionary
* nfc: introduce block read map in fff
* nfc: rework dict attack
* nfc: improve dict attack
* nfc: rework mifare classic format
* nfc: rework MFC read with Reader
* nfc: add gui for MFC read success scene
* nfc: fix dict attack view gui
* nfc: add retry and exit confirm scenes
* nfc: add retry and exit scenes navigation
* nfc: check user dictionary
* nfc: remove unused scenes
* nfc: rename functions in nfc worker
* nfc: rename mf_classic_dict_attack -> dict_attack
* nfc: change scenes names
* nfc: remove scene tick events
* nfc: rework dict calls with buffer streams
* nfc: fix notifications
* nfc: fix mf desfire navigation
* nfc: remove notification from mf classic read success
* nfc: fix read sectors calculation
* nfc: add fallback for unknown card
* nfc: show file name while emulating
* nfc: fix build
* nfc: fix memory leak
* nfc: fix desfire read
* nfc: add no dict found navigation
* nfc: add read views
* nfc: update card fix
* nfc: fix access bytes save
* nfc: add exit and retry confirm to mf ultralight read success
* nfc: introduce detect reader
* nfc: change record open arg to macros
* nfc: fix start from archive
Co-authored-by: Astra <astra@astrra.space>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-27 00:30:49 +09:00
Skorpionm
ec19c11dbe
[FL-2669] SubGhz: add support for loading custom presets ( #1398 )
...
* SubGhz: load custom -preset
* SubGhz: fix error prt=0
* SubGhz: load custom preset
* SubGhz: code refactoring to support custom preset
* SubGhz: add custom presert refactoring
* SubGhz: fix alloc history alloc preset
* SubGhz: fix error load file
* SubGhz: fix start custom preset
* SubGhz: fix delete custom preset
* SubGhz: add description Custom_preset_data for CC1101
* SubGhz: debug logging and buffer size rounding
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
2022-07-26 23:16:59 +09:00
Skorpionm
ed7db336c1
[FL-2684, FL-2685] bugfix subghz ( #1446 )
...
* [FL-2684] SubGhz: fix incorrect CAME TWICE protocol definition
* [FL-2685] SubGhz: fix the recorded RAW signal is deleted when trying to transmit on a prohibited frequency
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 21:58:07 +09: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
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
Georgii Surkov
52a83fc929
[FL-2688] Fix incorrect remote renaming behaviour #1455
2022-07-26 20:46:14 +09:00
TijnMertens
05b816429c
Minor grammar and typo fix ( #1454 )
2022-07-26 12:13:04 +03:00
MX
e03b102af2
Fix git submodules update called anyways ( #1450 )
...
Ignoring FBT_NO_SYNC
2022-07-26 02:09:04 +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
AlexeyOplachko
d085af31c3
Fixing a typo in Bug Report Issue Template ( #1449 )
2022-07-25 23:34:49 +03:00
Eric Betts
cd77b93f26
Picopass: dump full card, extract some details ( #1408 )
...
* Dump entire picopass card
* Capture more iClass details
* facility code bugfix
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 00:36:38 +09:00
Yukai Li
f8e0ec42c5
nfc: NTAG203 support ( #1383 )
...
* nfc: Fix original MFUL feature flags
* nfc: Add NTAG203 read support
* nfc: Update emulation lock byte handling for NTAG203
* nfc: Add NTAG203 counter emulation support
* nfc: Add NTAG203 tag generator
* nfc: Fix NTAG203 emulating GET_VERSION
* nfc: Fix MFUL version reading
* nfc: Complete NTAG203 counter emulation behavior
* nfc: Complete NTAG203 emulation
* nfc: Remove unnecessary init in MFUL emulation
* nfc: Add notes about MFUL type enum
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-26 00:21:05 +09:00
Nikolay Minaylov
30820b83b5
[FL-2464, FL-2466] RFID, ibutton text fix #1413
...
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 23:46:42 +09:00
Wyatt Neal
ac60d1808a
fixing typos, satus -> status ( #1422 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 23:35:02 +09:00
Nikolay Minaylov
d80edba891
RPC App: state message and GUI update ( #1423 )
...
* RPC App: state message and GUI update
* Protobuf submodule update
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 23:16:45 +09:00
Kowlin
f1cb95655c
Port over Issue templates to new YML format ( #1433 )
...
* WIP Push
* Add feature request label to template
* Punctuation helps
* rename feature request and add in enhancement
* wording
* Add in extra markdown explanations
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 22:11:24 +09:00
Nikolay Minaylov
f5d6a8084b
[FL-2668] GUI message screens update #1428
...
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 21:11:34 +09:00
Ruben van Baarle
3ee592cae7
Fix SubGHz chat immediately closing #1440
...
It's just an if condition which should've been inverted
Co-authored-by: あく <alleteam@gmail.com>
2022-07-25 20:48:06 +09:00
Georgii Surkov
c22d66590e
[FL-2682] Allow spaces in file names #1444
2022-07-25 20:23:47 +09:00
Zoë Prosvetova
7c49f604f9
Fix toolchain typos ( #1435 )
2022-07-24 02:33:39 +10:00
ESurge
253b98c8f0
Added condition to cli "log" command to end if serial terminal is disconnected. ( #1425 )
...
* Added condition to cli "log" command. If USB is disconnected while "log" command is running, it will end the command.
* Reverted change on cli_commands.c
Added condition in cli.c for cli_cmd_interrupt_received function to react appropriately when serial terminal is disconnected.
Added condition in subghz_cli.c for subghz chat cmd to exit gracefully when serial terminal is disconnected.
* Formatting
Co-authored-by: あく <alleteam@gmail.com>
2022-07-23 12:35:14 +09: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
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
あく
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
Dom
f9c2287ea7
Update ReadMe.md ( #1409 )
...
- Minor correction in grammar for ReadMe.
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 19:09:47 +09:00
t0m1o1
73711c75e6
Update bad_usb_script.c to fix incorrect ALT key const #1406
...
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 18:56:47 +09:00
Skorpionm
e7c3da1da9
[FL-2658, FL-2657] SubGhz: add new protocol (IronLogic, Comunello, Sommer(fsk476), Normstahl, KEY, EcoStar, Gibidi, Mutancode) ( #1404 )
...
* Subghz: fix cli no load keeloq_mfcodes_user
* SubGhz: add new protocol (IronLogic, Comunello, Sommer(fsk476), Normstahl, KEY, EcoStar, Gibidi, Mutancode)
* SubGhz: fix syntax
* SubGhz: fix error build
Co-authored-by: あく <alleteam@gmail.com>
2022-07-17 18:45:21 +09:00