微信扫码登录
3
8
51
不屈白银
void app_task(void) { printf("-------app_task-------\n"); static bool assocPermit = 0; if(assocPermit != zb_getMacAssocPermit()){ assocPermit = zb_getMacAssocPermit(); if(assocPermit){ led_on(LED_PERMIT); }else{ led_off(LED_PERMIT); } } if(BDB_STATE_GET() == BDB_STATE_IDLE){ printf("-------app_key_handler-------\n"); app_key_handler(); } }
举报
27
305
974
版主
#if defined(MCU_CORE_826x) #if !PA_ENABLE #define BOARD BOARD_826x_DONGLE #else #define BOARD BOARD_826x_DONGLE_PA #endif #define CLOCK_SYS_CLOCK_HZ 32000000 #elif defined(MCU_CORE_8258) #define BOARD BOARD_8258_EVK_V1P2//使用EVK开发板 #define CLOCK_SYS_CLOCK_HZ 48000000 #else #error "MCU is undefined!" #endif
TL_YB 发表于 2024-12-26 18:54 可以参考demo,将app_cfg.h中的BOARD定义改为BOARD_8258_EVK_V1P2。 《---myCode-C---》
本版积分规则 发表回复 回帖后跳转到最后一页
Telink forum ( 沪ICP备17008231号-1 )
GMT+8, 2025-7-12 13:29 , Processed in 0.108716 second(s), 20 queries .
Powered by Telink 隐私政策
泰凌微电子版权所有 © 。保留所有权利。 2024