Search found 6 matches

by mmmmar
Sun May 14, 2017 2:14 pm
Forum: ESP8266 SDK
Topic: esp8266内存对齐问题
Replies: 0
Views: 806

esp8266内存对齐问题

请问8266内存读写是几字节对齐的?我在文档上看到需要四字节对齐

Code: Select all

struct rfid_task {
   uint8 len;
   uint8 uid[10];
   int16_t task_id;
};

但是我定义一个这样的结构体sizeof的结果确实14,而不是16
by mmmmar
Thu May 04, 2017 10:01 pm
Forum: ESP8266 SDK
Topic: 关于station_connect函数
Replies: 0
Views: 759

关于station_connect函数

请问这个函数可以在rtos中可以在任何地方调用吗?比如定时器回调函数,wifi状态改变的回调函数中,热点扫描的回调函数中。谢谢
by mmmmar
Sat Feb 11, 2017 11:23 am
Forum: ESP8266 SDK
Topic: 求助at_customLinkMax的作用
Replies: 1
Views: 939

求助at_customLinkMax的作用

对于这个变量,官方说明如下

at_customLinkMax:用户自定义最大网络连接数的全局变量,最大可为10, 必须在at_init之前设置,否则默认最大连接数为5.

我想知道这个网络连接数具体指的是什么,谢谢。
by mmmmar
Thu Feb 09, 2017 7:52 pm
Forum: ESP8266 SDK
Topic: wrong comments in nonos_sdk
Replies: 1
Views: 621

wrong comments in nonos_sdk

in espconn.h /****************************************************************************** * FunctionName : espconn_port * Description : access port value for client so that we don't end up bouncing * all connections at the same time . * Parameters : none * Returns : access port value ************...
by mmmmar
Thu Jan 26, 2017 2:16 pm
Forum: ESP8266 SDK
Topic: Build example project with esp-open-sdk
Replies: 1
Views: 1117

Build example project with esp-open-sdk

when I build the example at project in ESP8266_NONOS_SDK_V2.0.0_16_08_10, it failed. I have built the sdk with "make STANDALONE=y" and copyed the project to path/esp-open-sdk/sdk/at mmmmar@acer:$ ./gen_misc.sh gen_misc.sh version 20150511 Please follow below steps(1-5) to generate specific...
by mmmmar
Thu Jan 26, 2017 10:30 am
Forum: ESP8266 SDK
Topic: Compilation error on ESP8266_RTOS_SDK : ./make_lib.sh driver reports error
Replies: 2
Views: 1273

Re: Compilation error on ESP8266_RTOS_SDK : ./make_lib.sh driver reports error

Hi
you can just add

Code: Select all

#include "esp8266/gpio_register.h"
#include "esp8266/eagle_soc.h"


in i2c_master.c

Go to advanced search