Merge remote-tracking branch 'upstream/dev' into nfcf

This commit is contained in:
nullableVoidPtr
2023-05-07 21:25:03 +08:00
168 changed files with 3731 additions and 2119 deletions
+1
View File
@@ -7,6 +7,7 @@ env.Append(
SDK_HEADERS=[
File("flipper_format.h"),
File("flipper_format_i.h"),
File("flipper_format_stream.h"),
],
)
-3
View File
@@ -7,9 +7,6 @@ env.Append(
"#/lib/FreeRTOS-Kernel/portable/GCC/ARM_CM4F",
"#/lib/FreeRTOS-glue",
],
CPPDEFINES=[
"HAVE_FREERTOS",
],
)
+5 -3
View File
@@ -4,9 +4,6 @@ env.Append(
CPPPATH=[
"#/lib/libusb_stm32/inc",
],
CPPDEFINES=[
("USB_PMASIZE", "0x400"),
],
SDK_HEADERS=env.GlobRecursive(
"*.h",
Dir("libusb_stm32/inc"),
@@ -16,6 +13,11 @@ env.Append(
libenv = env.Clone(FW_LIB_NAME="usb_stm32")
libenv.ApplyLibFlags()
libenv.Append(
CPPDEFINES=[
("USB_PMASIZE", "0x400"),
],
)
sources = [
+5 -3
View File
@@ -4,14 +4,16 @@ env.Append(
CPPPATH=[
"#/lib/littlefs",
],
CPPDEFINES=[
("LFS_CONFIG", "lfs_config.h"),
],
)
libenv = env.Clone(FW_LIB_NAME="littlefs")
libenv.ApplyLibFlags()
libenv.Append(
CPPDEFINES=[
("LFS_CONFIG", "lfs_config.h"),
],
)
sources = Glob("littlefs/*.c", source=True)
+2 -2
View File
@@ -1,7 +1,7 @@
Import("env")
from fbt.util import GLOB_FILE_EXCLUSION
Import("env")
env.Append(
CPPPATH=[
"#/lib/digital_signal",
+2
View File
@@ -16,6 +16,7 @@ SubGhzEnvironment* subghz_environment_alloc() {
instance->protocol_registry = NULL;
instance->came_atomo_rainbow_table_file_name = NULL;
instance->nice_flor_s_rainbow_table_file_name = NULL;
instance->alutech_at_4n_rainbow_table_file_name = NULL;
return instance;
}
@@ -26,6 +27,7 @@ void subghz_environment_free(SubGhzEnvironment* instance) {
instance->protocol_registry = NULL;
instance->came_atomo_rainbow_table_file_name = NULL;
instance->nice_flor_s_rainbow_table_file_name = NULL;
instance->alutech_at_4n_rainbow_table_file_name = NULL;
subghz_keystore_free(instance->keystore);
free(instance);
+2 -2
View File
@@ -1,8 +1,8 @@
Import("env")
from fbt.version import get_fast_git_version_id
Import("env")
env.Append(
CPPPATH=[
"#/lib/toolbox",