Commit Graph

138 Commits

Author SHA1 Message Date
daishengdong
943db74fc7 merge new qcloud sdk
1. qcloud has a great revolution, the protocol has been changed to implement data template, so the old TencentCloud_SDK developed by us will not work fine now(mqtt still works, but data template will not works fine for recently created product/devices).

2. I merge the official qlcoud sdk(include both the iot-hub and iot-explorer sdk) into the componet/conectivity to support new protocol of data template

3. iot-hub sdk, supply the fundamental iot protocol(like mqtt coap, etc.)
iot-explorer sdk, supply the high level service like data template based on mqtt

4. To know how it works, see qcloud_iot_explorer_sdk_data_template、qcloud_iot_hub_sdk_mqtt example(keil project in board\TencentOS_tiny_EVB_MX_Plus\KEIL\qcloud_iot_explorer_sdk_data_template and  board\TencentOS_tiny_EVB_MX_Plus\KEIL\qcloud_iot_hub_sdk_mqtt)
2019-11-14 15:09:00 +08:00
supowang
5d86548c23 add LTE dtu sim7600ce 4G module tcp test 2019-11-13 16:17:21 +08:00
daishengdong
0700d27b70 add more nimble example
1. make heart rate sensor example really work
using nRF Toolbox HRM
2. add master device scan example
3. add gatt server example(seems not working)
2019-11-12 19:56:52 +08:00
mybays
8c706242d5 tos config 2019-11-08 16:51:44 +08:00
mybays
6df0dcd195 add NUCLEO_STM32L452RE support 2019-11-08 16:40:48 +08:00
mybays
67ce1afba2 Merge pull request #2 from Tencent/master
merge to trunk
2019-11-08 16:24:38 +08:00
supowang
a6c9c76556 fix EVB_MX_Plus gcc makefile bug 2019-11-07 19:03:24 +08:00
supowang
6341168f8e add GD32450i-EVAL board support 2019-11-06 17:01:50 +08:00
supowang
d5e0cc08b2 add gd32E103 eval board support 2019-11-04 19:28:37 +08:00
supowang
7a438511ad add gd32F130 & F303 support 2019-10-31 19:59:28 +08:00
dcxajichu
8c24d921b0 support aliyun sdk on TencentOS tiny
sample: examples\aliyun_iotkit_csdk_mqtt
project: board\TencentOS_tiny_EVB_MX_Plus\KEIL\aliyun_iotkit_csdk_mqtt
2019-10-31 16:36:28 +08:00
Supowang1989
f63d2d4e48 Merge pull request #56 from thelittlehan/master
linux port更新
2019-10-30 19:16:36 +08:00
supowang
ca994901db add GD32E230C_START support 2019-10-30 17:44:37 +08:00
Chen Han
2472c4868c use signal replace poll 2019-10-30 16:40:42 +08:00
Supowang1989
4080ef371c Merge pull request #55 from thelittlehan/master
添加linux下mqtt运行demo
2019-10-30 12:19:16 +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
Chen Han
2264a028ac add readme step 2019-10-29 15:45:21 +08:00
Chen Han
ce71db8801 to focus mqtt_config.h 2019-10-29 15:44:59 +08:00
Chen Han
70ff2dad56 add mqtt demo 2019-10-29 15:12:36 +08:00
supowang
23e852a41a fix iar compile error for kernel change 2019-10-28 17:36:42 +08:00
supowang
e53c032689 fix board compile for kernel change 2019-10-28 17:25:09 +08:00
daishengdong
bd613af56e fix board keil compile 2019-10-28 17:20:08 +08:00
daishengdong
7e11e4f009 fix apollo stm32f767 keil compile 2019-10-28 16:07:56 +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
supowang
f35b725a59 rollback some project 2019-10-28 11:16:18 +08:00
Supowang1989
080f2e468b Merge pull request #52 from animala/master
移植M23,谢谢
2019-10-28 11:08:59 +08:00
mybays
da935aa5a3 Merge pull request #1 from Tencent/master
update to trunk
2019-10-25 18:57:55 +08:00
Grey Huang
f092814891 return 2019-10-25 18:54:43 +08:00
Grey Huang
b76a703108 change files 2019-10-25 18:47:35 +08:00
Chen Han
d27bafc82e add transplant to linux 2019-10-25 17:27:54 +08:00
Grey Huang
112704aa8a 参加移植大赛 2019-10-25 16:24:23 +08:00
supowang
135842b966 add gd32v eval lcd display support 2019-10-24 16:07:48 +08:00
supowang
b5b55cff39 Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny 2019-10-24 11:36:59 +08:00
supowang
7b9b895838 add GD32VF103C_EVAL support 2019-10-24 11:36:41 +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
Supowang1989
c4d928a42b Merge pull request #50 from acevest/longan_nano_lcd
add LCD driver for longan nano
2019-10-21 10:14:41 +08:00
acevest
04ce46711d add lcd code for longan nano 2019-10-19 00:48:15 +08:00
acevest
55c3d82750 fix chinese font memory waste 2019-10-18 20:33:46 +08:00
supowang
3fdca943d8 add evb_mx_plus support 2019-10-18 17:39:59 +08:00
supowang
32416ce02d add stm32 nucleo lora pack support
add stm32 nucleo lora  pack support
2019-10-18 16:20:42 +08:00
acevest
f4d5ff70b2 bumblebee use eclic_mtip_handler as systick handler 2019-10-16 18:16:42 +08:00
acevest
f41e287c2a risc-v support all irq handler 2019-10-16 18:10:03 +08:00
supowang
7983b07386 Update tos_config.h 2019-10-16 14:10:07 +08:00
Supowang1989
1c65982076 Merge pull request #46 from squallbest/master
Add  NUCLEO_STM32L496ZG Keil And IAR Project
2019-10-16 10:52:44 +08:00
squallbest
881435a2a9 Add NUCLEO_STM32L496ZG Keil And IAR Project
Signed-off-by: squallbest <squall@live0415.com>
2019-10-16 05:59:31 +08:00
supowang
2ef46f91fa rename TOS_CFG_MMHEAP_DEFAULT_POOL_EN
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-15 14:26:08 +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
daishengdong
98b7434097 Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny 2019-10-14 19:45:37 +08:00
daishengdong
56f4f82dd2 make nrf51822 nimble blehr work 2019-10-14 19:45:24 +08:00
Supowang1989
9920ba4878 Merge pull request #44 from acevest/rename_board
Rename board path
2019-10-14 11:55:04 +08:00