File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
tests/benchmarks/current_consumption/uart_idle Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2024 Nordic Semiconductor ASA
3+ *
4+ * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+ */
6+
7+ / {
8+ chosen {
9+ zephyr,shell-uart = &uart30;
10+ zephyr,console = &uart30;
11+ zephyr,uart-mcumgr = &uart30;
12+ zephyr,bt-mon-uart = &uart30;
13+ zephyr,bt-c2h-uart = &uart30;
14+ };
15+ };
16+
17+ /delete-node/ &uart20;
18+
19+ &uart30 {
20+ status = "okay";
21+ current-speed = <115200>;
22+ pinctrl-0 = <&uart30_default>;
23+ pinctrl-1 = <&uart30_sleep>;
24+ pinctrl-names = "default", "sleep";
25+ /delete-property/ hw-flow-control;
26+ };
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ int main(void)
4343 int ret ;
4444
4545 ret = device_is_ready (uart_dev );
46+ printk ("UARTE instance: %s\n" , uart_dev -> name );
4647 if (ret < 0 ) {
4748 printk ("device_is_ready: %d\n" , ret );
4849 return 0 ;
Original file line number Diff line number Diff line change @@ -14,3 +14,16 @@ tests:
1414 pytest_root :
1515 - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_rx_wakeup_54L_uart_idle"
1616 timeout : 80
17+ benchmarks.current_consumption.uart_idle_uart30 :
18+ platform_allow :
19+ - nrf54l15dk/nrf54l15/cpuapp
20+ integration_platforms :
21+ - nrf54l15dk/nrf54l15/cpuapp
22+ extra_args :
23+ - DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_uart30.overlay"
24+ harness : pytest
25+ harness_config :
26+ fixture : ppk_power_measure
27+ pytest_root :
28+ - " ${CUSTOM_ROOT_TEST_DIR}/test_measure_power_consumption.py::test_measure_and_data_dump_power_consumption_with_rx_wakeup_54L_uart30_idle"
29+ timeout : 80
You can’t perform that action at this time.
0 commit comments