idf_component_register(SRCS "main.c" INCLUDE_DIRS "." PRIV_REQUIRES emm_v5 magnet servo key web_ctrl protocol rgb actuator buzzer) # 调试开关: 启用 WiFi + Web 服务器 (消除 IDE 未定义警告) # target_compile_definitions(${COMPONENT_LIB} PRIVATE EDC_DEBUG_WEB)