[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
|
|
|
App(
|
|
|
|
appid="js_app",
|
|
|
|
name="JS Runner",
|
|
|
|
apptype=FlipperAppType.SYSTEM,
|
|
|
|
entry_point="js_app",
|
|
|
|
stack_size=2 * 1024,
|
|
|
|
resources="examples",
|
|
|
|
order=0,
|
|
|
|
)
|
|
|
|
|
2024-03-25 19:35:38 +03:00
|
|
|
App(
|
|
|
|
appid="js_app_start",
|
|
|
|
apptype=FlipperAppType.STARTUP,
|
|
|
|
entry_point="js_app_on_system_start",
|
|
|
|
order=160,
|
|
|
|
)
|
|
|
|
|
[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
|
|
|
App(
|
|
|
|
appid="js_dialog",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_dialog_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_dialog.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_notification",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_notification_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_notification.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_badusb",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_badusb_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_badusb.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
2024-02-12 18:06:01 +03:00
|
|
|
appid="js_serial",
|
[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
|
|
|
apptype=FlipperAppType.PLUGIN,
|
2024-02-12 18:06:01 +03:00
|
|
|
entry_point="js_serial_ep",
|
[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
|
|
|
requires=["js_app"],
|
2024-02-12 18:06:01 +03:00
|
|
|
sources=["modules/js_serial.c"],
|
[FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 11:54:32 +03:00
|
|
|
)
|
2024-02-21 00:40:29 +03:00
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_usbdisk",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_usbdisk_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_usbdisk/*.c"],
|
|
|
|
)
|
2024-03-11 00:37:29 +03:00
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_submenu",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_submenu_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_submenu.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_blebeacon",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_blebeacon_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_blebeacon.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_math",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_math_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_math.c"],
|
|
|
|
)
|
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_keyboard",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_keyboard_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_keyboard.c"],
|
|
|
|
)
|
|
|
|
App(
|
|
|
|
appid="js_subghz",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_subghz_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_subghz/*.c"],
|
|
|
|
)
|
2024-03-15 07:09:16 +03:00
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_gpio",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_gpio_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_gpio.c"],
|
|
|
|
)
|
2024-03-23 23:18:26 +03:00
|
|
|
|
|
|
|
App(
|
|
|
|
appid="js_textbox",
|
|
|
|
apptype=FlipperAppType.PLUGIN,
|
|
|
|
entry_point="js_textbox_ep",
|
|
|
|
requires=["js_app"],
|
|
|
|
sources=["modules/js_textbox.c"],
|
|
|
|
)
|