提交 bae04c67 编写于 作者: D daishengdong

add nimble uart

download "nimble connect" on your phone, connect to "Nimble Uart", send byte array or uint8 to the board through the app
上级 b56314d2
......@@ -22,28 +22,250 @@ Dialog DLL: TCM.DLL V1.36.1.0
<h2>Project:</h2>
D:\github\ble_dev\TencentOS-tiny\board\Nordic_NRF52832\KEIL\nimble_gatt\TencentOS_tiny.uvprojx
Project File Date: 11/12/2019
Project File Date: 11/15/2019
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'TencentOS_tiny'
assembling arm_startup_nrf52.s...
compiling simple_uart.c...
compiling nrfx_rtc.c...
compiling nrfx_glue.c...
compiling mcu_init.c...
compiling system_nrf52.c...
compiling nrfx_uart.c...
compiling nrfx_prs.c...
assembling port_s.S...
compiling tos_event.c...
compiling tos_global.c...
compiling tos_cpu.c...
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_mmblk.c...
compiling port_c.c...
compiling tos_mmheap.c...
compiling tos_robin.c...
compiling tos_pend.c...
compiling tos_mutex.c...
compiling tos_sem.c...
compiling tos_sys.c...
compiling tos_sched.c...
compiling tos_task.c...
compiling tos_completion.c...
compiling tos_timer.c...
compiling tos_time.c...
compiling tos_char_fifo.c...
compiling tos_binary_heap.c...
compiling tos_tick.c...
compiling tos_countdownlatch.c...
compiling tos_mail_queue.c...
compiling tos_message_queue.c...
compiling tos_priority_message_queue.c...
compiling tos_priority_mail_queue.c...
compiling tos_ring_queue.c...
compiling tos_priority_queue.c...
compiling cmsis_os.c...
compiling main.c...
..\..\..\..\examples\nimble_gatt\main.c(97): warning: #177-D: variable "adv_params" was declared but never referenced
struct ble_gap_adv_params adv_params;
..\..\..\..\examples\nimble_gatt\main.c(165): warning: #167-D: argument of type "void (*)(void)" is incompatible with parameter of type "k_task_entry_t"
..\..\..\..\examples\nimble_gatt\main.c(169): 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\nimble_gatt\main.c(204): warning: #223-D: function "board_init" declared implicitly
..\..\..\..\examples\nimble_gatt\main.c(211): warning: #223-D: function "board_init" declared implicitly
board_init();
..\..\..\..\examples\nimble_gatt\main.c(209): warning: #223-D: function "nimble_port_init" declared implicitly
..\..\..\..\examples\nimble_gatt\main.c(216): warning: #223-D: function "nimble_port_init" declared implicitly
nimble_port_init();
..\..\..\..\examples\nimble_gatt\main.c(216): warning: #167-D: argument of type "int (*)(void)" is incompatible with parameter of type "k_task_entry_t"
..\..\..\..\examples\nimble_gatt\main.c(223): warning: #167-D: argument of type "int (*)(void)" is incompatible with parameter of type "k_task_entry_t"
tos_task_create(&ble_boot_task, "boot", ble_boot, NULL,
..\..\..\..\examples\nimble_gatt\main.c(78): warning: #177-D: variable "gatt_svr_svc_rw_demo_uuid" was declared but never referenced
static const ble_uuid128_t gatt_svr_svc_rw_demo_uuid
..\..\..\..\examples\nimble_gatt\main.c: 6 warnings, 0 errors
..\..\..\..\examples\nimble_gatt\main.c: 4 warnings, 0 errors
compiling console.c...
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(11): warning: #223-D: function "vprintf" declared implicitly
vprintf(fmt, args);
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(13): warning: #940-D: missing return statement at end of non-void function "console_printf"
}
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(36): warning: #223-D: function "printf" declared implicitly
printf("\n");
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(40): warning: #223-D: function "printf" declared implicitly
printf("0x");
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c: 4 warnings, 0 errors
compiling gatt_svr.c...
compiling npl_os_tencenos_tiny.c...
compiling nimble_port_tencentos_tiny.c...
compiling tencent_os_tiny_libc.c...
compiling nrf5x_isr.c...
compiling ble_att_clt.c...
compiling ble_att.c...
compiling ble_att_cmd.c...
compiling ble_eddystone.c...
compiling ble_att_svr.c...
compiling ble_gap.c...
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c(2241): warning: #167-D: argument of type "uint32_t *" is incompatible with parameter of type "ble_npl_time_t *"
rc = ble_npl_time_ms_to_ticks(duration_ms, &duration_ticks);
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c(4119): warning: #167-D: argument of type "uint32_t *" is incompatible with parameter of type "ble_npl_time_t *"
rc = ble_npl_time_ms_to_ticks(duration_ms, &duration_ticks);
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c(4548): warning: #167-D: argument of type "uint32_t *" is incompatible with parameter of type "ble_npl_time_t *"
rc = ble_npl_time_ms_to_ticks(duration_ms, &duration_ticks);
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c: 3 warnings, 0 errors
compiling ble_gattc.c...
compiling ble_gatts.c...
compiling ble_gatts_lcl.c...
compiling ble_hs.c...
compiling ble_hs_atomic.c...
compiling ble_hs_adv.c...
compiling ble_hs_conn.c...
compiling ble_hs_cfg.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_hci.c...
..\..\..\..\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: 1 warning, 0 errors
compiling ble_hs_flow.c...
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_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_id.c...
compiling ble_hs_hci_util.c...
compiling ble_hs_log.c...
compiling ble_hs_mqueue.c...
compiling ble_hs_shutdown.c...
compiling ble_hs_mbuf.c...
compiling ble_hs_misc.c...
compiling ble_hs_periodic_sync.c...
compiling ble_hs_pvcy.c...
compiling ble_hs_stop.c...
compiling ble_hs_startup.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_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_alg.c...
compiling ble_sm_lgcy.c...
compiling ble_sm_sc.c...
compiling ble_store.c...
compiling ble_sm_cmd.c...
compiling ble_store_util.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_adv.c...
compiling ble_ll.c...
compiling ble_ll_ctrl.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_conn_hci.c...
compiling ble_ll_dtm.c...
compiling ble_ll_hci.c...
compiling ble_ll_hci_ev.c...
compiling ble_ll_rand.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_sched.c...
compiling ble_ll_resolv.c...
compiling endian.c...
compiling ble_ll_sync.c...
compiling ble_ll_supp_cmd.c...
compiling ble_ll_trace.c...
compiling ble_ll_utils.c...
compiling ble_ll_xcvr.c...
compiling ble_ll_whitelist.c...
compiling os_cputime_pwr2.c...
compiling mem.c...
compiling nimble_port.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 os_cputime.c...
compiling aes_encrypt.c...
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 ecc_dh.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 ecc.c...
compiling cmac_mode.c...
compiling aes_decrypt.c...
compiling utils.c...
compiling os_msys_init.c...
compiling ble_svc_ans.c...
compiling ble_hci_ram.c...
compiling ble_util.c...
compiling ble_hw.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_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 ble_svc_gatt.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
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 addr.c...
compiling ble_store_ram.c...
linking...
Program Size: Code=145372 RO-data=6336 RW-data=1040 ZI-data=45864
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 6 Warning(s).
Program Size: Code=145228 RO-data=6336 RW-data=1016 ZI-data=45864
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 40 Warning(s).
<h2>Software Packages used:</h2>
......@@ -66,7 +288,7 @@ Package Vendor: NordicSemiconductor
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE:5.3.0
Build Time Elapsed: 00:00:03
Build Time Elapsed: 00:00:41
</pre>
</body>
</html>
......@@ -647,6 +647,11 @@
<FileType>1</FileType>
<FilePath>..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\tencent_os_tiny_libc.c</FilePath>
</File>
<File>
<FileName>console.c</FileName>
<FileType>1</FileType>
<FilePath>..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c</FilePath>
</File>
</Files>
</Group>
<Group>
......
......@@ -22,20 +22,59 @@ Dialog DLL: TCM.DLL V1.36.1.0
<h2>Project:</h2>
D:\github\ble_dev\TencentOS-tiny\board\Nordic_NRF52832\KEIL\nimble_heart_rate_sensor\TencentOS_tiny.uvprojx
Project File Date: 11/01/2019
Project File Date: 11/15/2019
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'TencentOS_tiny'
compiling gatt_svr.c...
assembling arm_startup_nrf52.s...
compiling nrfx_uart.c...
compiling nrfx_glue.c...
compiling mcu_init.c...
compiling system_nrf52.c...
compiling simple_uart.c...
compiling nrfx_prs.c...
compiling nrfx_rtc.c...
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
assembling port_s.S...
compiling tos_cpu.c...
compiling tos_event.c...
compiling port_c.c...
compiling tos_mmblk.c...
compiling tos_mmheap.c...
compiling tos_global.c...
compiling tos_pend.c...
compiling tos_mutex.c...
compiling tos_sys.c...
compiling tos_sem.c...
compiling tos_robin.c...
compiling tos_sched.c...
compiling tos_task.c...
compiling tos_time.c...
compiling tos_tick.c...
compiling tos_completion.c...
compiling tos_timer.c...
compiling tos_char_fifo.c...
compiling tos_countdownlatch.c...
compiling tos_binary_heap.c...
compiling tos_mail_queue.c...
compiling tos_message_queue.c...
compiling tos_priority_message_queue.c...
compiling cmsis_os.c...
compiling tos_ring_queue.c...
compiling tos_priority_mail_queue.c...
compiling tos_priority_queue.c...
compiling main.c...
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(148): warning: #231-D: declaration is not visible outside of function
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(152): warning: #231-D: declaration is not visible outside of function
blehr_tx_hrate(struct os_event *ev)
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(254): warning: #223-D: function "nimble_port_get_dflt_eventq" declared implicitly
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(258): warning: #223-D: function "nimble_port_get_dflt_eventq" declared implicitly
ble_npl_callout_init(&blehr_tx_timer, nimble_port_get_dflt_eventq(),
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(254): warning: #167-D: argument of type "int" is incompatible with parameter of type "struct ble_npl_eventq *"
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(258): 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\nimble_heart_rate_sensor\main.c(255): warning: #167-D: argument of type "void (*)(struct os_event *)" is incompatible with parameter of type "ble_npl_event_fn *"
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(259): 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\nimble_heart_rate_sensor\main.c(271): 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);
......@@ -44,12 +83,25 @@ compiling main.c...
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(286): warning: #223-D: function "nimble_port_init" declared implicitly
nimble_port_init();
..\..\..\..\examples\nimble_heart_rate_sensor\main.c(288): 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,
tos_task_create(&ble_boot_task, "boot", ble_boot, NULL,
..\..\..\..\examples\nimble_heart_rate_sensor\main.c: 8 warnings, 0 errors
compiling console.c...
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(11): warning: #223-D: function "vprintf" declared implicitly
vprintf(fmt, args);
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(13): warning: #940-D: missing return statement at end of non-void function "console_printf"
}
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(36): warning: #223-D: function "printf" declared implicitly
printf("\n");
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c(40): warning: #223-D: function "printf" declared implicitly
printf("0x");
..\..\..\..\components\connectivity\Bluetooth_5.0\porting\TencentOS_tiny\src\console.c: 4 warnings, 0 errors
compiling gatt_svr.c...
compiling npl_os_tencenos_tiny.c...
compiling ble_att_clt.c...
compiling ble_att.c...
compiling nrf5x_isr.c...
compiling tencent_os_tiny_libc.c...
compiling nimble_port_tencentos_tiny.c...
compiling ble_att.c...
compiling ble_att_clt.c...
compiling ble_att_cmd.c...
compiling ble_eddystone.c...
compiling ble_att_svr.c...
......@@ -61,85 +113,91 @@ compiling ble_gap.c...
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c(4548): warning: #167-D: argument of type "uint32_t *" is incompatible with parameter of type "ble_npl_time_t *"
rc = ble_npl_time_ms_to_ticks(duration_ms, &duration_ticks);
..\..\..\..\components\connectivity\Bluetooth_5.0\3rdparty\NimBLE_1_2_0\nimble\host\src\ble_gap.c: 3 warnings, 0 errors
compiling ble_gatts_lcl.c...
compiling ble_gattc.c...
compiling ble_gatts.c...
compiling ble_hs.c...
compiling ble_gattc.c...
compiling ble_hs_atomic.c...
compiling ble_gatts_lcl.c...
compiling ble_hs_adv.c...
compiling ble_hs_cfg.c...
compiling ble_hs_atomic.c...
compiling ble_hs_conn.c...
compiling ble_hs_dbg.c...
compiling ble_hs_flow.c...
compiling ble_hs_cfg.c...
compiling ble_hs_hci.c...
..\..\..\..\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: 1 warning, 0 errors
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_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_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_util.c...
compiling ble_hs_shutdown.c...
compiling ble_hs_mqueue.c...
compiling ble_hs_log.c...
compiling ble_hs_id.c...
compiling ble_hs_mbuf.c...
compiling ble_hs_misc.c...
compiling ble_hs_mqueue.c...
compiling ble_hs_periodic_sync.c...
compiling ble_hs_pvcy.c...
compiling ble_hs_startup.c...
compiling ble_hs_stop.c...
compiling ble_ibeacon.c...
compiling ble_hs_periodic_sync.c...
compiling ble_l2cap.c...
compiling ble_ibeacon.c...
compiling ble_hs_stop.c...
compiling ble_l2cap_coc.c...
compiling ble_hs_startup.c...
compiling ble_l2cap_sig.c...
compiling ble_l2cap_sig_cmd.c...
compiling ble_sm_cmd.c...
compiling ble_monitor.c...
compiling ble_sm_lgcy.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_cmd.c...
compiling ble_sm_lgcy.c...
compiling ble_sm_sc.c...
compiling ble_store.c...
compiling ble_sm_sc.c...
compiling ble_store_util.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_ctrl.c...
compiling ble_ll.c...
compiling ble_ll_adv.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_ctrl.c...
compiling ble_ll_adv.c...
compiling ble_ll_dtm.c...
compiling ble_ll_conn_hci.c...
compiling ble_ll_hci.c...
compiling ble_ll_hci_ev.c...
compiling ble_ll_rand.c...
compiling ble_ll_resolv.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_hci_ev.c...
compiling ble_ll_supp_cmd.c...
compiling ble_ll_sync.c...
compiling ble_ll_resolv.c...
compiling ble_ll_sched.c...
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 mem.c...
compiling nimble_port.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);
......@@ -154,16 +212,11 @@ compiling hal_timer.c...
..\..\..\..\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...
compiling aes_decrypt.c...
compiling os_cputime_pwr2.c...
compiling os_cputime.c...
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_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;
......@@ -172,12 +225,25 @@ compiling os_mempool.c...
..\..\..\..\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 aes_encrypt.c...
compiling ecc.c...
compiling os_msys_init.c...
compiling cmac_mode.c...
compiling ecc_dh.c...
compiling utils.c...
compiling ble_hci_ram.c...
compiling ble_util.c...
compiling ble_hw.c...
compiling ble_svc_ans.c...
compiling ble_svc_bas.c...
compiling ble_hw.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) +
......@@ -186,11 +252,11 @@ 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_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 ble_svc_gatt.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;
......@@ -206,8 +272,8 @@ compiling ble_svc_tps.c...
compiling ble_store_ram.c...
compiling addr.c...
linking...
Program Size: Code=148792 RO-data=6220 RW-data=1080 ZI-data=44296
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 38 Warning(s).
Program Size: Code=144884 RO-data=6220 RW-data=1080 ZI-data=44296
".\Objects\TencentOS_tiny.axf" - 0 Error(s), 44 Warning(s).
<h2>Software Packages used:</h2>
......@@ -230,7 +296,7 @@ Package Vendor: NordicSemiconductor
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE:5.3.0
Build Time Elapsed: 00:00:17
Build Time Elapsed: 00:00:44
</pre>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
<component name="EventRecorderStub" version="1.0.0"/> <!--name and version of the component-->
<events>
</events>
</component_viewer>
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册