Commit Graph

7 Commits

Author SHA1 Message Date
morixinguan
620bdd623b add at device ml302 && ml302 test demo && modify bearpi bsp bug 2021-03-23 15:15:12 +08:00
David Lin
a91ed45d70 Update E53_ST1.c 2021-01-14 21:21:32 +08:00
mculover666
1eb296721c 增加BearPi+ESP8266+MQTT上云工程 2020-04-29 16:17:18 +08:00
daishengdong
72481955e2 a very simple shell framework
simple, clear, easy to DIY
2020-01-08 13:54:56 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00
daishengdong
96cf620708 a bugfix for mail queue and printf clipping switch
1. add TOS_CFG_LIBC_PRINTF_EN
1: enable printf to implement tos_kprintf
when you call tos_kprintf(actually currently it's a MACRO rather than a function) , the libc will be invloved into the image, most of the time it means a larger image size.

0: disable printf, means tos_kprintf is defined as an empty MACRO
most of the time, means you will not get a log output from the uart(currently we donnot have a console yet) but a smaller image size.

2. fix a bug of tos_mail_q and tos_priority_mail_q
if we are post-ing a mail and there is[are] task[s] just pend-ing for the mail queue, the mail delivered to the pend-er will be a pointer, and probably it's a pointer to the local variable on the stack. Actually we should do a memcpy rather than a pointer assignment. for more details, see the patch.
2019-11-25 21:04:37 +08:00
mculover666
ccdefc11ec fix the floder name bug 2019-09-21 21:19:15 +08:00