Commit Graph

357 Commits

Author SHA1 Message Date
Derek Jamison
b3e100967c JS: Add ADC (analog voltage) support to gpio library (#143)
* JS: Add ADC (analog voltage) support to gpio library

* JS: readAnalog crashes if script doesn't call analogStart first.

* Use same start/stop convention as other js modules

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-06-12 02:00:47 +01: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
あく
3f04d6dd46 Furi: wrap message queue in container, prepare it for epoll. Accessor: disable expansion service on start. (#3672)
* Furi: wrap message queue in container, prepare it for epoll. Accessor: disable expansion service on start.
* Furi: one allocation, smaller message queue struct, type compatibility with FreeRTOS.
2024-05-30 12:58:03 +01:00
Willy-JL
02291d9d3b Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev 2024-05-19 03:49:20 +01:00
MX
e909818f65 fix stealth jiggler icon with ble 2024-05-19 04:53:30 +03:00
MMX
e4ed15ba23 Merge pull request #753 from Willy-JL/hid-app-merge-fix
Hid app merge fix
2024-05-19 04:50:29 +03:00
MX
8275140fe6 rename 2024-05-19 03:57:19 +03:00
MX
4f6c98dc0d move js examples to examples subfolder 2024-05-19 03:56:22 +03:00
MX
21abcb56fd merge ofw dev missing parts 2024-05-19 03:54:21 +03:00
MX
fb6070f29d Merge remote-tracking branch 'OFW/dev' into dev 2024-05-19 03:45:07 +03:00
Willy-JL
7c013c0534 HID App: Add few missing things from last merge 2024-05-18 08:31:36 +01:00
Willy-JL
23ca7e7b48 Some formatting to match upstream 2024-05-18 08:28:45 +01:00
Willy-JL
c4709a5b6b HID App: Update icons 2024-05-18 08:26:36 +01:00
Willy-JL
276feac73f HID App: Update to scene based startscreen 2024-05-18 08:24:29 +01:00
Willy-JL
98903b8f10 Fix USB/BT Remote Mouse Clicker merge 2024-05-18 08:15:07 +01:00
Willy-JL
3a82c94e28 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev --nobuild 2024-05-18 05:46:15 +01:00
WillyJL
0d456aa550 JS: Add textbox module (#3597)
* JS: Add textbox module
* Using view_holder instead of view_dispatcher, more checks in js_textbox_show
* API version sync
* Rename emptyText() to clearText()
* Keeping view_holder allocated for thread sefety
* Js: proper comparision with 0 in js_math_sign
* Js: add comments and fix condition race in textbox

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: nminaylov <nm29719@gmail.com>
2024-05-17 18:43:52 +01:00
WillyJL
c673b53e21 JS: Add math module (#3598)
* JS: Add math module
* Double constants
* Error on argument type mismatch
* Fix missing returns
* Using sin, exp from c library
* asin, acos, pow, sqrt too
* Js: tests for math module and various fixes.

Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: nminaylov <nm29719@gmail.com>
2024-05-17 17:45:40 +01:00
Willy-JL
54d2763177 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-05-16 21:47:58 +01:00
MX
7c5111e29f Merge remote-tracking branch 'OFW/dev' into dev 2024-05-16 23:37:03 +03:00
WillyJL
63403bbae2 JS: Add submenu module (#3601)
* JS: Add submenu module
* Using view_holder instead of view_dispatcher

Co-authored-by: nminaylov <nm29719@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-05-16 18:55:08 +01:00
Willy-JL
becefe9568 Format 2024-05-16 05:53:19 +01:00
Willy-JL
b628af1060 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev --nobuild 2024-05-16 05:39:30 +01:00
MX
3005f6cd9a Hid app improvements
- Move new mouse jiggler into mouse jiggler stealth
- Set stealth jiggler max time default value to 4 min and min value to 1 min
- Various UI fixes
- Merge changes from OFW commit 11d7f53854

([FL-3770, FL-3680] HID App improvements and little extra (3518))
2024-05-15 19:08:10 +03:00
Willy-JL
e129d3edf9 Move some "system" apps to apps repo
Because:
- They aren't fundamental to firmware function
- They are not in firmware repo for other CFW either
- Easier to keep updated

Moved:
- Hex Viewer
- IR Remote
- Mass Storage
- Nightstand Clock
- SubGHz Playlist
- SubGHz Remote
- Text Viewer

HID app (USB/BT Remote) could be moved too, but UL and OFW have it here
Makes sense to keep HID app in FW repo for updating
FindMy Flipper integrates with firmware for startup, better kept in FW
2024-05-04 06:27:35 +01:00
Willy-JL
f04975f50d Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev --nobuild 2024-05-04 03:41:44 +01:00
MX
887f6a20fc We already using furi random, cleanup unused parts, format code 2024-05-03 21:28:18 +03:00
MX
786dbfe0c3 Merge branch 'dev' into feature/random_mouse_jiggler 2024-05-03 21:09:21 +03:00
WillyJL
a83845aec4 Merge pull request #114 from Next-Flip/gzipped-resources
Updater: Gzipped resources (220% faster FW upload) + Updater improvements
2024-05-03 04:41:33 +01:00
Willy-JL
94a8ccc912 Updater: Show stage progress percentage 2024-05-03 03:35:56 +01:00
Willy-JL
046584ed83 Updater: Rebalance progressbar weights 2024-05-03 03:32:01 +01:00
Willy-JL
93edb9c6e8 Updater: Cleanup progress based on manifest stream 2024-05-03 03:31:45 +01:00
Willy-JL
593f3a9e9a Updater: Resources progress based on file size
Gzipped tar will take too long to count files, instead use position in tar archive
Need to find a workaround for estimating cleanup progress
2024-05-02 07:02:13 +01:00
Willy-JL
ff2bb16492 FindMy: Fix battery level edge cases (eg. at boot) and cleanup
- Generate config struct only when necessary
- Centralize last few things to use state values
- Uniform state apply and save process
- Simplify battery level handling
2024-05-02 06:46:06 +01:00
Willy-JL
73135acb8c Move JS examples to subfolder 2024-05-02 00:53:17 +01:00
Willy-JL
5a4bbbadf1 Format 2024-04-29 22:10:56 +01:00
Matthew
54472353ca Fix Tile Tag Saving & Rewind 2024-04-27 13:13:56 -04:00
Matthew
9e152179b0 Fix Tile Tag Saving 2024-04-27 12:51:05 -04:00
MX
3269f751cd js vgm module and widget fix
VGM js module by jamisonderek
Js fixes by jamisonderek
2024-04-23 12:24:07 +03:00
Willy-JL
a7a3ce8d4b JS: Add VGM module by @jamisonderek
Co-authored-by: Derek Jamison <jamisonderek@users.noreply.github.com>
2024-04-22 06:10:00 +01:00
gushmazuko
6cb9ad12f1 Enhance Random Interval and Movement Functionality 2024-04-21 02:14:46 +02:00
Derek Jamison
17646cab37 JS: Fix widget sometimes MemCrash on exit. 2024-04-19 18:14:21 -05:00
Matthew
5f260af443 small changes 2024-04-18 21:18:22 -04:00
Matthew
7a9e122635 Merge branch 'dev' of https://github.com/Next-Flip/Momentum-Firmware into findmy-battery 2024-04-18 21:02:10 -04:00
Matthew
11357734e7 FindMy Flipper Battery Status Refactor, Unify State Sync 2024-04-19 01:42:34 +01:00
MX
b299604932 js fix badusb double free crash with quit()
by Willy-JL
2024-04-12 20:02:38 +03:00
Willy-JL
6c508779e2 JS: Fix badusb double free crash with quit() 2024-04-11 03:33:15 +01:00
MX
294df5d1d4 desktop animations unload apilock revert
+ js layout fix and lfrfid ui fix
by Willy-JL
2024-04-06 05:40:53 +03:00
Willy-JL
b8295a2dac JS: Fix default layout handling 2024-04-06 00:29:23 +01:00