MX
13465ef41d
Merged latest OFW changes
2022-08-12 05:18:27 +03:00
MX
338871cb2b
Merge branch 'fz-dev' into dev
2022-08-09 21:39:35 +03:00
Astra
01eb92db06
Mifare Classic emulation fixes ( #1566 )
...
* Add fix for field
* More small bugfixes
* Clean up
2022-08-10 01:45:52 +10:00
MX
4bbec63f87
removing MPU Hal - details in desc
...
since it impossible for me to debug NULL pointer dereference without flipper, blind developing went to its end
2022-08-06 05:35:14 +03:00
MX
04ceebc032
Revert "Revert "MPU Hal ( #1492 )""
...
This reverts commit 43345ba0bb
.
2022-08-04 18:43:47 +03:00
MX
43345ba0bb
Revert "MPU Hal ( #1492 )"
...
This reverts commit eed4296890
.
2022-08-04 05:02:23 +03:00
MX
81be4dfe13
Merge branch 'fz-dev' into dev
2022-08-03 21:09:13 +03:00
MX
14f2b4f2f0
new badusb layout loading from microsd
...
by rien > dummy-decoy
2022-08-03 20:20:49 +03: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
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
MX
53e60cc8e8
subghz frequency range updates
2022-08-03 00:32:55 +03:00
MX
aa40f428a5
Merge branch 'fz-dev' into dev
2022-08-02 19:27:01 +03: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
MX
a74262cef2
update unirf / other fixes
2022-08-01 23:20:04 +03:00
MX
f80da7e06c
Merge branch 'fz-dev' into dev
2022-07-31 03:55:41 +03: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
f4cc9e5de7
plugins & badusb
...
if author want their plugin to be removed - create issue, thanks
2022-07-29 17:48:51 +03:00
Eng1n33r
acd5430c21
Merge branch 'fz-dev' into dev
2022-07-26 21:09:31 +03: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
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
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
e39b1c37e5
Merge branch 'fz-dev' into dev
2022-07-12 18:51:45 +03:00
gornekich
f707aa92bb
nfc: fix exit after emulation ( #1385 )
2022-07-12 23:56:56 +09:00
Eng1n33r
c942a95963
Merge branch 'flipperdevices:dev' into dev
2022-07-08 15:54:00 +03:00
Michael Marcucci
6b3625f46b
Bluetooth Remote Additions ( #1330 )
...
* Update the HID Keycodes to pull from the library
* Composite BLE Report Map, add consumer & mouse HID
* Add Mouse & keyboard bt remote, fixed media remote
* BT Keyboard remove long press shift
* Fix usb hid modifier keys
* Fixed misaligned bad usb keys
* Fix keyboard app keys
* Partial fix for bt app and linux
* Update to work across platforms
* Fix for report ids
* BtHidApp: move variable from bss to model, cleanup naming.
* FuriHal: add const to immutable data declaration
Co-authored-by: あく <alleteam@gmail.com>
2022-07-08 21:36:34 +09:00
Eng1n33r
41341658dd
Merge branch 'fz-dev' into dev
2022-07-04 21:57:40 +03:00
あく
c495677eb5
FuriHal: RTC recovery routine and ext3v3 enabled on start ( #1357 )
...
* FuriHal: leave ext3v3 enabled on start
* FuriHal: RTC recovery routine, cleanup resources
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-07-05 00:26:02 +10:00
Eng1n33r
cba5cb745c
Merge remote-tracking branch 'flipperdevices/dev' into dev
2022-07-03 21:04:15 +03:00
gornekich
5769595e67
NFC emulation software tunning ( #1341 )
...
* digital_signal: optimize calculationxx
* firmware: add listen start and listen rx
* digital signal: rework with fixed point calculation
* nfc: tune timings
* nfc: fix array overflow
* mifare classic: fix key access
* nfc: rework spi bus access
* nfc: rework listen mode with st25r3916 calls
* digital signal: speed up digital_signal_append()
* digital signal: remove unused profiling
* nfc: clean up code
* nfc: correct sleep state
* nfc: add unit tests
* nfc: fix memory leak in unit test
* digital_signal: remove unused code
* nfc: fix incorrect sak load in pt memory
Co-authored-by: あく <alleteam@gmail.com>
2022-07-03 23:51:50 +09: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
c6a3b71db6
Merge branch 'fz-dev' into dev
2022-06-21 18:21:49 +03:00
Yukai Li
556af0b82b
nfc: NTAG21x complete emulation ( #1313 )
...
* nfc: Refactor Mifare Ultralight feature flags
Unify them in both reader and emulator to make handling easier
* nfc: Refactor MFUL PWD_AUTH and add AUTHLIM counter
* nfc: Add MFUL EV1 VCSL command emulation
* nfc: Enforce message size check in MFUL emulation
Also fix READ_CNT byte order, but it's not fully working
* nfc: Add MFUL auth counter serialization
Also fill counter on successful read from tag
* nfc: Fix MFUL INCR_CNT emulation
* nfc: Fix MFUL READ_CNT emulation
* nfc: Refactor MFUL emulation and implement full write support
* nfc: Fix Mifare Ultralight serialization
* nfc: Add MFUL OTP/CC handling
* nfc: Make sure MF0UL21 dynamic lock byte 3 also reads 0xBD
* nfc: Small MFUL refactor and fix CFGLCK behavior
* WIP: nfc: MFUL read support with ASCII mirror and auth roll-over
This is too complex and I don't like it
* nfc: Simplify MFUL read emulation, fix mirror range check
* nfc: Implement MFUL auth and ASCII mirror for FAST_READ
* nfc: Fix MFUL read roll-over with AUTH0 set
* nfc: Implement MFUL read counter increment
* nfc: Align ASCII mirror to NTAG21x behavior
* nfc: Handle invalid command in MFUL emulation
* nfc: Fix MFUL static lock check
* nfc: Refactor MFUL emulation to use cached config pages
* nfc: Refactor MFUL auth counter to count up instead of down
* nfc: Add missing NULL check
* WIP: nfc: Various MFUL emulation behavior tweaks
* WIP: nfc: More MFUL emulation behavior adjustments
* nfc: Match AUTHLIM emulation to NTAG21x behavior
* nfc: Fix MFUL dynamic lock emulation
* nfc: Fix typo in MFUL read counters
* nfc: Fix typo in MFUL FAST_READ emulation
* nfc: Increase emulation TX buffer size
Enough space for if someone requests FAST_READ of all pages of an NTAG
* nfc: Fix MFUL negative verification counter overflow
* nfc: Change auth counter kv name
* nfc: Fix NTAG I2C FAST_READ emulation
* nfc: Fix NTAG21x config reload behavior
Co-authored-by: あく <alleteam@gmail.com>
2022-06-22 00:04:35 +09:00
Eng1n33r
79f216ec48
Merge branch 'flipperdevices:dev' into dev
2022-06-20 18:58:48 +03:00
あく
839e52ac32
[FL-2591] Furi: remove CMSIS thread api, migrate to FuriThread, remove unused CMSIS APIs ( #1333 )
...
* Furi: remove CMSIS thread api, migrate to FuriThread, remove unused CMSIS APIs
* Furi: magic thread catcher validating thread completion; backtrace improver
* Furi: allow furi_thread_get_current_id outside of thread context
* Furi: use IRQ instead of ISR for core primitives
2022-06-20 18:54:48 +04:00
r3df0xx
522c0275b1
few improvements
...
Remove unused sub-ghz AU patable, remove Atomo excess code, add seed value show on KeeLoq screen.
2022-06-14 21:39:42 +03:00
r3df0xx
77996242d6
Update furi_hal_subghz_configs.h
2022-06-14 05:39:45 +03:00
r3df0xx
426de26be3
merge latest dev properly
2022-06-14 05:32:03 +03:00
r3df0xx
43c6710d4f
Update furi_hal_subghz.c
2022-06-14 05:30:51 +03:00
r3df0xx
a2093d75e3
Update furi_hal_subghz.c
2022-06-14 05:29:02 +03:00
r3df0xx
e47f79dd33
Update furi_hal_subghz.c
2022-06-14 05:22:17 +03:00
あく
fb4d4011f4
SubGhz: allow refill attempt at the end of transmission ( #1314 )
2022-06-14 11:27:03 +10:00
あく
b2132b2ec7
Nfc: async pcap worker ( #1315 )
...
* Nfc: async pcap worker
* nfc: add pcap save to classic emulation
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-06-14 11:14:13 +10:00
Eng1n33r
6314272a71
Merge branch 'flipperdevices:dev' into dev
2022-06-09 15:03:18 +03:00
あく
936a2f64b2
[FL-2580] FuriHal: add more supported radio stacks ( #1301 )
...
* FuriHal: add more supported radio stacks
* Bt: correct ble stack enum value
* Bt: update cli testing commands implementation
* Scripts: always emitting ob data to update manifest; added ob_custradio.data for non-light radio stacks
* Scripts: added stack type whitelist & disclaimer message
* ble: remove scanner
* ble: remove HCI and advances ble stacks support
* bt: correctly close RPC session before bt reinit
* Scripts: update bundler: estimating flash layout & refusing to build dangerous packages; app frame: not adding redundant log handlers
* Docs: additional details on bundling updates; fixed updater error codes
* Docs: wording fixes for OTA.md
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-06-09 18:07:42 +09:00
Kevin Wallace
9c9f66a30f
nfc: add debug PCAP output, refactor Mifare DESFire following #1095 ( #1294 )
...
* nfc: refactor nfc_worker_read_mifare_desfire to use furi_hal_nfc_tx_rx
Renames furi_hal_nfc_exchange_full to furi_hal_nfc_tx_rx_full, and
rewrites it to use furi_hal_nfc_tx_rx. This eliminates the final
remaining use of furi_hal_nfc_exchange, so remove that.
* nfc: write debug.pcap when debug mode enabled
Limited to NFC protocols that use furi_hal_nfc_tx_rx to communicate.
* switch to Doxygen style comment
Co-authored-by: Kevin Wallace <git+flipperzero@kevin.wallace.seattle.wa.us>
Co-authored-by: あく <alleteam@gmail.com>
2022-06-09 17:35:34 +09:00
Nikolay Minaylov
cfb1a0d01c
Hardware LED blinking ( #1303 )
...
* Hardware LED blinking notification messages
* Blink: fix crash on exit, reset blinking on exit
* Lib: remove unused UNUSED
Co-authored-by: あく <alleteam@gmail.com>
2022-06-09 16:33:46 +09:00