Commit Graph

118 Commits

Author SHA1 Message Date
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
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
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
acevest
3ee394db8a use relative path 2019-10-14 10:43:00 +08:00
Supowang1989
a30cf29410 Merge pull request #42 from squallbest/master
NUCLEO_STM32F401RE IAR Project
2019-10-14 10:19:28 +08:00
squallbest
9cac7fa9bb Add NUCLEO_STM32L432KC demo for MDK And IAR
Signed-off-by: squallbest <squall@live0415.com>
2019-10-14 02:38:25 +08:00
acevest
26fcdde2e9 rename board path 2019-10-14 00:05:08 +08:00
acevest
4566aefe14 add risc-v debug env doc 2019-10-13 23:48:38 +08:00
squallbest
88aa909efb NUCLEO_STM32F401RE IAR Project
Signed-off-by: squallbest <squall@live0415.com>
2019-10-13 23:21:23 +08:00
supowang
9a2b4f31dc Repair partial scrambling for stm32f401 2019-10-12 17:11:51 +08:00
Supowang1989
3850cae4b2 Merge pull request #38 from squallbest/master
NUCLEO_STM32F401RE
2019-10-12 17:08:31 +08:00
supowang
d6fef329f5 update lvgl demo 2019-10-12 16:54:39 +08:00
squallbest
b4c4b81f9f NUCLEO_STM32F401RE
Signed-off-by: squallbest <squall@live0415.com>
2019-10-12 14:58:40 +08:00
supowang
3260ba3161 add LittlevGL demo
add LittlevGL demo on stm32f746 discovery board
2019-10-12 14:57:31 +08:00
squallbest
575a62b72b NUCLEO_STM32F401RE
Signed-off-by: squallbest <squall@live0415.com>
2019-10-12 14:57:31 +08:00
daishengdong
c13fb9a1fa make 51822 xxAC compile ok
currently we DONOT have a 51822 xxAC(we only have xxAA of which the ram is only 16k which is too small to porting nimble, means currently the nimble ble on 51822 probably may not work). xxAC is coming soon(on EMS), I will make nimble on 51822 xxAC later.
2019-10-12 12:17:17 +08:00
supowang
ea600fcbca Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny 2019-10-10 21:01:23 +08:00
supowang
7150e5bdaf add stm32f746 discovery support 2019-10-10 21:01:16 +08:00
Supowang1989
0950aeb3cd Merge pull request #37 from acevest/add_sipeed_longan_nano
add risc-v board Sipeed Longan Nano support
2019-10-10 19:02:23 +08:00
acevest
41051e1452 add risc-v board Sipeed Longan Nano support 2019-10-10 18:42:52 +08:00
SheldonDai
180f0e6128 add nrf52840 blehr support 2019-10-10 16:50:17 +08:00
supowang
ac82e30f28 Merge branch 'master' of https://github.com/Tencent/TencentOS-tiny 2019-10-10 14:53:50 +08:00