Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于内存和日志输出问题 #136

Open
mcubuilder opened this issue Apr 3, 2019 · 0 comments
Open

关于内存和日志输出问题 #136

mcubuilder opened this issue Apr 3, 2019 · 0 comments

Comments

@mcubuilder
Copy link

在测试使用ali的IoT是发现个问题现几个问题.使用rt-thread操作系统
1. MQTT包默认是1K ,所以一大就报错,改成2K,我在调用IOT_MQTT_Publish前申请内存可以申请到,可是调用IOT_MQTT_Publish还是因为申请不到内存报错
2. 产生报错信息无法输出,我重新定义了lite-log-config.h里的打印输出也不对

#define LITE_printf rt_kprintf
#define LITE_sprintf rt_sprintf
#define LITE_snprintf rt_snprintf
#define LITE_vsnprintf rt_vsnprintf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant