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)
This commit is contained in:
@@ -22,242 +22,12 @@ Dialog DLL: TCM.DLL V1.36.1.0
|
||||
|
||||
<h2>Project:</h2>
|
||||
D:\github\TencentOS-tiny\board\Nordic_NRF52832\KEIL\blehr\TencentOS_tiny.uvprojx
|
||||
Project File Date: 10/10/2019
|
||||
Project File Date: 10/28/2019
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
||||
Rebuild target 'TencentOS_tiny'
|
||||
assembling arm_startup_nrf52.s...
|
||||
compiling mcu_init.c...
|
||||
compiling nrfx_uart.c...
|
||||
compiling nrfx_glue.c...
|
||||
compiling system_nrf52.c...
|
||||
compiling simple_uart.c...
|
||||
compiling nrfx_rtc.c...
|
||||
compiling nrfx_prs.c...
|
||||
assembling port_s.S...
|
||||
compiling rtc.c...
|
||||
..\..\BSP\Src\rtc.c(57): warning: #177-D: function "rtc_config" was declared but never referenced
|
||||
static void rtc_config(void)
|
||||
..\..\BSP\Src\rtc.c: 1 warning, 0 errors
|
||||
compiling tos_cpu.c...
|
||||
compiling port_c.c...
|
||||
compiling tos_event.c...
|
||||
compiling tos_fifo.c...
|
||||
compiling tos_global.c...
|
||||
compiling tos_mmblk.c...
|
||||
compiling tos_msg.c...
|
||||
compiling tos_pend.c...
|
||||
compiling tos_mmheap.c...
|
||||
compiling tos_mutex.c...
|
||||
compiling tos_queue.c...
|
||||
compiling tos_robin.c...
|
||||
compiling tos_sched.c...
|
||||
compiling tos_sem.c...
|
||||
compiling tos_sys.c...
|
||||
compiling tos_task.c...
|
||||
compiling tos_tick.c...
|
||||
compiling tos_time.c...
|
||||
compiling cmsis_os.c...
|
||||
compiling tos_timer.c...
|
||||
compiling main.c...
|
||||
..\..\..\..\examples\blehr\main.c(135): warning: #231-D: declaration is not visible outside of function
|
||||
blehr_tx_hrate(struct os_event *ev)
|
||||
..\..\..\..\examples\blehr\main.c(308): warning: #223-D: function "nimble_port_get_dflt_eventq" declared implicitly
|
||||
ble_npl_callout_init(&blehr_tx_timer, nimble_port_get_dflt_eventq(),
|
||||
..\..\..\..\examples\blehr\main.c(308): warning: #167-D: argument of type "int" is incompatible with parameter of type "struct ble_npl_eventq *"
|
||||
ble_npl_callout_init(&blehr_tx_timer, nimble_port_get_dflt_eventq(),
|
||||
..\..\..\..\examples\blehr\main.c(309): warning: #167-D: argument of type "void (*)(struct os_event *)" is incompatible with parameter of type "ble_npl_event_fn *"
|
||||
blehr_tx_hrate, NULL);
|
||||
..\..\..\..\examples\blehr\main.c(326): warning: #167-D: argument of type "void (*)(void)" is incompatible with parameter of type "k_task_entry_t"
|
||||
nimble_port_tencentos_tiny_init(nimble_port_run);
|
||||
..\..\..\..\examples\blehr\main.c(338): warning: #223-D: function "board_init" declared implicitly
|
||||
board_init();
|
||||
..\..\..\..\examples\blehr\main.c(343): warning: #223-D: function "nimble_port_init" declared implicitly
|
||||
nimble_port_init();
|
||||
..\..\..\..\examples\blehr\main.c(345): warning: #167-D: argument of type "int (*)(void)" is incompatible with parameter of type "k_task_entry_t"
|
||||
tos_task_create(&blehr_task, "blehr_boot", blehr_boot, NULL,
|
||||
..\..\..\..\examples\blehr\main.c: 8 warnings, 0 errors
|
||||
compiling gatt_svr.c...
|
||||
compiling nimble_port_tencentos_tiny.c...
|
||||
compiling npl_os_tencenos_tiny.c...
|
||||
compiling nrf5x_isr.c...
|
||||
compiling tencent_os_tiny_libc.c...
|
||||
compiling ble_att_clt.c...
|
||||
compiling ble_att_cmd.c...
|
||||
compiling ble_att.c...
|
||||
compiling ble_eddystone.c...
|
||||
compiling ble_att_svr.c...
|
||||
compiling ble_gatts_lcl.c...
|
||||
compiling ble_gap.c...
|
||||
compiling ble_gatts.c...
|
||||
compiling ble_gattc.c...
|
||||
compiling ble_hs_adv.c...
|
||||
compiling ble_hs.c...
|
||||
compiling ble_hs_atomic.c...
|
||||
compiling ble_hs_cfg.c...
|
||||
compiling ble_hs_conn.c...
|
||||
compiling ble_hs_dbg.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_dbg.c(653): warning: #111-D: statement is unreachable
|
||||
evcode = evbuf[0];
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_dbg.c: 1 warning, 0 errors
|
||||
compiling ble_hs_flow.c...
|
||||
compiling ble_hs_hci.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci.c(88): warning: #69-D: integer conversion resulted in truncation
|
||||
rc = ble_npl_mutex_pend(&ble_hs_hci_mutex, BLE_NPL_TIME_FOREVER);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci.c(38): warning: #550-D: variable "ble_hs_hci_max_pkts" was set but never used
|
||||
static uint8_t ble_hs_hci_max_pkts;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci.c: 2 warnings, 0 errors
|
||||
compiling ble_hs_hci_evt.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci_evt.c(750): warning: #186-D: pointless comparison of unsigned integer with zero
|
||||
if (evt.conn_latency < BLE_HCI_CONN_LATENCY_MIN ||
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci_evt.c(808): warning: #186-D: pointless comparison of unsigned integer with zero
|
||||
if (evt.latency < BLE_HCI_CONN_LATENCY_MIN ||
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci_evt.c: 2 warnings, 0 errors
|
||||
compiling ble_hs_hci_cmd.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci_cmd.c(478): warning: #186-D: pointless comparison of unsigned integer with zero
|
||||
if ((hcc->conn_latency < BLE_HCI_CONN_LATENCY_MIN) ||
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_hs_hci_cmd.c: 1 warning, 0 errors
|
||||
compiling ble_hs_hci_util.c...
|
||||
compiling ble_hs_id.c...
|
||||
compiling ble_hs_log.c...
|
||||
compiling ble_hs_mbuf.c...
|
||||
compiling ble_hs_misc.c...
|
||||
compiling ble_hs_periodic_sync.c...
|
||||
compiling ble_hs_shutdown.c...
|
||||
compiling ble_hs_mqueue.c...
|
||||
compiling ble_hs_pvcy.c...
|
||||
compiling ble_hs_startup.c...
|
||||
compiling ble_hs_stop.c...
|
||||
compiling ble_ibeacon.c...
|
||||
compiling ble_l2cap.c...
|
||||
compiling ble_l2cap_coc.c...
|
||||
compiling ble_l2cap_sig.c...
|
||||
compiling ble_l2cap_sig_cmd.c...
|
||||
compiling ble_monitor.c...
|
||||
compiling ble_store_util.c...
|
||||
compiling ble_sm_sc.c...
|
||||
compiling ble_sm_alg.c...
|
||||
compiling ble_sm.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_sm.c(984): warning: #111-D: statement is unreachable
|
||||
rc = ble_store_util_count(obj_type, &count);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_sm.c: 1 warning, 0 errors
|
||||
compiling ble_sm_lgcy.c...
|
||||
compiling ble_sm_cmd.c...
|
||||
compiling ble_store.c...
|
||||
compiling ble_uuid.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_uuid.c(242): warning: #1254-D: arithmetic on pointer to void or function type
|
||||
put_le32(dst + 12, BLE_UUID32(uuid)->value);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_uuid.c: 1 warning, 0 errors
|
||||
compiling ble_ll.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll.c(1164): warning: #69-D: integer conversion resulted in truncation
|
||||
ev = ble_npl_eventq_get(&g_ble_ll_data.ll_evq, BLE_NPL_TIME_FOREVER);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll.c: 1 warning, 0 errors
|
||||
compiling ble_ll_adv.c...
|
||||
compiling ble_ll_dtm.c...
|
||||
compiling ble_ll_ctrl.c...
|
||||
compiling ble_ll_conn_hci.c...
|
||||
compiling ble_ll_conn.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll_conn.c(516): warning: #111-D: statement is unreachable
|
||||
connsm = g_ble_ll_conn_create_sm;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll_conn.c(540): warning: #111-D: statement is unreachable
|
||||
connsm = g_ble_ll_conn_create_sm;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll_conn.c: 2 warnings, 0 errors
|
||||
compiling ble_ll_hci.c...
|
||||
compiling ble_ll_resolv.c...
|
||||
compiling ble_ll_hci_ev.c...
|
||||
compiling ble_ll_rand.c...
|
||||
compiling ble_ll_sched.c...
|
||||
compiling ble_ll_supp_cmd.c...
|
||||
compiling ble_ll_scan.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll_scan.c(2155): warning: #111-D: statement is unreachable
|
||||
return 0;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\controller\src\ble_ll_scan.c: 1 warning, 0 errors
|
||||
compiling ble_ll_sync.c...
|
||||
compiling endian.c...
|
||||
compiling ble_ll_trace.c...
|
||||
compiling ble_ll_utils.c...
|
||||
compiling ble_ll_whitelist.c...
|
||||
compiling ble_ll_xcvr.c...
|
||||
compiling hal_timer.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(172): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_SetPendingIRQ(bsptimer->tmr_irq_num);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(199): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_SetPendingIRQ(bsptimer->tmr_irq_num);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(234): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_SetPendingIRQ(bsptimer->tmr_irq_num);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(488): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_DisableIRQ(irq_num);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(490): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_SetPriority(irq_num, (1 << __NVIC_PRIO_BITS) - 1);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c(556): warning: #188-D: enumerated type mixed with another type
|
||||
NVIC_EnableIRQ(bsptimer->tmr_irq_num);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\hal_timer.c: 6 warnings, 0 errors
|
||||
compiling mem.c...
|
||||
compiling nimble_port.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\nimble_port.c(64): warning: #69-D: integer conversion resulted in truncation
|
||||
ev = ble_npl_eventq_get(&g_eventq_dflt, BLE_NPL_TIME_FOREVER);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\nimble_port.c: 1 warning, 0 errors
|
||||
compiling os_cputime.c...
|
||||
compiling os_cputime_pwr2.c...
|
||||
compiling os_mempool.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mempool.c(129): warning: #188-D: enumerated type mixed with another type
|
||||
return rc;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mempool.c(136): warning: #188-D: enumerated type mixed with another type
|
||||
return 0;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mempool.c(312): warning: #188-D: enumerated type mixed with another type
|
||||
return rc;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mempool.c: 3 warnings, 0 errors
|
||||
compiling os_mbuf.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mbuf.c(388): warning: #1254-D: arithmetic on pointer to void or function type
|
||||
data += space;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mbuf.c(403): warning: #1254-D: arithmetic on pointer to void or function type
|
||||
data += new->om_len;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mbuf.c(654): warning: #1254-D: arithmetic on pointer to void or function type
|
||||
rc = memcmp(om->om_data + om_off, data + data_off, chunk_sz);
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\porting\nimble\src\os_mbuf.c: 3 warnings, 0 errors
|
||||
compiling os_msys_init.c...
|
||||
compiling aes_encrypt.c...
|
||||
compiling aes_decrypt.c...
|
||||
compiling cmac_mode.c...
|
||||
compiling ecc.c...
|
||||
compiling ecc_dh.c...
|
||||
compiling utils.c...
|
||||
compiling ble_hw.c...
|
||||
compiling ble_hci_ram.c...
|
||||
compiling ble_util.c...
|
||||
compiling ble_svc_ans.c...
|
||||
compiling ble_phy.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\drivers\nrf52\src\ble_phy.c(1042): warning: #68-D: integer conversion resulted in a change of sign
|
||||
ble_hdr->rxinfo.rssi = (-1 * NRF_RADIO->RSSISAMPLE) +
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\drivers\nrf52\src\ble_phy.c: 1 warning, 0 errors
|
||||
compiling ble_svc_bas.c...
|
||||
compiling bleuart.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\bleuart\src\bleuart.c(145): warning: #177-D: function "bleuart_uart_read" was declared but never referenced
|
||||
bleuart_uart_read(void)
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\bleuart\src\bleuart.c: 1 warning, 0 errors
|
||||
compiling ble_svc_gatt.c...
|
||||
compiling ble_store_ram.c...
|
||||
compiling ble_svc_tps.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\tps\src\ble_svc_tps.c(88): warning: #111-D: statement is unreachable
|
||||
return 0;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\tps\src\ble_svc_tps.c: 1 warning, 0 errors
|
||||
compiling ble_svc_ias.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\ias\src\ble_svc_ias.c(117): warning: #111-D: statement is unreachable
|
||||
return 0;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\ias\src\ble_svc_ias.c: 1 warning, 0 errors
|
||||
compiling ble_svc_gap.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\gap\src\ble_svc_gap.c(38): warning: #550-D: variable "ble_svc_gap_chr_changed_cb_fn" was set but never used
|
||||
static ble_svc_gap_chr_changed_fn *ble_svc_gap_chr_changed_cb_fn;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\gap\src\ble_svc_gap.c: 1 warning, 0 errors
|
||||
compiling addr.c...
|
||||
compiling ble_svc_lls.c...
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\lls\src\ble_svc_lls.c(116): warning: #111-D: statement is unreachable
|
||||
return 0;
|
||||
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\services\lls\src\ble_svc_lls.c: 1 warning, 0 errors
|
||||
linking...
|
||||
Program Size: Code=142684 RO-data=6136 RW-data=912 ZI-data=44424
|
||||
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 40 Warning(s).
|
||||
Build target 'TencentOS_tiny'
|
||||
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
@@ -280,7 +50,7 @@ Package Vendor: NordicSemiconductor
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.3.0
|
||||
Build Time Elapsed: 00:00:22
|
||||
Build Time Elapsed: 00:00:02
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -462,11 +462,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_event.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_fifo.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_fifo.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_global.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@@ -482,11 +477,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_mmheap.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_msg.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_msg.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_mutex.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@@ -497,11 +487,6 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_pend.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_robin.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
@@ -542,6 +527,56 @@
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_timer.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_binary_heap.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_binary_heap.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_char_fifo.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_char_fifo.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_completion.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_completion.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_countdownlatch.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_countdownlatch.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_mail_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_mail_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_message_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_message_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_priority_mail_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_priority_mail_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_priority_message_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_priority_message_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_priority_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_priority_queue.c</FilePath>
|
||||
</File>
|
||||
<File>
|
||||
<FileName>tos_ring_queue.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
<FilePath>..\..\..\..\kernel\core\tos_ring_queue.c</FilePath>
|
||||
</File>
|
||||
</Files>
|
||||
</Group>
|
||||
<Group>
|
||||
|
@@ -21,20 +21,18 @@
|
||||
|
||||
#define TOS_CFG_MUTEX_EN 1u
|
||||
|
||||
#define TOS_CFG_QUEUE_EN 1u
|
||||
#define TOS_CFG_MESSAGE_QUEUE_EN 1u
|
||||
|
||||
#define TOS_CFG_MAIL_QUEUE_EN 1u
|
||||
|
||||
#define TOS_CFG_PRIORITY_MESSAGE_QUEUE_EN 1u
|
||||
|
||||
#define TOS_CFG_PRIORITY_MAIL_QUEUE_EN 1u
|
||||
|
||||
#define TOS_CFG_TIMER_EN 1u
|
||||
|
||||
#define TOS_CFG_SEM_EN 1u
|
||||
|
||||
#if (TOS_CFG_QUEUE_EN > 0u)
|
||||
#define TOS_CFG_MSG_EN 1u
|
||||
#else
|
||||
#define TOS_CFG_MSG_EN 0u
|
||||
#endif
|
||||
|
||||
#define TOS_CFG_MSG_POOL_SIZE 20u
|
||||
|
||||
#define TOS_CFG_IDLE_TASK_STK_SIZE 80u
|
||||
|
||||
#define TOS_CFG_CPU_TICK_PER_SECOND 1000u
|
||||
|
Reference in New Issue
Block a user