Skip to content

Commit bf32b7d

Browse files
authored
Merge pull request #11 from mentoster/codex/fix-building-app-for-flipper
Fix flipper hero build system
2 parents 581a273 + 53bdfbc commit bf32b7d

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

SConstruct

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env python3
2+
3+
env = DefaultEnvironment()
4+
5+
# Build the application when no target is specified
6+
Default(".")

SetupEnv.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ Set `ufbt` for the unleashed firmware, specifying the custom repository URL:
2828
> ufbt update --index-url=https://up.unleashedflip.com/directory.json
2929
```
3030

31+
**Momentum Firmware:**
32+
Configure `ufbt` to use the Momentum firmware index:
33+
```bash
34+
> ufbt update --index-url=https://up.momentum-fw.dev/firmware/directory.json
35+
```
36+
3137
### Build Your App
3238
Build your application:
3339
```bash

application.fam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ App(
1212
fap_version="1.3",
1313
fap_commit="1602e6c14b8ced22ebe3f82dbe1fab5317071b30",
1414
fap_icon="icons/hex_10px.png",
15+
fap_icon_assets="icons",
1516
fap_category="Games",
1617
fap_author="Mentoster",
1718
fap_description="Arrow Speed Game",

flipper_hero.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "data/data.h"
55
#include "view/arrows.h"
66
#include "helpers/storage.h"
7+
#include "flipper_hero_icons.h"
78

89
#define MIN_ARROWS 3
910
#define MAX_ARROWS 8

0 commit comments

Comments
 (0)