1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00

remove debug pack for now, fw should fit in debug

This commit is contained in:
MX
2023-07-10 17:10:43 +03:00
parent bb7ffd6ff5
commit dab2e6e39c
3 changed files with 10 additions and 27 deletions

View File

@@ -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)",

View File

@@ -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

View File

@@ -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"