Commit Graph

40 Commits

Author SHA1 Message Date
KY-zhang-X
525cfda2d8 add bearpi_micropython doc and scripts 2022-10-12 18:53:59 +08:00
KY-zhang-X
3e4ceb8afe add micropython demo on bearpi board 2022-09-29 12:15:02 +08:00
KY-zhang-X
afeaebd1b9 add fatfs_through_vfs demo on bearpi board 2022-09-29 12:13:33 +08:00
KY-zhang-X
1514f1cb9b add w25q64 hardware on bearpi board 2022-09-29 12:07:16 +08:00
KY-zhang-X
f93d0857aa add qspi and sd on bearpi board 2022-09-29 12:05:16 +08:00
mculover666
86bc533bb8 kernel_perf: update to 2.5.1 version 2022-06-02 17:01:58 +08:00
mculover666
a3ac2e56d8 add new qloud-c-sdk component 2022-03-25 10:06:56 +08:00
mculover666
9de2090de9 add support for multi at device 2022-03-01 15:11:30 +08:00
mculover666
d285144a8f fix the bug of tos shell 2021-09-25 12:10:35 +08:00
supowang
8253a953bd fix all board compile for v3.0
fix all board compile for v3.0
2021-08-11 16:30:15 +08:00
mculover666
0193dc6142 add sim idle and log for at, update to 2.4.1 2021-07-16 16:14:54 +08:00
Supowang
51b27e3317 Merge pull request #306 from DavidLin1577/master
Updated sensor_parser.h
2021-07-06 11:43:58 +08:00
mculover666
3aaafde714 add frame input type of at,update version to 2.4.0 2021-06-24 10:39:54 +08:00
mculover666
a1cdea5741 fix the bug in mqttclient_iot_explorer 2021-06-23 20:19:47 +08:00
DavidLin1577
8587e4decb [master]
sync
2021-06-06 21:20:24 +08:00
DavidLin1577
4605e895d3 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	board/BearPi_STM32L431RC/BSP/Hardware/E53_ST1/E53_ST1.c
#	devices/l610_tencent_firmware/mqtt_iot_explorer_tc_demo.c
2021-06-05 23:57:03 +08:00
morixinguan
620bdd623b add at device ml302 && ml302 test demo && modify bearpi bsp bug 2021-03-23 15:15:12 +08:00
morixinguan
81ac365308 add GuiLite demo 2021-01-30 21:40:08 +08:00
morixinguan
e2da4e1f95 delete unrelated file 2021-01-30 11:51:36 +08:00
morixinguan
424b4f729c add BearPi STemWin test demo 2021-01-30 11:26:41 +08:00
David Lin
a91ed45d70 Update E53_ST1.c 2021-01-14 21:21:32 +08:00
David Lin
2042762315 Update E53_ST1.c 2021-01-14 21:17:17 +08:00
David Lin
99e59126c8 Update E53_ST1.h 2021-01-14 21:12:59 +08:00
jiejietop
758af8ce6a add mqttclient demo on BearPi_STM32L431RC board 2020-06-23 19:35:22 +08:00
Supowang
d52febc891 Merge pull request #158 from Mculover666/master
add udp support of ec20
2020-05-12 16:22:41 +08:00
mculover666
3ba5534224 add udp_through project in bearpi 2020-05-12 16:11:12 +08:00
mculover666
f89c02f1c7 add tcp_through project in bearpi 2020-05-12 15:01:31 +08:00
daishengdong
08e5f7b3ec remove old tencentcloud_sdk and abandoned EVB boards 2020-05-07 16:22:17 +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
b2983383bb add nimble mesh example
need meshctl installed on raspberrypi. nimble offical samples have a lot of pit ...
2019-11-28 11:12:16 +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
daishengdong
c411ed1eec add a set of dyn(create / destroy) interface
1. tos_ring_q_create_dyn
2. tos_chr_fifo_create_dyn
3. tos_msg_q_create_dyn
4. tos_mail_q_create_dyn
5. tos_bin_heap_create_dyn
6. tos_prio_q_create_dyn
7. tos_prio_msg_q_create_dyn
8. tos_prio_mail_q_create_dyn
2019-10-29 16:57:43 +08:00
daishengdong
bd613af56e fix board keil compile 2019-10-28 17:20:08 +08:00
daishengdong
d0b8d0675e add ring queue/message queue/mail queue, binary heap/priority queue/priority message queue/priority mail queue
1. remove the old msg queue and queue:
i. msg queue is not a common and reusable/flexible component(need user to config the msg pool size and this componet can only be used by tos_queue)
ii. tos_queue can only deliver the pointer message(cannot do a memory buffer deliver)

2. add ring queue(tos_ring_q) componet
rinq queue can be reused by tos_chr_fifi/tos_msg_q/tos_mail_q as the foundational data container

3. add message queue(tos_msg_q)
a little like the old queue mechanism, supply the capability to deliver a pointer message

4. add mail queue(tos_mail_q)
supply the capability to deliver a memory buffer

5. add binary heap(tos_bin_heap)
the basement componet to implement priority queue

6. add priority queue(tos_prio_q)
can be reused by the priority message/mail queue  as the foundational data container.

7. add priority message queue(tos_prio_msg_q)
a message(pointer) deliver mechanism, supply the capability of delivering the message with priority(message with higher priority comes faster to the pender than with lower)

8. add priority mail queue(tos_prio_mail_q)
a mail(memory buffer) deliver mechanism, supply the capability of delivering the mail with priority(mail with higher priority comes faster to the pender than with lower)
2019-10-28 15:50:46 +08:00
daishengdong
06cae326a2 add API (tos_task_create_dyn & tos_task_walkthru & tos_task_curr_task_get)
tos_task_create_dyn: create task with dynamic allocated task handler and stack
tos_task_walkthru: API to walk through the statistic list of all the existing task
tos_task_curr_task_get: get current running task handler
2019-10-23 21:22:13 +08:00
daishengdong
3a8b03432f add tos_mmheap_check & tos_mmheap_pool_check API and TOS_CFG_MMHEAP_DEFAULT_POOL_EN switch
tos_mmheap_check: get the information of the heap(space that is free and used)
tos_mmheap_pool_check: get the information of a pool
TOS_CFG_MMHEAP_DEFAULT_POOL_EN: enable the default pool of the heap(if user not set this, a default of 1u is set). if you wanna disable the default pool, you should call tos_mmheap_pool_add to add your own pool of the heap before tos_mmheap_alloc is called.
2019-10-14 22:09:57 +08:00
mculover666
5e9aefb90a add support for gcc 2019-09-21 21:50:55 +08:00
mculover666
ccdefc11ec fix the floder name bug 2019-09-21 21:19:15 +08:00