Commit Graph

26 Commits

Author SHA1 Message Date
daishengdong
7f4b0b2582 add fatfs through vfs for EVB plus
1. see board\TencentOS_tiny_EVB_MX_Plus\KEIL\fatfs_through_vfs
2020-06-02 21:31:11 +08:00
acevest
861966412b add interface for lcd 2020-04-25 19:36:00 +08:00
acevest
03b3141166 add lcd show nrf24 data 2020-04-21 21:04:07 +08:00
acevest
3c592b5f11 TencentOS tiny EVB_MX & Sipeed Longan nano support nrf24l01 2020-04-21 14:34:21 +08:00
acevest
0042676b27 move nrf24l01 code to devices 2020-04-21 14:34:21 +08:00
acevest
b3f83445ff send string data 2020-04-21 14:34:21 +08:00
acevest
ca2743c09d clean code 2020-04-21 14:34:21 +08:00
acevest
c3204264e9 add test nrf_rx nrf_tx test code 2020-04-21 14:34:21 +08:00
acevest
7e519fba6a fix bug in nrf_enable_rxaddr 2020-04-21 14:34:21 +08:00
acevest
1585e3731b sipeed longan nano support nrf24 & lcd & led 2020-04-21 14:34:21 +08:00
acevest
b962ab14f3 add led blink when recv data from nrf24l01 2020-04-21 14:34:21 +08:00
acevest
0b517ab630 nrf24l01 support irq recv 2020-04-21 14:34:21 +08:00
acevest
dde50162fb fix spi bug when read/write gd32v peripherals 2020-04-21 14:34:21 +08:00
acevest
81cf6f0c23 debug nrf24 on longan nano 2020-04-21 14:34:21 +08:00
acevest
5e87b05e0c sipeed longan nano add nrf24l01 2020-04-21 14:34:21 +08:00
daishengdong
c9556307df add tos_slist.h, rename tos.h to tos_k.h 2020-01-03 17:25:38 +08:00
acevest
b49d6d8862 fix character encoding 2019-11-07 13:27:28 +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
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
acevest
04ce46711d add lcd code for longan nano 2019-10-19 00:48:15 +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
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
acevest
3ee394db8a use relative path 2019-10-14 10:43:00 +08:00
acevest
26fcdde2e9 rename board path 2019-10-14 00:05:08 +08:00