AliOS-Things ESP8266 配网 学习
AliOS-Things ESP8266 配网 学习 1、环境搭建 2、流程 1、环境搭建 参考官网 2、流程 确认流程通过浏览源码、增加打印以及查看打印来确认,如果遇到乐鑫SDK的函数,不作详细说明。 platform\mcu\esp8266\bsp\entry.c static kinit_t kinit = { . argc = 0 , . argv = NULL , . cli_enable = 1 } ; static void app_entry ( void * arg ) { aos_components_init ( & kinit ) ; # ifndef AOS_BINS application_start ( kinit . argc , kinit . argv ) ; /* jump to app/example entry */ # endif } extern uart_dev_t uart_0 ; extern hal_wifi_module_t aos_wifi_esp8266 ; void user_init ( void ) { int ret = 0 ; extern int32_t hal_uart_init ( uart_dev_t * uart ) ; extern void key_gpio_init ( void ) ; key