Files
gfps/1.1+Project+工程enable对应功能.md
2026-05-01 10:06:36 +08:00

46 lines
2.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 1.1 Project 工程enable对应功能 {#project-工程enable对应功能}
::: {.Section1}
app_flags.h 里面找到 [CONFIG_REALTEK_GFPS_XXX 相关的宏并按照以下信息配置:]{style="color: rgb(166,38,164);"}
\#define CONFIG_REALTEK_GFPS_FEATURE_SUPPORT                         1\
\#define CONFIG_REALTEK_GFPS_LE_DEVICE_SUPPORT                      (0 && CONFIG_REALTEK_GFPS_FEATURE_SUPPORT)\
\#define CONFIG_REALTEK_GFPS_SASS_SUPPORT                              (0 && CONFIG_REALTEK_GFPS_FEATURE_SUPPORT)\
\#define CONFIG_REALTEK_GFPS_FINDER_SUPPORT                          (0 && CONFIG_REALTEK_GFPS_FEATURE_SUPPORT)
GFPS依赖的其他的模块
\#if CONFIG_REALTEK_GFPS_FEATURE_SUPPORT\
\#undef F_APP_RWS_BLE_USE_RPA_SUPPORT\
\#define F_APP_RWS_BLE_USE_RPA_SUPPORT                                   1
\#undef F_APP_SC_KEY_DERIVE_SUPPORT\
\#define F_APP_SC_KEY_DERIVE_SUPPORT                                        1\
\#endif
\
Note:
有的IC宏的名字是GFPS_XXX, [app_flags.h 里面找到 [GFPS_XXX 相关的宏并按照以下信息配置:]{style="color: rgb(166,38,164);"}]{style="color: rgb(152,104,1);"}
\#define GFPS_FEATURE_SUPPORT                                                   1\
\#define GFPS_LE_DEVICE_SUPPORT                                                (0 && GFPS_FEATURE_SUPPORT)\
\#define GFPS_SASS_SUPPORT                                                        (0 && GFPS_FEATURE_SUPPORT)\
\#define GFPS_FINDER_SUPPORT                                                    (0 && GFPS_FEATURE_SUPPORT)
GFPS依赖的其他的模块
\#if GFPS_FEATURE_SUPPORT\
\#undef F_APP_RWS_BLE_USE_RPA_SUPPORT\
\#define F_APP_RWS_BLE_USE_RPA_SUPPORT               1
\#undef F_APP_SC_KEY_DERIVE_SUPPORT\
\#define F_APP_SC_KEY_DERIVE_SUPPORT                   1\
\#endif
\
\
:::