mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-15 04:19:26 -07:00
Merge branch 'dev' into cc1101_ext
This commit is contained in:
16
.vscode/example/tasks.json
vendored
16
.vscode/example/tasks.json
vendored
@@ -13,7 +13,7 @@
|
|||||||
"label": "[Debug] Build",
|
"label": "[Debug] Build",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack"
|
"command": "./fbt"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Flash (ST-Link)",
|
"label": "[Release] Flash (ST-Link)",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"label": "[Debug] Flash (ST-Link)",
|
"label": "[Debug] Flash (ST-Link)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack FORCE=1 flash"
|
"command": "./fbt FORCE=1 flash"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Flash (blackmagic)",
|
"label": "[Release] Flash (blackmagic)",
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
"label": "[Debug] Flash (blackmagic)",
|
"label": "[Debug] Flash (blackmagic)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack FORCE=1 flash_blackmagic"
|
"command": "./fbt FORCE=1 flash_blackmagic"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Flash (JLink)",
|
"label": "[Release] Flash (JLink)",
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
"label": "[Debug] Flash (JLink)",
|
"label": "[Debug] Flash (JLink)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack FORCE=1 jflash"
|
"command": "./fbt FORCE=1 jflash"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Build update bundle",
|
"label": "[Release] Build update bundle",
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
"label": "[Debug] Build update bundle",
|
"label": "[Debug] Build update bundle",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack updater_package"
|
"command": "./fbt updater_package"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Build updater",
|
"label": "[Release] Build updater",
|
||||||
@@ -73,13 +73,13 @@
|
|||||||
"label": "[Debug] Build updater",
|
"label": "[Debug] Build updater",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack updater_all"
|
"command": "./fbt updater_all"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Debug] Flash (USB, w/o resources)",
|
"label": "[Debug] Flash (USB, w/o resources)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack FORCE=1 flash_usb"
|
"command": "./fbt FORCE=1 flash_usb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Flash (USB, w/o resources)",
|
"label": "[Release] Flash (USB, w/o resources)",
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
"label": "[Debug] Flash (USB, with resources)",
|
"label": "[Debug] Flash (USB, with resources)",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "./fbt FIRMWARE_APP_SET=debug_pack FORCE=1 flash_usb_full"
|
"command": "./fbt FORCE=1 flash_usb_full"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "[Release] Flash (USB, with resources)",
|
"label": "[Release] Flash (USB, with resources)",
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
App(
|
App(
|
||||||
appid="clock",
|
appid="clock",
|
||||||
name="Clock",
|
name="Clock",
|
||||||
apptype=FlipperAppType.APP,
|
apptype=FlipperAppType.MENUEXTERNAL,
|
||||||
entry_point="clock_app",
|
entry_point="clock_app",
|
||||||
cdefines=["APP_CLOCK"],
|
|
||||||
requires=["gui"],
|
|
||||||
icon="A_Clock_14",
|
icon="A_Clock_14",
|
||||||
stack_size=2 * 1024,
|
stack_size=2 * 1024,
|
||||||
order=81,
|
order=81,
|
||||||
|
fap_icon="icon.png",
|
||||||
|
fap_category="Tools",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
BIN
applications/main/clock_app/icon.png
Normal file
BIN
applications/main/clock_app/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.7 KiB |
@@ -1,17 +1,11 @@
|
|||||||
App(
|
App(
|
||||||
appid="subghz_remote",
|
appid="subghz_remote",
|
||||||
name="Sub-GHz Remote",
|
name="Sub-GHz Remote",
|
||||||
apptype=FlipperAppType.APP,
|
apptype=FlipperAppType.MENUEXTERNAL,
|
||||||
entry_point="subghz_remote_app",
|
entry_point="subghz_remote_app",
|
||||||
cdefines=[
|
|
||||||
"APP_SUBGHZREMOTE",
|
|
||||||
"SUBREM_LIGHT",
|
|
||||||
],
|
|
||||||
requires=[
|
|
||||||
"gui",
|
|
||||||
"dialogs",
|
|
||||||
],
|
|
||||||
icon="A_SubGHzRemote_14",
|
icon="A_SubGHzRemote_14",
|
||||||
stack_size=2 * 1024,
|
stack_size=2 * 1024,
|
||||||
order=11,
|
order=11,
|
||||||
|
fap_icon="icon.png",
|
||||||
|
fap_category="Sub-Ghz",
|
||||||
)
|
)
|
||||||
BIN
applications/main/subghz_remote/icon.png
Normal file
BIN
applications/main/subghz_remote/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
@@ -1,5 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define SUBREM_LIGHT 1
|
||||||
|
#define APP_SUBGHZREMOTE 1
|
||||||
|
|
||||||
#include "helpers/subrem_types.h"
|
#include "helpers/subrem_types.h"
|
||||||
#include "helpers/subrem_presets.h"
|
#include "helpers/subrem_presets.h"
|
||||||
#include "scenes/subrem_scene.h"
|
#include "scenes/subrem_scene.h"
|
||||||
|
|||||||
@@ -31,11 +31,9 @@ Check out `documentation/fbt.md` for details on building and flashing firmware.
|
|||||||
|
|
||||||
### Compile everything for development
|
### Compile everything for development
|
||||||
|
|
||||||
Edit this file to enable/disable Main apps that you need in DEBUG mode, flash space doesn't allows us to fit them all in DEBUG currently
|
|
||||||
- `applications/main/application.fam`
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./fbt FIRMWARE_APP_SET=debug_pack updater_package
|
./fbt updater_package
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compile everything for release + get updater package to update from microSD card
|
### Compile everything for release + get updater package to update from microSD card
|
||||||
@@ -55,11 +53,9 @@ Check out `documentation/fbt.md` for details on building and flashing firmware.
|
|||||||
|
|
||||||
### Compile everything for development
|
### Compile everything for development
|
||||||
|
|
||||||
Edit this file to enable/disable Main apps that you need in DEBUG mode, flash space doesn't allows us to fit them all in DEBUG currently
|
|
||||||
- `applications/main/application.fam`
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./fbt.cmd FIRMWARE_APP_SET=debug_pack updater_package
|
./fbt.cmd updater_package
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compile everything for release + get updater package to update from microSD card
|
### Compile everything for release + get updater package to update from microSD card
|
||||||
|
|||||||
@@ -74,19 +74,6 @@ FIRMWARE_APPS = {
|
|||||||
"updater_app",
|
"updater_app",
|
||||||
"unit_tests",
|
"unit_tests",
|
||||||
],
|
],
|
||||||
"debug_pack": [
|
|
||||||
# Svc
|
|
||||||
"basic_services",
|
|
||||||
# Apps
|
|
||||||
"main_apps_default",
|
|
||||||
"system_apps",
|
|
||||||
# Settings
|
|
||||||
"settings_apps",
|
|
||||||
# Plugins
|
|
||||||
# "basic_plugins",
|
|
||||||
# Debug
|
|
||||||
# "debug_apps",
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FIRMWARE_APP_SET = "default"
|
FIRMWARE_APP_SET = "default"
|
||||||
|
|||||||
Reference in New Issue
Block a user