mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Launch SubGhz from SD (runs internal subghz) --nobuild
This commit is contained in:
@@ -18,8 +18,21 @@ App(
|
||||
fap_libs=["hwdrivers"],
|
||||
fap_icon="icon.png",
|
||||
fap_category="Sub-GHz",
|
||||
sdk_headers=["subghz_fap.h"],
|
||||
)
|
||||
|
||||
App(
|
||||
appid="subghz_fap",
|
||||
name="SubGHz",
|
||||
apptype=FlipperAppType.EXTERNAL,
|
||||
entry_point="subghz_fap",
|
||||
stack_size=3 * 1024,
|
||||
sources=["subghz_fap.c"],
|
||||
fap_icon="icon.png",
|
||||
fap_category="Sub-GHz",
|
||||
)
|
||||
|
||||
|
||||
App(
|
||||
appid="subghz_start",
|
||||
targets=["f7"],
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <applications/main/archive/helpers/archive_helpers_ext.h>
|
||||
#include <xtreme/xtreme.h>
|
||||
|
||||
#include "subghz_fap.h"
|
||||
|
||||
#define TAG "SubGhzApp"
|
||||
|
||||
bool subghz_custom_event_callback(void* context, uint32_t event) {
|
||||
|
||||
5
applications/main/subghz/subghz_fap.c
Normal file
5
applications/main/subghz/subghz_fap.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "subghz_fap.h"
|
||||
|
||||
int32_t subghz_fap(char* p) {
|
||||
return subghz_app(p);
|
||||
}
|
||||
13
applications/main/subghz/subghz_fap.h
Normal file
13
applications/main/subghz/subghz_fap.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int32_t subghz_app(char* p);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -2,6 +2,7 @@ entry,status,name,type,params
|
||||
Version,+,54.0,,
|
||||
Header,+,applications/drivers/subghz/cc1101_ext/cc1101_ext_interconnect.h,,
|
||||
Header,+,applications/main/archive/helpers/archive_helpers_ext.h,,
|
||||
Header,+,applications/main/subghz/subghz_fap.h,,
|
||||
Header,+,applications/services/applications.h,,
|
||||
Header,+,applications/services/bt/bt_service/bt.h,,
|
||||
Header,+,applications/services/cli/cli.h,,
|
||||
@@ -3139,6 +3140,7 @@ Function,-,strupr,char*,char*
|
||||
Function,-,strverscmp,int,"const char*, const char*"
|
||||
Function,-,strxfrm,size_t,"char*, const char*, size_t"
|
||||
Function,-,strxfrm_l,size_t,"char*, const char*, size_t, locale_t"
|
||||
Function,+,subghz_app,int32_t,char*
|
||||
Function,+,subghz_block_generic_deserialize,SubGhzProtocolStatus,"SubGhzBlockGeneric*, FlipperFormat*"
|
||||
Function,+,subghz_block_generic_deserialize_check_count_bit,SubGhzProtocolStatus,"SubGhzBlockGeneric*, FlipperFormat*, uint16_t"
|
||||
Function,+,subghz_block_generic_get_preset_name,void,"const char*, FuriString*"
|
||||
|
||||
|
Reference in New Issue
Block a user