This commit is contained in:
ClaraCrazy
2023-07-17 18:23:18 +02:00
7 changed files with 25 additions and 7 deletions

View File

@@ -4,5 +4,6 @@ App(
targets=["f7"],
entry_point="subghz_device_cc1101_ext_ep",
requires=["subghz"],
sdk_headers=["cc1101_ext/cc1101_ext_interconnect.h"],
fap_libs=["hwdrivers"],
)

View File

@@ -12,15 +12,15 @@ void ibutton_scene_delete_confirm_on_enter(void* context) {
widget_add_button_element(
widget, GuiButtonTypeRight, "Delete", ibutton_widget_callback, context);
furi_string_printf(tmp, "Delete %s?", ibutton->key_name);
widget_add_string_element(
widget, 128 / 2, 0, AlignCenter, AlignTop, FontPrimary, furi_string_get_cstr(tmp));
furi_string_printf(tmp, "\e#Delete %s?\e#", ibutton->key_name);
widget_add_text_box_element(
widget, 0, 0, 128, 23, AlignCenter, AlignCenter, furi_string_get_cstr(tmp), false);
furi_string_reset(tmp);
ibutton_protocols_render_brief_data(ibutton->protocols, key, tmp);
widget_add_string_multiline_element(
widget, 128 / 2, 16, AlignCenter, AlignTop, FontSecondary, furi_string_get_cstr(tmp));
widget, 128 / 2, 24, AlignCenter, AlignTop, FontSecondary, furi_string_get_cstr(tmp));
view_dispatcher_switch_to_view(ibutton->view_dispatcher, iButtonViewWidget);
furi_string_free(tmp);

View File

@@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,34.1,,
Version,+,34.2,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@@ -82,6 +82,7 @@ Header,+,firmware/targets/furi_hal_include/furi_hal_usb_hid_u2f.h,,
Header,+,firmware/targets/furi_hal_include/furi_hal_version.h,,
Header,+,firmware/targets/furi_hal_include/furi_hal_vibro.h,,
Header,+,lib/digital_signal/digital_signal.h,,
Header,+,lib/drivers/cc1101_regs.h,,
Header,+,lib/flipper_application/api_hashtable/api_hashtable.h,,
Header,+,lib/flipper_application/api_hashtable/compilesort.hpp,,
Header,+,lib/flipper_application/flipper_application.h,,
1 entry status name type params
2 Version + 34.1 34.2
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
82 Header + firmware/targets/furi_hal_include/furi_hal_version.h
83 Header + firmware/targets/furi_hal_include/furi_hal_vibro.h
84 Header + lib/digital_signal/digital_signal.h
85 Header + lib/drivers/cc1101_regs.h
86 Header + lib/flipper_application/api_hashtable/api_hashtable.h
87 Header + lib/flipper_application/api_hashtable/compilesort.hpp
88 Header + lib/flipper_application/flipper_application.h

View File

@@ -1,5 +1,6 @@
entry,status,name,type,params
Version,+,34.1,,
Version,+,34.2,,
Header,+,applications/drivers/subghz/cc1101_ext/cc1101_ext_interconnect.h,,
Header,+,applications/main/archive/helpers/favorite_timeout.h,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
@@ -91,6 +92,7 @@ Header,+,firmware/targets/furi_hal_include/furi_hal_version.h,,
Header,+,firmware/targets/furi_hal_include/furi_hal_vibro.h,,
Header,+,lib/digital_signal/digital_signal.h,,
Header,+,lib/drivers/rgb_backlight.h,,
Header,+,lib/drivers/cc1101_regs.h,,
Header,+,lib/flipper_application/api_hashtable/api_hashtable.h,,
Header,+,lib/flipper_application/api_hashtable/compilesort.hpp,,
Header,+,lib/flipper_application/flipper_application.h,,
@@ -197,6 +199,7 @@ Header,+,lib/subghz/blocks/encoder.h,,
Header,+,lib/subghz/blocks/generic.h,,
Header,+,lib/subghz/blocks/math.h,,
Header,+,lib/subghz/devices/cc1101_configs.h,,
Header,+,lib/subghz/devices/cc1101_int/cc1101_int_interconnect.h,,
Header,+,lib/subghz/environment.h,,
Header,+,lib/subghz/protocols/raw.h,,
Header,+,lib/subghz/receiver.h,,
@@ -2807,6 +2810,7 @@ Function,+,subghz_custom_btn_get_original,uint8_t,
Function,+,subghz_custom_btn_is_allowed,_Bool,
Function,+,subghz_custom_btn_set,_Bool,uint8_t
Function,+,subghz_custom_btns_reset,void,
Function,-,subghz_device_cc1101_ext_ep,const FlipperAppPluginDescriptor*,
Function,+,subghz_devices_begin,_Bool,const SubGhzDevice*
Function,+,subghz_devices_deinit,void,
Function,+,subghz_devices_end,void,const SubGhzDevice*
@@ -3774,6 +3778,7 @@ Variable,+,sequence_set_vibro_on,const NotificationSequence,
Variable,+,sequence_single_vibro,const NotificationSequence,
Variable,+,sequence_solid_yellow,const NotificationSequence,
Variable,+,sequence_success,const NotificationSequence,
Variable,-,subghz_device_cc1101_int,const SubGhzDevice,
Variable,+,subghz_device_cc1101_preset_2fsk_dev2_38khz_async_regs,const uint8_t[],
Variable,+,subghz_device_cc1101_preset_2fsk_dev47_6khz_async_regs,const uint8_t[],
Variable,+,subghz_device_cc1101_preset_gfsk_9_99kb_async_regs,const uint8_t[],
1 entry status name type params
2 Version + 34.1 34.2
3 Header + applications/drivers/subghz/cc1101_ext/cc1101_ext_interconnect.h
4 Header + applications/main/archive/helpers/favorite_timeout.h
5 Header + applications/services/bt/bt_service/bt.h
6 Header + applications/services/cli/cli.h
92 Header + firmware/targets/furi_hal_include/furi_hal_vibro.h
93 Header + lib/digital_signal/digital_signal.h
94 Header + lib/drivers/rgb_backlight.h
95 Header + lib/drivers/cc1101_regs.h
96 Header + lib/flipper_application/api_hashtable/api_hashtable.h
97 Header + lib/flipper_application/api_hashtable/compilesort.hpp
98 Header + lib/flipper_application/flipper_application.h
199 Header + lib/subghz/blocks/generic.h
200 Header + lib/subghz/blocks/math.h
201 Header + lib/subghz/devices/cc1101_configs.h
202 Header + lib/subghz/devices/cc1101_int/cc1101_int_interconnect.h
203 Header + lib/subghz/environment.h
204 Header + lib/subghz/protocols/raw.h
205 Header + lib/subghz/receiver.h
2810 Function + subghz_custom_btn_is_allowed _Bool
2811 Function + subghz_custom_btn_set _Bool uint8_t
2812 Function + subghz_custom_btns_reset void
2813 Function - subghz_device_cc1101_ext_ep const FlipperAppPluginDescriptor*
2814 Function + subghz_devices_begin _Bool const SubGhzDevice*
2815 Function + subghz_devices_deinit void
2816 Function + subghz_devices_end void const SubGhzDevice*
3778 Variable + sequence_single_vibro const NotificationSequence
3779 Variable + sequence_solid_yellow const NotificationSequence
3780 Variable + sequence_success const NotificationSequence
3781 Variable - subghz_device_cc1101_int const SubGhzDevice
3782 Variable + subghz_device_cc1101_preset_2fsk_dev2_38khz_async_regs const uint8_t[]
3783 Variable + subghz_device_cc1101_preset_2fsk_dev47_6khz_async_regs const uint8_t[]
3784 Variable + subghz_device_cc1101_preset_gfsk_9_99kb_async_regs const uint8_t[]

View File

@@ -6,6 +6,7 @@ env.Append(
],
SDK_HEADERS=[
File("rgb_backlight.h"),
File("cc1101_regs.h"),
],
)

View File

@@ -22,6 +22,7 @@ env.Append(
File("subghz_setting.h"),
File("subghz_protocol_registry.h"),
File("devices/cc1101_configs.h"),
File("devices/cc1101_int/cc1101_int_interconnect.h"),
],
)

View File

@@ -321,7 +321,16 @@ class AppBuildset:
def get_sdk_headers(self):
sdk_headers = []
for app in self.apps:
sdk_headers.extend([app._appdir.File(header) for header in app.sdk_headers])
sdk_headers.extend(
[
src._appdir.File(header)
for src in [
app,
*(plugin for plugin in app._plugins),
]
for header in src.sdk_headers
]
)
return sdk_headers
def get_apps_of_type(self, apptype: FlipperAppType, all_known: bool = False):