hedger
2d6c2886ae
fbt: compile_db fixes ( #1981 )
...
* fbt: forked compilation_db tool
* fbt: fixes for static analysis
* pvs-studio: ignoring more generic warnings
* fbt: util: added extract_abs_dir
* vscode: added fap-set-debug-elf-root for debug configurations
2022-11-07 23:54:41 +09:00
Samuel Stauffer
aa2ecbe80f
infrared: add Kaseikyo IR protocol ( #1965 )
...
* infrared: add Kaseikyo IR protocol
Add Kaseikyo IR protocol support. This protocol is also called the Panasonic protocol and is used by a number of manufacturers including Denon.
The protocol includes a vendor field and a number of fields that are vendor specific. To support the format of address+command used by flipper the vendor+genre1+genre2+id fields are encoded into the address while the data is used for the command.
There are older versions of the protocol that used a reverse bit order that are not supported.
Protocol information:
- https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp
- http://www.hifi-remote.com/johnsfine/DecodeIR.html#Kaseikyo
- https://www.denon.com/-/media/files/documentmaster/denonna/avr-x3700h_avc-x3700h_ir_code_v01_04062020.doc
* Format and add unit test to Kaseikyo IR codec.
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2022-11-07 18:38:04 +04:00
Skorpionm
65005e71d2
WS: fix show negative temperature ( #1980 )
2022-11-07 02:30:02 +09:00
hedger
0a86ad43ca
fbt: fix for launch_app ( #1978 )
2022-11-06 17:39:50 +10:00
あく
e8913f2e33
Code cleanup: srand, PVS warnings ( #1974 )
...
* Remove srand invocation
* PVS High priority fixes
* PVS High errors part 2
* Furi: heap tracing inheritance
* Furi add __builtin_unreachable to furi_thread_catch
2022-11-05 18:07:24 +03:00
hedger
04e50c9f89
fbt: fixes for ufbt pt3 ( #1970 )
...
* fbt: replaced debug dir paths with FBT_DEBUG_DIR
* scripts: updated requirements.txt
* fbt: fixed wrong import
* fbt: removed delayed import for file2image
* fbt: added UPDATE_BUNDLE_DIR internal var
* fbt: cleaner internal management of extapps
* applications: added fap_libs for core apps to link with resources when building with --extra-ext-apps
* fbt: removed deprecation stub for faps
* fbt: added quotation for icons build cmd
* fbt: reworked BUILD_DIR & fap work dir handling; fap debug: using debug elf path from fbt
* fbt: explicit LIB_DIST_DIR
2022-11-05 20:47:59 +09:00
gornekich
bf8fd71c00
NFC magic cards support ( #1966 )
...
* nfc magic: introduce nfc app to work with magic cards
* nfc: add nfc device functions to API
* nfc magic: add bacis scenes
* nfc magic: add wrong card and write confirm scenes
* nfc magic: introduce magic lib
* nfc magic: write magic lib
* nfc magic: add write commands to magic lib
* nfc magic: work on worker
* furi_hal_nfc: add bits data exchage method to API
* nfc magic: rework with new API
* nfc magic: add check and wipe scenes
* nfc magic: add icons, gui fixes
* nfc: format python src
Co-authored-by: あく <alleteam@gmail.com>
2022-11-04 16:01:44 +09:00
Sergey Monchenko
3bd74b7f01
SubGhz: fix incorrect response in rpc mode. Code cleanup. ( #1964 )
...
* Code cleanup
* SubGhz: correct logic in RPC
* SubGhz: do not blink on app rpc fail
Co-authored-by: あく <alleteam@gmail.com>
2022-11-04 15:08:51 +09:00
あく
d68ac50efd
Storage: tree timestamps ( #1971 )
...
* Storage: tree timestamps
* Rpc: add storage timestamp
* Storage: correct timestamp owner
* Storage: update timestamp at sd mount
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-11-04 15:26:04 +10:00
あく
e3ea5bca76
Dolphin: add L1_Mods_128x64 animation ( #1973 )
2022-11-04 14:44:28 +10:00
Alexandre Díaz
60d125e72a
subghz: add analyzer frequency logs ( #1914 )
...
* subghz: add analyzer frequency logs
* SubGhz: switch to change on short press
* SubGhz: use full RSSI bar for history view
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 16:57:56 +09:00
head47
eee90c6c40
Run Bad USB immediately after connection ( #1955 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 14:21:44 +09:00
Nikolay Minaylov
95182b266c
BadUSB scrolllock typo fix ( #1968 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 13:42:54 +09:00
Skorpionm
0652830c51
[FL-2940] WS: add protocol Ambient_Weather ( #1960 )
...
* WS: add protocol Ambient_Weather
* WS: fix link
* WS: removing unused code
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 01:24:07 +09:00
Georgii Surkov
c417d467f7
Handle storage full error ( #1958 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 01:13:06 +09:00
Konstantin Volkov
a09d0a8bd4
fixed job name, renamed compile step id ( #1952 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 00:21:43 +09:00
hedger
ebc2b66372
fbt fixes for mfbt pt2 ( #1951 )
...
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
* fbt: minor refactorin
* fbt: moved sdk management code to extapps.scons
* fbt: fixed sdk symbols header path; disabled -fstack-usage
* fbt: changed pathing for .py scripts
* fbt: changed SDK_HEADERS pathing; added libusb to SDK; added icon_i.h to SDK; added hw target to SDK meta
* fbt: added libusb headers to SDK
* picopass: include cleanup; api: added subghz/registry.h; api: added mbedtls to exported headers
* picopass: fixed formatting
* fbt: fixed COPRO_ASSETS_SCRIPT
* sdk: added basic infrared apis
* toolchain: added ufbt to list of legal fbtenv callers; updated error messages
* fbt: changed manifest collection & icon processing code
* fbt: simpler srcdir lookup
* toolchain: path management fixes; fbt: fixes for fap private libs paths
* scripts: toolchain: reworked download on Windows
* toolchain: v17
* scripts: added colorlog for logging
* Github: fix unit tests
Co-authored-by: あく <alleteam@gmail.com>
2022-11-03 00:15:40 +09:00
Vasyl "vk" Kaigorodov
abfa804ae0
Gui: refactor buttons remapping ( #1949 )
...
* Gui: refactor buttons remapping
Instead of calling 3 separate functions with a ton of switch/case statements,
use a 2-dimensional lookup table to remap buttons based on the orientation.
* Gui: cleanup input mapping and fix incorrect asserts
* SnakeGame: handle input special case
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-11-02 23:36:17 +09:00
あく
104a1998a5
Furi: raise bkpt only if debug session initiated, add debug support for release builds ( #1957 )
...
* Fix hard crash on some custom firmwares in RELEASE mode
* Furi: anya wa erai, anya wa eleganto, raise bkpt only if debug session initiated, add debug support for release builds
Co-authored-by: DerSkythe <skif@skif.ws>
2022-11-01 19:27:25 +09:00
Vladimir
85d341104f
Update ac.ir ( #1945 )
...
Added conditioner Saturn CS-TL09CHR ir signals (Dh, Cool_hi, Cool_lo, Heat_hi, Heat_lo, Off)
Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 01:50:07 +09:00
Georgii Surkov
d5f791b1fa
[FL-2911] IR Universal Audio Remote ( #1942 )
...
* Add Audio universal remote
* Add signal library for Audio Universal Remote
* Update UniversalRemotes.md
* Added IR profile for Samsung K450 soundbar (#1892 )
* Add symbols to API file
* Rearrange Audio remote buttons
* Add new icons, remove old ones
* Remove old signals, add new ones
* Add universal audio remote to CLI, refactor code
* Improve help text
* Correct formatting
* Update UniversalRemotes.md
* Furi: restore correct api_symbols.csv version
Co-authored-by: Alexei Humeniy <yo@ahumeniy.net>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-29 01:43:54 +09:00
gornekich
93a6e17ce5
[FL-2933] Mf Classic initial write, update, detect reader ( #1941 )
...
* nfc: introduce nfc write
* nfc: add write logic
* nfc worker: add write state
* nfc: add mfc update logic
* nfc: add update success logic
* nfc: add custom card for detect reader
* nfc: update write logic
* nfc: add halt command, add notifications
* nfc: add write fail scene
* nfc: fixes and clean up
* nfc: fix navigation ad notifications
* nfc: fix detect reader nfc data setter
Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 01:10:16 +09:00
Konstantin Volkov
09b622d4ae
UnitTests: removed all continue-on-error lines ( #1946 )
...
* removed all continue-on-error lines
* Github: add assets deployment after format
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 00:45:22 +09:00
hedger
4b921803cb
fbt: fixes for ufbt compat ( #1940 )
...
* fbt: split sdk management code
* scripts: fixed import handling
* fbt: sdk: reformatted paths
* scrips: dist: bundling libs as a build artifact
* fbt: sdk: better path management
* typo fix
* fbt: sdk: minor path handling fixes
* toolchain: fixed windows toolchain download
Co-authored-by: あく <alleteam@gmail.com>
2022-10-29 00:32:06 +09:00
Skorpionm
9cd0592aaf
SubGhz: add keeloq potocol JCM_Tech ( #1939 )
...
* SubGhz: add keeloq potocol JCM_Tech
* SubGhz: add new metod decoder
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 23:31:41 +09:00
Sergey Gavrilov
3434305630
[FL-2937] Remove resources from API to prevent frequent API version increase ( #1935 )
...
* Remove all icons from API
* Music player: icons
* Signal generator: icons
* Bt hid: icons
* Weather station: icons
* Picopass: icons
* File browser test: icons
* Example images: documentation
* Remove global assets header
* Fix picopass
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 23:08:50 +09:00
Konstantin Volkov
492f147568
[FL-2887] actions unit tests runner ( #1920 )
...
Co-authored-by: Konstantin Volkov <k.volkov@flipperdevices.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 22:59:09 +09:00
Oleg Moiseenko
be3ee9f2fe
Oregon2 additional sensors defines ( #1933 )
...
* added a list of sensors and added several additional temperature and temperature/humidity sensor id's
* now here are only sensors that have test data
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 22:42:59 +09:00
Skorpionm
26f852839a
WS: fix Acurite-606TX protocol ( #1938 )
...
* WS: fix acurite_606tx protocol
* WS: update version
* WeatherStation: remove break from invalid place
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 20:16:54 +09:00
Georgii Surkov
f11df49468
[FL-2828] Dolphin score update take 2 ( #1929 )
...
* Move DolphinDeedNfcRead
* Move DolphinDeedNfcReadSuccess
* Move DolphinDeedNfcSave
* Move DolphinDeedNfcDetectReader
* Move DolphinDeedNfcEmulate
* Count DolphinDeedNfcEmulate when launched from file browser
* Implement most of the score accounting for NFC
* Fully update Nfc icounter handling
* Move DolphinDeedSubGhzFrequencyAnalyzer
* Update the rest of icounter in SubGHz
* Adjust SubGHz icounter handling
* Adjust LFRFID icounter handling
* Adjust Infrared icounter handling
* Don't count renaming RFID tags as saving
* Don't count renaming SubGHz signals as saving
* Don't count renaming NFC tags as saving
* Adjust iButton icounter handling
* Minor code refactoring
* Correct formatting
* Account for emulating iButton keys from file manager/rpc
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 16:18:41 +09:00
hedger
8b7a52b97b
fbt: fixed linter paths ( #1930 )
...
* fbt: fixed linter paths
* lint: changed file permissions
Co-authored-by: あく <alleteam@gmail.com>
2022-10-27 05:25:31 +09:00
Skorpionm
aff99a72e8
SubGhz: fix variable types and CC1101 GPIO initialization optimization ( #1931 )
...
* SubGhz: fix variable types
* SubGhz: CC1101 GPIO initialization optimization
* SubGhz: return back gpio init
* SubGhz: cleanup grammar in math and format doxygen comments
Co-authored-by: あく <alleteam@gmail.com>
2022-10-27 04:40:13 +09:00
Vasyl "vk" Kaigorodov
ebaa84b0c2
Support for setting all screen orientations ( #1928 )
...
* Support for setting all screen orientations
* Gui: add flipped orientation to view
* Gui: correct assert conditions in gui_add_view_port
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-27 03:35:49 +09:00
hedger
a8edb41eae
fbt, docs: typo fixes; vscode: fixed deprecated target names ( #1926 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-27 00:18:06 +09:00
Skorpionm
5c8df66b7c
[FL-2927] SubGhz: add RAW Read threshold rssi ( #1911 )
...
* SubGhz: add RAW Read threshold rssi
* SubGhz: update indicator RSSI
* SubGhz: fix record file
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-27 00:13:00 +09:00
Skorpionm
378bf05068
[FL-2934] WS: add protocol Acurite 592TXR ( #1916 )
...
* WS: add protocol Acurite 592TXR
* WS: fix decoder Acurite_592TXR
* SubGhz: proper types in math
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-26 23:56:54 +09:00
Max Lapan
406d830fb6
Oregon2 extra ( #1924 )
...
* Add support for temp-humid sensor 0x1D20
* Fix protocol type and flags, humidity decoding
Co-authored-by: あく <alleteam@gmail.com>
2022-10-26 22:37:58 +09:00
gornekich
7d2d2b3dd9
[FL-2932] TikTok: reset cursor after enter and reconnect #1921
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-26 07:57:06 +09:00
Anna Prosvetova
d530238fae
CI: Update web updater domain ( #1919 )
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-26 07:48:33 +09:00
Astra
30f10dce80
Fix a typo in the factory reset screen "setting" -> "settings" #1917
...
Co-authored-by: あく <alleteam@gmail.com>
2022-10-26 07:44:27 +09:00
hedger
0adad32418
fbt fixes pt4 ( #1899 )
...
* fbt: fixed py scripts for gdb
* fbt: removed compiled dolphin assets from tracked files; resolved cached dependency issues by globally disabling deps cache; changed dependency tracking for dolphin assets
* fbt: fix for "resources" node lookup
* toolchain: bump to v.16 with scons + x64 win binaries
* fbt: using scons from toolchain
* vscode: fixed paths for 64-bit Windows toolchain
* fbt: added colors!
* fbt: moved import validator to ansi lib coloring
* fbt: moved COMSTR vars to tools
* fbt: custom action for fap dist
* fbt: added OPENOCD_ADAPTER_SERIAL configuration var for openocd operations
* fbt: added get_stlink target
* docs: details on libs for faps
* vscode: added DAP config for using Flipper as a debugger for a 2nd Flipper
* fbt: blind deps fix for sdk_origin
* fbt: sdk: moved deployment actions to pure python
* Github: disable disableLicenseExpirationCheck option for pvs
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-26 07:15:02 +09:00
あく
984d89c6d0
Furi: smaller crash routine ( #1912 )
...
* Furi: smaller crash routine
* Furi: small fixes
* Furi: cleanup check routines, more assembly code, force inline of __furi_halt_mcu
* SubGhz: cleanup residual line mess
* Documentation
* Dap-link: fix help
* Furi: replace __furi_halt_mcu with HALT_MCU macros
* Furi: disable IRQ earlier in crash handler
* Furi: properly handle masked mode when detecting ISR
* Ble: allow 0 length feed in rpc_session_feed
* Format sources
* Furi: better crash logic explanation.
* Furi: some grammar in check.h
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-10-24 20:50:34 +10:00
Max Lapan
d8fbaba7a0
Move Oregon2 to Weather Station FAP ( #1910 )
...
* Init copy of oregon2 to weather station app
* WS decoder
* Reuse decoded data
* Delete old protocol
* Delete oregon2 unit test
* Decrement count of random test
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-23 00:50:26 +09:00
あく
f8af0c1509
[FL-2892] Gui: update statusbar attention icon and better crash handling ( #1908 )
...
* Gui: update statusbar attention icon
* Furi: snapshot registers on crash and restore in halt
* Furi: document check routines
2022-10-23 01:21:10 +10:00
Skorpionm
c1bb10a694
[FL-2920] WS: add protocol Acurite-606TX, LaCrosse_TX141THBv2 ( #1898 )
...
* WS: add protocol Acurite-606TX
* WS: history, added display of the channel (if any) in the general list
* WS: added display of the button state if it is on the transmitter, and displaying the data that is in the signal
* WS: fix batt info
* WS: add protocol LaCrosse_TX141THBv2
* WS; fix syntax
* Furi: bump api_symbols version
Co-authored-by: あく <alleteam@gmail.com>
2022-10-21 02:26:28 +09:00
あく
33892ebfb7
[FL-2818] FuriHal: add FuriHalCortexTimer, use it for i2c bus timeouts ( #1900 )
...
* FuriHal: add FuriHalCortexTimer, use it for i2c bus timeouts
* Furi: cleanup FuriHalCortexTimer sources and headers
2022-10-20 20:14:46 +03:00
Sergey Gavrilov
f56c94922d
CMSIS DAP/DAP Link Debugger ( #1897 )
...
* Apps: DAP Link
* API: furi_hal_console_init
Co-authored-by: あく <alleteam@gmail.com>
2022-10-20 20:42:55 +09:00
Sergey Gavrilov
42df7aa04a
Fix FuriString oplist (init move) ( #1894 )
...
* FuriString, Infrared: fix oplist and drop string_t.
* Elf loader: log size
* Comment fix
* API: furi_hal_console_init
2022-10-20 19:58:11 +09:00
Skorpionm
9a9abd59e9
[FL-2904, FL-2900, FL-2890] WS: add app WeatherStation ( #1833 )
...
* WeatherStation: start
* SubGhz: rename protocol magellen -> magellan
* WeatherStation: err Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* WeatherStation: fix Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* Subghz: add set protocol_items
* WeatherStation: adding your protocols
* WS: add Infactory protocol
* WS: add history
* WS: add setting
* WS: add lock
* WS: add hopper frequency
* WS: fix history
* WS fix string_t -> FuriString*
* WS: add images
* WS: history record update when receiving data from the sensor again
* WS: add receiver info, delete extra code
* WS: add protocol ThermoPRO_TX4
* [FL-2900] SubGhz: Move icons in Sub-GHz
* WS: add Notification
* [FL-2890] SubGhz: Rename *_user files in resources to _user.example
* WS: add about scene
* WS: removing redundant code
* WS: add protocol Nexus-TH
* WS: add protocol GT_WT03
* WS: fix notification and rename "Weather Station" -> "Read Weather Station"
* SubGhz: partial unit tests fix
* SubGhz: fix unit_test
* SubGhz: remove dead code
* SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-20 02:27:26 +09:00
hedger
79c3040629
fbt: fixed dependency issues with SDK definition file ( #1893 )
...
* fbt: fixed dependency issues with SDK definition file
* fbt: more path fixes; marked up new symbols
2022-10-19 23:28:48 +09:00