Commit Graph

10125 Commits

Author SHA1 Message Date
TOKITA Hiroshi
3c4e842c90 tests: spi: spi_loopback: add interrupt and DMA tests for rpi_pico
Add interrupt and DMA tests for rpi_pico boards.
Add tests for combination of cases of DMA, interrupt and
DMA is not enabled by dts.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-04-07 13:20:16 +02:00
Siyuan Cheng
6433e204b9 test: spi: update fast test frequecny for em_starterkit
Async test failed in fast test due to too fast spi frequency.
Now it is lowered to 2500000Hz.

Signed-off-by: Siyuan Cheng <siyuanc@synopsys.com>
2023-04-07 13:15:59 +02:00
Caspar Friedrich
ba66f41e21 samples: w1: Update scanner example for ds2482-800 bus driver
The scanner example for 1-wire now supports the DS2482-800 multi channel
bus master.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
2023-04-07 13:11:54 +02:00
Caspar Friedrich
691228ce01 drivers: ds2482-800: Add driver
This adds a driver for the DS2482-800 1-wire multi channel bus driver.
The driver uses a split architecture in order to share a common lock
among all configured channels of a single IC.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
2023-04-07 13:11:54 +02:00
Dawid Niedzwiecki
4ef47888ef ec_host_cmd: add UART backend
Add a new backend for Host Commands that uses UART. The backend bases
asynchronous UART API.

The UART backend is mainly used by FPMCU.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-04-07 13:05:59 +02:00
Dawid Niedzwiecki
73480edf00 ec_host_cmd: update test the directory structure
Create a separate directory per backend.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2023-04-07 13:05:59 +02:00
Emil Gydesen
7efc99b9ab tests: Bluetooth: Add MCC BSIM reconnection
Add reconnection to the MCC BSIM test.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
ca4d8a483b tests: Bluetooth: MCC: Add invalid testing of read_content_control_id
Add invalid testing of bt_mcc_read_content_control_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
f001fc1ec3 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_media_state
Add invalid testing of bt_mcc_read_media_state.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
a21ae5b7c1 tests: Bluetooth: MCC: Add invalid testing of read_playing_orders_supported
Add invalid testing of bt_mcc_read_playing_orders_supported.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
8bcb15e1c6 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_set_playing_order
Add invalid testing of bt_mcc_set_playing_order.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
582c937947 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_playing_order
Add invalid testing of bt_mcc_read_playing_order.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
e31c14b8cc tests: Bluetooth: MCC: Add invalid testing of otc_read_current_group_object
Add invalid testing of bt_mcc_otc_read_current_group_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
fdc4529cdd tests: Bluetooth: MCC: Add invalid testing of read_current_group_obj_id
Add invalid testing of bt_mcc_read_current_group_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
0186ede519 tests: Bluetooth: MCC: Add invalid testing of set_current_group_obj_id
Add invalid testing of bt_mcc_set_current_group_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
9ca8f20361 tests: Bluetooth: MCC: Add invalid testing of otc_read_parent_group_object
Add invalid testing of bt_mcc_otc_read_parent_group_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
9115d25ff5 tests: Bluetooth: MCC: Add invalid testing of read_parent_group_obj_id
Add invalid testing of bt_mcc_read_parent_group_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
863fa8f533 tests: Bluetooth: MCC: Add invalid testing of otc_read_next_track_object
Add invalid testing of bt_mcc_otc_read_next_track_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
c2c5a7571a tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_next_track_obj_id
Add invalid testing of bt_mcc_read_next_track_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
e1d0e0ffab tests: Bluetooth: MCC: Add invalid testing of bt_mcc_set_next_track_obj_id
Add invalid testing of bt_mcc_set_next_track_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
badebd5011 tests: Bluetooth: MCC: Add invalid testing of otc_read_current_track_object
Add invalid testing of bt_mcc_otc_read_current_track_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
d771fa0fe8 tests: Bluetooth: MCC: Add invalid testing of read_current_track_obj_id
Add invalid testing of bt_mcc_read_current_track_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
3df4a8f4f4 tests: Bluetooth: MCC: Add invalid testing of set_current_track_obj_id
Add invalid testing of bt_mcc_set_current_track_obj_id.y

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
81aec969ee tests: Bluetooth: MCC: Add invalid testing of read_track_segments_object
Add invalid testing of bt_mcc_otc_read_track_segments_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
c7fdb7ae34 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_segments_obj_id
Add invalid testing of bt_mcc_read_segments_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
caa88c31f4 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_seeking_speed
Add invalid testing of bt_mcc_read_seeking_speed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
3d6fcd9c80 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_set_playback_speed
Add invalid testing of bt_mcc_set_playback_speed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
a345c951ef tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_playback_speed
Add invalid testing of bt_mcc_read_playback_speed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
4bdf672619 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_set_track_position
Add invalid testing of bt_mcc_set_track_position.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
1030d5eb3e tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_track_position
Add invalid testing of bt_mcc_read_track_position.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
a14ebf55e3 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_track_duration
Add invalid testing of bt_mcc_read_track_duration.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
df9a34d1bb tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_track_title
Add invalid testing of bt_mcc_read_track_title.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
7bc5ebe21a tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_icon_url
Add invalid testing of bt_mcc_read_icon_url.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
62f5a5d948 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_otc_read_icon_object
Add invalid testing of bt_mcc_otc_read_icon_object.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
f30b46fc7b tests: Bluetooth: MCC: Add invalid testing of test_read_icon_obj_id
Add invalid testing of test_read_icon_obj_id.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
25b2e99213 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_player_name
Add invalid testing of bt_mcc_read_player_name.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
6426a02c37 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_discover_mcs
Add invalid testing of bt_mcc_discover_mcs.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
9cfdd53082 tests: Bluetooth: MCC: Add invalid testing of bt_mcc_send_search
Add invalid testing of bt_mcc_send_search.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
dfe324be9c tests: Bluetooth: MCC: Add invalid testing of bt_mcc_send_cmd
Add invalid testing of bt_mcc_send_cmd.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
9dea871a7a tests: Bluetooth: MCC: Add invalid testing of bt_mcc_read_opcodes_supported
Add invalid testing of bt_mcc_read_opcodes_supported.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
24b3122d6a tests: Bluetooth: MCC: Add invalid testing of otc_read_object_metadata
Add invalid testing of bt_mcc_otc_read_object_metadata.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
fb89097347 tests: Bluetooth: MCC: Add invalid testing of bt_ots_client_select_id
Add invalid testing of bt_ots_client_select_id which is used by
the MCC.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
41ea39be55 tests: Bluetooth: Refactor MCC tests
Move all the test steps into smaller functions for
added readability and reusability. This will basically
group each procedure, making it easier to follow the
main test.

None of the test have been functionally changed.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
0f553b5570 tests: Bluetooth: BSIM: Add MCC read supported opcodes
The supported opcodes were not previously read, so it
was added to cover it.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Emil Gydesen
da8cac0d2c tests: Bluetooth: BSIM: MCC reorder callbacks
Reorder the callbacks so that they match the order in the
struct.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2023-04-07 11:29:54 +02:00
Benjamin Björnsson
193b1ca784 tests: drivers: adc: adc_api: Add min_flash filter
Adding min_flash filter to not build for Nucleo C031C6.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2023-04-07 08:18:03 +00:00
Kumar Gala
9d8c7b8f1f tests: posix: common: Add testcase for arm-clang
Add a testcase variant to cover building with arm-clang and
CONFIG_ARMCLANG_STD_LIBC set.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-04-06 19:50:23 -04:00
Seppo Takalo
1c6a853528 net: lwm2m: Default lifetime is also a minimum accepted lifetime
If server or bootstrap writes a lifetime value less than
configured default lifetime, client will automatically overwrite
the value with default one.

This gives better control for the application where client
behaviour is fine tuned on the Kconfig, but default values
from bootstrap server cannot be fine-tuned.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-04-06 14:15:04 -05:00
Anas Nashif
633e614589 tests: intel_adsp: remove reference to old platforms
CAVS platfroms up to CAVS25 (excl.) are removed, so remove reference in
test code.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-04-06 18:51:56 +02:00
Anas Nashif
fcefc27823 tests: remove intel adsp cavs platforms from filters
Remove all filters related to dropped platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-04-06 18:51:56 +02:00