Skip to content

Commit f22933c

Browse files
committed
samples: sensor: Disable uart console when rtt console is enabled
Configures the accelerometer polling and trigger samples to disable the uart console when the rtt console is enabled. Having both consoles enabled simultaneously doesn't currently work on the apard32690 platform and it's redundant anyway. Signed-off-by: Maureen Helm <[email protected]>
1 parent fc9823c commit f22933c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

samples/sensor/accel_polling/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,17 @@ tests:
3232
- SHIELD=pmod_acl
3333
- EXTRA_CONF_FILE=adxl345-stream.conf
3434
- SNIPPET=rtt-tracing;rtt-console
35+
extra_configs:
36+
- CONFIG_UART_CONSOLE=n
3537
platform_allow:
3638
- apard32690/max32690/m4
3739
sample.sensor.accel_polling.adxl362-stream:
3840
extra_args:
3941
- SHIELD=eval_adxl362_ardz
4042
- EXTRA_CONF_FILE=adxl362-stream.conf
4143
- SNIPPET=rtt-tracing;rtt-console
44+
extra_configs:
45+
- CONFIG_UART_CONSOLE=n
4246
platform_allow:
4347
- apard32690/max32690/m4
4448
sample.sensor.accel_polling.adxl367-stream:

samples/sensor/accel_trig/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ tests:
2828
- SHIELD=pmod_acl
2929
- EXTRA_CONF_FILE=adxl345-trigger.conf
3030
- SNIPPET=rtt-tracing;rtt-console
31+
extra_configs:
32+
- CONFIG_UART_CONSOLE=n
3133
platform_allow:
3234
- apard32690/max32690/m4
3335
sample.sensor.accel_trig.adxl362-trigger:
3436
extra_args:
3537
- SHIELD=eval_adxl362_ardz
3638
- EXTRA_CONF_FILE=adxl362-trigger.conf
3739
- SNIPPET=rtt-tracing;rtt-console
40+
extra_configs:
41+
- CONFIG_UART_CONSOLE=n
3842
platform_allow:
3943
- apard32690/max32690/m4
4044
sample.sensor.accel_trig.shield-tap:

0 commit comments

Comments
 (0)