Commit Graph

24 Commits

Author SHA1 Message Date
Willy-JL
87ef8772c2 Fix last __dirname and __filename usages 2024-11-02 04:15:32 +00:00
Willy-JL
462d0309c0 Merge commit '85e5642b2ab537ae9e1c0bccac8add975b8a9ed1' into mntm-dev 2024-10-31 17:51:09 +00:00
Willy-JL
96e5b24a71 JS: Fourth batch of OFW PR changes 2024-10-25 17:27:41 +01:00
Derek Jamison
6b9ae090f8 JavaScript: SPI implementation (#272)
* JavaScript: SPI implementation

* Fix build

* Add typedefs

* Port example script to newJS

* Push new manifest to bottom

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-23 00:33:34 +02:00
Derek Jamison
e682b6b19e JavaScript: Add I2C support (#259)
* JavaScript: Add I2C support

* Format

* Check input bytes, allow arraybuf write input

* Add comment

* Return arraybuf, remove unnecessary malloc and memset

* More meaningful var names for code readability, fix some bugs

* Remove unnecessary state

* Fix build

* Update changelog

* Add typedefs

* toString() updates in example script

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2024-10-20 07:24:44 +02:00
Willy-JL
bb6c015235 JS: Second batch of OFW PR changes 2024-10-19 01:17:22 +01:00
Willy-JL
4a0dfa8de9 JS: First batch of OFW PR review changes 2024-10-18 04:35:27 +01:00
Willy-JL
799ff282f4 JS: Sync small differences from OFW PR 2024-10-17 23:43:21 +01:00
Willy-JL
5d2bb9af5e JS: Backport file picker as new module 2024-10-16 19:35:42 +01:00
Willy-JL
72d47cfacd JS: Expose currentView in gui.viewDispatcher 2024-10-16 14:38:53 +01:00
Willy-JL
51d0fdc5fa JS: Byte/Text Input fixes, gui example improvements 2024-10-16 14:38:00 +01:00
Willy-JL
3b86248288 JS: Fix load.js example path 2024-10-16 14:16:19 +01:00
Willy-JL
6b4e94ec58 JS: More fixes 2024-10-16 11:53:07 +01:00
Willy-JL
270e97ff66 JS: Update storage example 2024-10-16 11:32:01 +01:00
Willy-JL
f96c538efe JS: Port byte input example (WIP, has some bugs in C code, JS is fine) 2024-10-16 05:26:19 +01:00
Willy-JL
c8b3bf1869 JS: camelCase changes 2024-10-16 01:55:00 +01:00
Willy-JL
a85819f37e JS: Merge fixes 2024-10-16 00:57:09 +01:00
Willy-JL
2f6faa1b7b Merge remote-tracking branch 'ul/dev' into mntm-dev 2024-10-16 00:56:19 +01:00
Willy-JL
97d58c500f Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-10-15 23:49:41 +01:00
Willy-JL
88dfe97a89 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-10-15 23:43:33 +01:00
Willy-JL
49a63bf10b JS: Improve and fix subghz module
- Fix some memory leaks
- Check for setup() being called
- Add end(), can setup() again to check for external module
- Add support for custom modulation presets
- Improve error handling
- Deinit correctly at exit
- Fix RAW files
- Fix repeat behavior, can specify with transmitFile(path, repeat)
2024-07-06 03:13:18 +02:00
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
3a82c94e28 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev --nobuild 2024-05-18 05:46:15 +01:00
Willy-JL
73135acb8c Move JS examples to subfolder 2024-05-02 00:53:17 +01:00