Willy-JL
2eaf1ffc95
New formatting
2024-07-15 22:32:17 +01:00
Willy-JL
02f7207d28
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-07-15 22:18:35 +01:00
hedger
ffa3996a5e
[FL-3867] Code formatting update ( #3765 )
...
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard: c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev
Co-authored-by: あく <alleteam@gmail.com >
2024-07-15 13:38:49 +09:00
Willy-JL
23da827361
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
2024-06-04 03:03:23 +01:00
hedger
03196fa110
cleanup of various warnings from clangd ( #3682 )
...
* cleanup of various warnings from clangs
* lfrfid_debug: cast fixes
* subghz: binraw: round->roundf
* furi: thread: updated internal stack size variable to size_t
* github: fail faster on unsuccessful build
* unit_tests: double trouble
2024-06-03 14:43:23 +01:00
HaxSam
2319475dd0
VGM/RPC: Rework custom colors, smoother config, better rainbow support ( #53 )
...
* first poc works
* rainbow mode now works over rpc
still not done refrash rate from flipper change and is slow so the rainbow mode doesnt look good
* transmit VgmMode
* use all the 32bit
* some config stuff
* sync apps
* Change protobuf repo
* Some lib naming changes and cleanup
* Format protobuf
* Update from RGB backlight if enabled
* Remove old expansion toggling
* Update settings UI
* Fix searching previous value
* VGM Tool: Add new RGB firmware
* Update changelog
* These are unused
---------
Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com >
2024-06-02 08:41:47 +01:00
Willy-JL
82a07888f5
Fix function prototypes after merge
2024-04-02 16:05:03 +01:00
Willy-JL
06aea09169
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
2024-03-20 04:18:26 +00:00
あく
acc39a4bc0
Api Symbols: replace asserts with checks ( #3507 )
...
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes
Co-authored-by: gornekich <n.gorbadey@gmail.com >
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: hedger <hedger@nanode.su >
2024-03-19 23:43:52 +09:00
HaxSam
e03e744d7e
Quick fix for rgb ( #11 )
...
* didnt got all the code
* missed the line
* Next time i check a .patch
2024-03-05 23:28:06 +00:00
HaxSam
34e8a798d9
removed unnecessary wrapper for rainbow mode
2024-03-01 15:36:45 +01:00
HaxSam
adfcc3ba9e
fixing always updating rainbow mode
2024-03-01 09:38:03 +01:00
HaxSam
97c531f3fb
changed furi_kernel_lock() to FURI_CRITICAL_ENTER() in SK6805
2024-02-24 00:59:18 +01:00
HaxSam
a7cab5f47a
update rgb on solid only when brightness change
2024-02-23 00:20:15 +01:00
Willy-JL
6e19179992
RGB no gpio output in debug builds
2024-02-11 00:44:59 +00:00
Willy-JL
5ad37cd49d
Merge branch 'ofw-dev' into xfw-dev
2024-01-18 02:32:35 +00:00
Skorpionm
d73d007797
SubGhz: add subghz tx_from_file CLI cmd, major TX flow refactoring, various improvements and bug fixes ( #3302 )
...
* SubGhz: add cmd CLI "subghz tx_from_file"
* SubGhz: add sending raw.sub files
* SubGhz: add load custom preset
* SubGhz: remove unnecessary files
* SubGhz: change message
* SubGhz: fix printf formatting
* SubGhz: Cli refactoring code
* FuriHal: add furi_hal_subghz Tx Rx IDLE state switching test
* SubGhz: remove debug code, fix ext driver compilation
* SubGhz: cleanup code, move wait status routine to cc1101 driver
* SubGhz: proper pin mode transition in tx stop isr routine, proper DMA and ISR priorities, fix issue with async tx stuck
* SubGhz: simplify async tx stop flow, fix ISR ARR check condition race
* SubGhz: check ARR only when we transmitting
* SubGhz: check ARR only when we transmitting for ext cc1101
* SubGhz: lower ISR priorities to safe level
* SubGhz: proper gpio config, comments update
Co-authored-by: あく <alleteam@gmail.com >
2024-01-15 14:38:43 +09:00
Willy-JL
05ae0dbf14
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev
2023-12-02 06:09:01 +00:00
hedger
890c9e87ce
[FL-3690] Libraries cleanup; u2f crypto rework to use mbedtls ( #3234 )
...
* examples: plugins: utilize fal_embedded
* libs: removed fnv1a_hash
* furi: added FURI_PACKED; apps, libs: changed to use FURI_PACKED
* lib: mbedtls: using custom config
* lib: toolbox: removed md5, switched to mbedtls
* targets: f18: link fix
* lib: added mbedtls_cfg.h
* apps: nfc: explicit dependency on libmbedtls
* u2f: reworking to mbedtls
* u2f: replaced sha256 & hmac with mbedtls
* u2f: functional rework using mbedtls
* libs: dropped micro-ecc
* u2f: dropped old implementation
* toolbox: removed sha256 impl
* mcheck() for mbedtls
* libs: removed libmisc; split into smaller libs
* apps: debug: fixed display_test
* apps: include cleanups
* fbt: fixed VERSIONCOMSTR
* furi: added FURI_CHECK_RETURN
* lib: removed qrcode
* cleanup
* fbt: lint_py+format_py: fixed excessive command length
* api: Removed bzero from f7
* api: Removed bzero from f18
* Bump API Symbols
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-12-01 18:16:48 +09:00
Willy-JL
a4d01d5d88
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-11-16 02:19:28 +00:00
gornekich
c00776ca22
[FL-3666] NFC API improvements ( #3214 )
...
* drivers: expose st25r3916 driver API
* nfc poller: add start with custom callback
* mf classic: rework sync API with poller custom start
* mf ultralight: rework sync API with poller custom start
* iso14443_3a poller: remove unused col res state
* nfc: rework nfc poller custom start
* mf ultralight: rename sync API
* mf classic: rename sync API
* iso14443-3a: rename sync API
* nfc: remove async prefix in internal functions
* nfc: expose internal API
* nfc: fix sync api include and docs
* targets: fix f18 build
* nfc: rework NfcGenericEventEx type
* nfc poller: add documentation
* iso14443-3a poller: add documentation
* felica poller: add documentation
* iso14443_3b poller: add documentation
* so14443_4a poller: add documentation
* iso14443_4b poller: add documentation
* iso15693 poller: add documentation
* slix poller: add documentation
* mf desfire poller: add documentation
* mf ultralight poller: fix API and add documentation
* mf classic poller: add documentation
Co-authored-by: あく <alleteam@gmail.com >
2023-11-15 17:32:45 +09:00
Willy-JL
aa1e50e653
Merge branch 'nfcrefactoring' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-11-12 01:04:33 +00:00
gornekich
d92b0a82cc
NFC refactoring ( #3050 )
...
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring.
Starring:
- @gornekich - NFC refactoring project lead, architect, senior developer
- @gsurkov - architect, senior developer
- @RebornedBrain - senior developer
Supporting roles:
- @skotopes, @DrZlo13, @hedger - general architecture advisors, code review
- @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance
Special thanks:
@bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
2023-10-24 12:08:09 +09:00
Willy-JL
fb2b0e2385
Speedup and consolidate color lib with pointers
2023-10-09 01:27:38 +01:00
Willy-JL
721ee9dc09
Better SK6805 logging --nobuild
2023-10-01 06:14:52 +01:00
Willy-JL
f2e8dbaf15
Fix rgb backlight off bug (no last color checks)
2023-10-01 06:08:38 +01:00
Willy-JL
352473523d
Remove (void)
2023-10-01 05:29:26 +01:00
Willy-JL
d3fc08ac41
Refactor rgb backlight with mutexes
2023-10-01 05:28:32 +01:00
Willy-JL
6d8ef70f28
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev --nobuild
2023-09-02 16:55:24 +02:00
あく
f218c41d83
Undo some TODO ( #3024 )
...
* TODO FL-3497: impossible to fix with current memory allocator
* TODO FL-3497: removed, requires radically different settings approach
* TODO FL-3514: removed, yes we should
* TODO FL-3498: implemented, guarding view port access with mutex.
* TODO FL-3515: removed, questionable but ok
* TODO FL-3510: removed, comment added
* TODO FL-3500: refactored, store pin numbers in GpioPinRecord, fix gpio app crash caused by incorrect gpio_pins traversal.
* Format Sources
* TODO FL-3505: removed, mutex alone is not going to fix issue with WPAN architecture
* TODO FL-3506: removed, change ownership by copy is good
* TODO FL-3519: documentation and link to source added
* Lib: remove unneded total sum from comment in bq27220
---------
Co-authored-by: hedger <hedger@users.noreply.github.com >
2023-09-01 05:54:52 +04:00
Willy-JL
17a6822a09
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-08-27 22:14:33 +02:00
Astra
e353433cd8
[FL-3488] Assign tickets to all TODO items ( #2988 )
...
Co-authored-by: あく <alleteam@gmail.com >
2023-08-23 02:56:27 +09:00
Willy-JL
81b6a86084
Add rgb backlight rainbow saturation option
2023-08-15 04:01:08 +02:00
Willy-JL
ee7260d45f
Translate russian rgb backlight comments
2023-08-15 03:49:16 +02:00
Willy-JL
a416bbe1ca
Cleanup and settings fixes
2023-08-15 03:38:53 +02:00
Willy-JL
51136a8969
Set rgb backlight leds individually
2023-08-15 03:31:48 +02:00
Willy-JL
3543ecff2e
Update some rgb backlight settings
2023-08-15 02:51:37 +02:00
Willy-JL
6a618b6e19
Cleanup and fixes
2023-08-15 01:24:12 +02:00
Willy-JL
ad689e0926
Move rgb bl color presets to userspace
2023-08-15 01:23:45 +02:00
Willy-JL
d413d30a2d
Fix rgb backlight configuration and setup
2023-08-15 00:20:46 +02:00
Willy-JL
fed21fae64
Rainbow rgb backlight + full rgb code rework
2023-08-14 05:28:49 +02:00
Willy-JL
8d16b0e8f5
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-07-18 17:17:34 +01:00
あく
76e97b8d35
[FL-3051] Gauge initialization routine refactoring, new DataMemory layout, configuration update ( #2887 )
...
* FuriHal: refactor power gauge config
* Format sources and move gauge DM load to separate method
* FuriHal: bq27220 refactoring part 1
* Power: use SYSDWN battery status flag for system shutdown
* Libs: bq27220 read DM before write, fix incorrect shift
* FuriHal: cleanup gauge config, add flags, add ptr DM type, update symbols
* FuriHal: 2 stage gauge DM verification and update, better detection routine
* FuriHal: update gauge configuration, lower sleep current and deadband
* FuriHal: gauge and charger health reporting
* Lib: cleanup bq27220 sources
* FuriHal: correct documentation for furi_hal_power_is_shutdown_requested
* FuriHal: proper gauge config for f7
2023-07-18 14:46:38 +04:00
ClaraCrazy
37b6375aaa
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into dev
2023-07-17 18:23:18 +02:00
hedger
20f6394ad8
[FL-3431] Radio headers in SDK ( #2881 )
2023-07-17 11:51:15 +04:00
Willy-JL
9d1987e661
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev
2023-07-13 20:08:56 +02:00
Skorpionm
25ec09c7eb
SubGhz: fix check connect cc1101_ext ( #2857 )
...
* SubGhz: fix check connect cc1101_ext
* SubGhz: fix syntax
* SubGhz: enable interface pin pullups
* SubGhz: fix syntax
* SubGhz: fix CLI check connect CC1101_ext
* SubGhz: fix CLI display of the selected device
Co-authored-by: あく <alleteam@gmail.com >
2023-07-12 13:41:46 +04:00
Skorpionm
906cca8f24
Furi_Power: fix furi_hal_power_enable_otg ( #2842 )
...
* Furi_Power: fix furi_hal_power_enable_otg
* SubGhz: fix error output connected USB
* Furi_Hal: fix target F18
* Fix api_symbols.csv version for F7
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2023-07-06 01:48:02 +09:00
Willy-JL
4aef6a9df8
Move rgb backlight from useless service to lib
2023-05-10 12:57:31 +01:00
Willy-JL
98cd9f81ab
Remove unused rgb backlight code
2023-03-24 17:55:52 +00:00