mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-25 20:23:07 +00:00
7bd3bd7ea4
* fbt: reduced amount of redundant compilation units * fbt: added GatherSources() method which can reject source paths starting with "!" in sources list; optimized apps' source lists * docs: updated on path exclusion for `sources` * apps: examples: fixed example_advanced_plugins source list * docs: more details on `sources`; apps: narrower sources lists
34 lines
822 B
Text
34 lines
822 B
Text
App(
|
|
appid="example_plugins",
|
|
name="Example: App w/plugin",
|
|
apptype=FlipperAppType.EXTERNAL,
|
|
entry_point="example_plugins_app",
|
|
stack_size=2 * 1024,
|
|
fap_category="Examples",
|
|
sources=["*.c", "!plugin*.c"],
|
|
)
|
|
|
|
App(
|
|
appid="example_plugins_multi",
|
|
name="Example: App w/plugins",
|
|
apptype=FlipperAppType.EXTERNAL,
|
|
entry_point="example_plugins_multi_app",
|
|
stack_size=2 * 1024,
|
|
fap_category="Examples",
|
|
)
|
|
|
|
App(
|
|
appid="example_plugin1",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="example_plugin1_ep",
|
|
requires=["example_plugins", "example_plugins_multi"],
|
|
sources=["plugin1.c"],
|
|
)
|
|
|
|
App(
|
|
appid="example_plugin2",
|
|
apptype=FlipperAppType.PLUGIN,
|
|
entry_point="example_plugin2_ep",
|
|
requires=["example_plugins_multi"],
|
|
sources=["plugin2.c"],
|
|
)
|