Files
gfps/2.1+Project+工程enable对应功能.md
danni_dong bdbb2527e6
All checks were successful
Sync To /home/ubuntu/gfps / sync (push) Successful in 2s
gfps: 添加认证测试和FAQ 20260505
Change-Id: I71e676b997159a141ca07d16f82a73b45f4b2410
2026-05-05 19:24:08 +08:00

50 lines
4.3 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.
# 2.1 Project 工程enable对应功能
<span style="color: rgb(166,38,164);">app_flags.h 里面找到 <span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_XXX 相关的宏并按照以下信息配置</span></span>
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">                        </span><span style="color: rgb(152,104,1);">1</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_LE_DEVICE_SUPPORT</span><span style="color: rgb(56,58,66);">                      (0 && </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_SASS_SUPPORT</span><span style="color: rgb(56,58,66);">                              (0 && </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_FINDER_SUPPORT</span><span style="color: rgb(56,58,66);">                          (1 && </span><span style="color: rgb(64,120,242);">CONFIG_REALTEK_GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>
<span style="color: rgb(56,58,66);">GFPS依赖的其他的模块</span>
\#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
\#if CONFIG_REALTEK_GFPS_FINDER_SUPPORT\
\#undef F_APP_PERIODIC_WAKEUP\
\#define F_APP_PERIODIC_WAKEUP                            0// default not enable\
\#endif\
\#endif
\
<span style="color: rgb(152,104,1);">Note:</span>
<span style="color: rgb(152,104,1);">有的IC宏的名字是 GFPS_XXX, <span style="color: rgb(166,38,164);">app_flags.h 里面找到 <span style="color: rgb(64,120,242);">GFPS_XXX 相关的宏并按照以下信息配置</span></span></span>
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">                        </span><span style="color: rgb(152,104,1);">1</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">GFPS_LE_DEVICE_SUPPORT</span><span style="color: rgb(56,58,66);">                      (0 && </span><span style="color: rgb(64,120,242);">GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">GFPS_SASS_SUPPORT</span><span style="color: rgb(56,58,66);">                              (0 && </span><span style="color: rgb(64,120,242);">GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>\
<span style="color: rgb(166,38,164);">\#define</span><span style="color: rgb(56,58,66);"> </span><span style="color: rgb(64,120,242);">GFPS_FINDER_SUPPORT</span><span style="color: rgb(56,58,66);">                          (1 && </span><span style="color: rgb(64,120,242);">GFPS_FEATURE_SUPPORT</span><span style="color: rgb(56,58,66);">)</span>
<span style="color: rgb(56,58,66);">GFPS依赖的其他的模块</span>
\#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
\#if GFPS_FINDER_SUPPORT\
\#undef F_APP_PERIODIC_WAKEUP\
\#define F_APP_PERIODIC_WAKEUP                            0// default not enable\
\#endif\
\#endif