File tree 4 files changed +56
-18
lines changed
samples/caf_sensor_manager
4 files changed +56
-18
lines changed Original file line number Diff line number Diff line change
1
+ #
2
+ # Copyright (c) 2022 Nordic Semiconductor ASA
3
+ #
4
+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
+ #
6
+ ################################################################################
7
+
8
+ CONFIG_INCLUDE_REMOTE_IMAGE=n
9
+ CONFIG_REMOTE_CORE_BOARD=""
10
+
11
+ CONFIG_EVENT_MANAGER_PROXY=n
12
+ CONFIG_IPC_SERVICE=n
13
+ CONFIG_MBOX=n
14
+ CONFIG_NRF53_SYNC_RTC=n
15
+ CONFIG_OPENAMP=n
16
+
17
+ CONFIG_CAF_SENSOR_MANAGER=y
18
+ CONFIG_CAF_SENSOR_DATA_AGGREGATOR=y
19
+
20
+ CONFIG_SENSOR=y
21
+ CONFIG_SENSOR_SIM=y
Original file line number Diff line number Diff line change @@ -27,5 +27,8 @@ CONFIG_SENSOR_SIM=y
27
27
CONFIG_ASSERT=y
28
28
CONFIG_RESET_ON_FATAL_ERROR=n
29
29
30
+ # Disable GPIO
31
+ CONFIG_GPIO=n
32
+
30
33
CONFIG_LOG=y
31
34
CONFIG_LOG_MODE_DEFERRED=y
Original file line number Diff line number Diff line change @@ -34,5 +34,8 @@ CONFIG_OPENAMP_MASTER=n
34
34
CONFIG_ASSERT=y
35
35
CONFIG_RESET_ON_FATAL_ERROR=n
36
36
37
+ # Disable GPIO
38
+ CONFIG_GPIO=n
39
+
37
40
CONFIG_LOG=y
38
41
CONFIG_LOG_MODE_DEFERRED=y
Original file line number Diff line number Diff line change 1
1
sample :
2
2
description : Sample showing CAF sensor manager usage
3
3
name : CAF sensor manager sample
4
- common :
5
- harness : console
6
- integration_platforms :
7
- - nrf52840dk_nrf52840
8
- - nrf5340dk_nrf5340_cpuapp
9
- - qemu_cortex_m3
10
-
11
- platform_exclude : native_posix qemu_x86
12
- harness_config :
13
- type : multi_line
14
- ordered : true
15
- regex :
16
- - " sensor_sim_ctrl state:READY"
17
- - " accel_sim_xyz state:ACTIVE"
18
- - " Send sensor buffer desc address:"
19
- - " sensor_data_aggregator_release_buffer_event"
20
-
21
4
tests :
22
- sample.caf_sensor_manager :
5
+ sample.caf_sensor_manager.correctness_test :
23
6
build_only : false
7
+ harness : console
8
+ integration_platforms :
9
+ - nrf52840dk_nrf52840
10
+ - nrf5340dk_nrf5340_cpuapp
11
+ - qemu_cortex_m3
12
+ harness_config :
13
+ type : multi_line
14
+ ordered : true
15
+ regex :
16
+ - " main state:READY"
17
+ - " sensor_sim_ctrl state:READY"
18
+ - " Send sensor buffer desc address:"
19
+ - " sensor_data_aggregator_release_buffer_event"
20
+ sample.caf_sensor_manager.nrf52840dk.power_consumption_test :
21
+ build_only : false
22
+ integration_platforms :
23
+ - nrf52840dk_nrf52840
24
+ extra_args : CONFIG_SERIAL=n CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_LOG=n
25
+ sample.caf_sensor_manager.multi_core.power_consumption_test :
26
+ build_only : false
27
+ integration_platforms :
28
+ - nrf5340dk_nrf5340_cpuapp
29
+ extra_args : CONFIG_SERIAL=n CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_LOG=n remote_CONFIG_SERIAL=n remote_CONFIG_CONSOLE=n remote_CONFIG_UART_CONSOLE=n remote_CONFIG_LOG=n
30
+ sample.caf_sensor_manager.nrf5340dk_singlecore.power_consumption_test :
31
+ build_only : false
32
+ integration_platforms :
33
+ - nrf5340dk_nrf5340_cpuapp
34
+ extra_args : OVERLAY_CONFIG=boards/nrf5340dk_nrf5340_cpuapp_nrf5340_singlecore.conf CONFIG_SERIAL=n CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_LOG=n
You can’t perform that action at this time.
0 commit comments