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
68a1d63360
SubGHz: New check_tx API, ext modules follow settings
2024-05-16 11:57:42 +01:00
Willy-JL
0bcd521b29
SubGHz: Fix incorrect frequency set
...
CC1101 applies slightly different frequency than requested, so these checks fail
These new values are what I get when applying, not sure if it can differ
2024-05-16 10:34:46 +01:00
Willy-JL
9b418c9a07
SubGHz: Show reason for TX blocked --nobuild
2024-05-16 04:51:23 +01:00
Willy-JL
7413cd8a71
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev
2024-04-05 03:25:28 +01:00
MX
a830d6b511
rework subghz settings, enable tx-rx state on unused gpio pin by default
2024-04-05 04:02:33 +03:00
MX
45e7913435
after merge fixes
...
add void
2024-04-04 22:55:39 +03:00
MX
585b7f963d
Api Symbols: replace asserts with checks
...
merge ofw commit
2024-03-25 13:53:32 +03: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
Sil
0111d85236
SubGHz: Manual region bypass ( #47 )
...
* Subghz: brought back manual region bypass
* MNTM: change frequency check
this allows to add "extended" frequencies to your custom added frequencies
* MNTM: reboot when changing extended frequencies
* Fix regio typo
* Show bypass before extend
* Consistency with OFW and UL api for region, version, otp
* Fix API symbols
* Restrict only on TX
* Oops
* Improve bypass/extend UI
---------
Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com >
2024-03-20 01:00:46 +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
hedger
bc309cebe6
Toolchain fixes ( #3451 )
...
toolchain: updated to v33 with debugging & other fixes
toolchain: better error handling during update/env configuration process
debugging: improved udev rules file, added readme on installation
firmware: bumped compiler C/C++ standards (stricter code checks)
firmware: fixed warnings emerging from newer standards
ufbt: FBT_NOENV is now also supported by ufbt
fbt: added ccache-related variables to env forward list on Windows
2024-02-26 16:16:19 +04:00
Willy-JL
92fb61f585
Merge branch 'hedger/toochain_29' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2024-02-21 03:00:41 +00:00
MX
16d1e71d6e
Merge remote-tracking branch 'OFW/hedger/toochain_29' into new_c_version
2024-02-21 00:43:42 +03:00
hedger
71e763d9b3
fbt: bumped c&cpp standard versions
2024-02-20 02:06:08 +00:00
MX
36114de5f7
SubGhz: add subghz tx_from_file CLI cmd, major TX flow refactoring, various improvements and bug fixes ( #3302 )
...
By Skorpionm
* 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-19 22:45:59 +03: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
4ce344ff82
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev
2024-01-13 02:36:39 +00:00
MX
8a3557bc97
merge FuriHal: fix start duration furi_hal_subghz_async_tx
2024-01-11 17:33:29 +03:00
Skorpionm
34539cda17
FuriHal: fix start duration furi_hal_subghz_async_tx ( #3230 )
...
* FuriHal: fix start duration furi_hal_subghz_async_tx
* FuriHal: add check min duration arr for the first level
* FuriHal: fix conflict dev
* SubGhz: fix unit_test
* FuriHal: subghz internal fix start/stop transmit duration
* Drivers: subghz external fix start/stop transmit duration
* FuriHal: subghz optimization
* SubGhz: fix unit_test subghz
* FuriHal: subghz fix end duration if size == size dma buf
* FuriHal: revert enum values order, remove garbage
* FuriHal: revert one more small bit in subghz
* FuriHal: handle various corner cases in subghz transmission
* FuriHal: cleanup subghz code
* FuriHal: add parenthesis around value in subghz defines
* FuriHal: add packer subghz_async_tx
* FuriHal: more reliable subghz transmission end handling, fixes stuck transmission
* FuriHal: add subghz crutch docs, and rename some defines to conform naming standards
* FuriHal: subghz, the logic of timers has been changed. disabling the shadow register ARR
* FuriHal: fix subghz off dma irq
* SubGhzExt: fun rename
* FuriHal,SubGhz: fix g0 state on reset, fix incorrect async_tx stop sequence, remove dead code.
Co-authored-by: あく <alleteam@gmail.com >
2024-01-11 16:56:14 +09:00
MX
a64c9534e2
Merge branch 'ofw_dev' into dev
2023-11-17 02:20:27 +03: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
あく
457aa5331f
Various Fixes for 0.95 ( #3215 )
...
* FuriHal: retry gauge/charger initialization
* FuriHal: lower logging level for flash known errata
* FuriHal: graceful fail if subghz chip is not working
* Furi: issue stop command even if timer is not active, document timer behavior
2023-11-15 20:11:05 +04:00
Willy-JL
418f44fef1
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev
2023-11-12 02:56:30 +00:00
MX
9ed23799eb
merge port p2
2023-11-08 11:08:17 +04:00
あく
9af81ce8d0
Furi: cleanup crash use ( #3175 )
...
* Furi: optional message in furi_crash and furi_halt
* Consistent furi_crash use
* UnitTests: crash instead of assert
* furi: check: fixed macro for default arg
* unit_tests: fixed crashes everywhere
* lib: infrared: fixed PVS warnings
* furi: eliminated __FURI_ASSERT_MESSAGE_FLAG
* Furi: update check.h docs
* Furi: add check.h usage note
* Docs: grammar
---------
Co-authored-by: hedger <hedger@nanode.su >
2023-10-31 14:40:32 +04:00
hedger
917410a0a8
[FL-3629] fbt: reworked assets & resources handling ( #3160 )
...
* fbt: reworking targets & assets handling WIP
* fbt: dist fixes
* fbt: moved SD card resources to owning apps
* unit_tests: moved resources to app folder
* github: updated unit_tests paths
* github: packaging fixes
* unit_tests: fixes
* fbt: assets: internal cleanup
* fbt: reworked assets handling
* github: unit_tests: reintroducing fixes
* minor cleanup
* fbt: naming changes to reflect private nature of scons tools
* fbt: resources: fixed dist archive paths
* docs: updated paths
* docs: updated more paths
* docs: included "resources" parameter in app manifest docs; updated assets readme
* updated gitignore for assets
* github: updated action versions
* unit_tests: restored timeout; scripts: assets: logging changes
* gh: don't upload desktop animations for unit test run
Co-authored-by: あく <alleteam@gmail.com >
2023-10-31 00:17:30 +09:00