mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2026-03-09 09:47:04 +01:00
* Add args_read_float_and_trim function * Add args_read_duration function * Add notes_frequency_from_name function * Add cli_sleep function and sleep CLI command * Update CLI top command to use cli_sleep * Add buzzer CLI command * toolbox: make args_read_duration less convoluted * notification: make notification_messages_notes_frequency_from_name less convoluted * unit_tests: better float checking * fix formatting and f18 --------- Co-authored-by: Anna Antonenko <portasynthinca3@gmail.com> Co-authored-by: hedger <hedger@nanode.su>
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
App(
|
|
appid="cli",
|
|
apptype=FlipperAppType.STARTUP,
|
|
entry_point="cli_on_system_start",
|
|
cdefines=["SRV_CLI"],
|
|
sources=[
|
|
"cli_command_gpio.c",
|
|
"cli_main_commands.c",
|
|
"cli_main_shell.c",
|
|
],
|
|
# This STARTUP has to be processed before those that depend on the "cli" record.
|
|
# "cli" used to be a SERVICE, but it's been converted into a STARTUP in order to
|
|
# reduce RAM usage. The "block until record has been created" mechanism
|
|
# unfortunately leads to a deadlock if the STARTUPs are processed sequentially.
|
|
order=0,
|
|
)
|
|
|
|
App(
|
|
appid="cli_vcp",
|
|
name="CliVcpSrv",
|
|
apptype=FlipperAppType.SERVICE,
|
|
entry_point="cli_vcp_srv",
|
|
stack_size=1024,
|
|
order=10,
|
|
sdk_headers=["cli_vcp.h", "cli.h"],
|
|
sources=["cli_vcp.c"],
|
|
)
|
|
|
|
App(
|
|
appid="cli_hello_world",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="cli_hello_world_ep",
|
|
requires=["cli"],
|
|
sources=["commands/hello_world.c"],
|
|
)
|
|
|
|
App(
|
|
appid="cli_neofetch",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="cli_neofetch_ep",
|
|
requires=["cli"],
|
|
sources=["commands/neofetch.c"],
|
|
)
|
|
|
|
App(
|
|
appid="cli_subshell_demo",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="cli_subshell_demo_ep",
|
|
requires=["cli"],
|
|
sources=["commands/subshell_demo.c"],
|
|
)
|
|
|
|
App(
|
|
appid="cli_buzzer",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="cli_buzzer_ep",
|
|
requires=["cli"],
|
|
sources=["commands/buzzer.c"],
|
|
)
|