Alberto Escolar Piedras
c5e0f6c0ff
tests/net/lib/http_server: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
8991e0176c
tests/net/lib/coap_server: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
0a81ea5406
tests/net/socket/can: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
a86e0a8da9
tests/net/lib/lwm2m/*: Switch integation_platforms to native_sim
...
Switch integation_platforms from native_posix to native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
640b926b0a
tests/net/lib lwm2m_engine: Switch from native_posix to native_sim
...
Switch support of native_posix to native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
0de923e2b0
tests/net/lib/lwm2m/interop: Switch from native_posix to native_sim
...
Switch support of native_posix to native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
f7b8ded41a
tests/net/lib/coap_client/: Enable for native_sim
...
Enable this test for native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
c64f33a648
tests/net lwm2m_rd_client: Switch from native_posix to native_sim
...
Switch these tests from native_posix to native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
eae99c1035
tests net/ptp/clock: Enable for native_sim
...
Enable these tests for native_sim and switch from
native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
18d27f0a29
tests ieee802154: Enable for native_sim
...
Enable these tests for native_sim and switch from
native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
6bba2d955b
tests/net/traffic_class: Enable for native_sim
...
Enable these tests in native_sim
and switch from native_posix to native_sim as default
test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:21:13 +01:00
Alberto Escolar Piedras
ef346c2505
tests input/gpio_keys: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
e13acd2f29
tests fuel_gauge/sbs_gauge: Enable for native_sim
...
Enable for native_sim
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
3ff73f22a4
tests fuel_gauge/max17048: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
c6f5dbe8a7
tests fuel_gauge/bq27z746: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
64cb9a4540
tests/drivers/regulator/api: Enable for native_sim
...
Enable for native_sim.
and switch from native_posix to native_sim as default
test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
be8f4e104b
tests/drivers espi: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
7d5772d2d6
tests/drivers/pinctrl/api: Enable for native_sim
...
Enable for native_sim.
and switch from native_posix to native_sim as default
test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
b85aef003c
tests/drivers/build_all/sensor: Enable for native_sim
...
And switch from native_posix to native_sim as default
test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
1846fa6f2c
tests/drivers ina237: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
5327ba38e5
tests/drivers ina230: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
75006ad9af
tests/drivers akm09918c: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
5dbb71cc6f
tests/drivers icm42688: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
3175a81da5
tests/drivers adltc2990: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as default test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Alberto Escolar Piedras
95bf611ac6
tests/drivers sbs_gauge: Switch from native_posix to native_sim
...
Switch from native_posix to native_sim as native test platform
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 09:20:59 +01:00
Piotr Wojnarowski
6670dbe834
tests: drivers: intc_plic: Add tests for register index and offset
...
Add a test to verify that the regression from
ffb8f31bff
is fixed.
Signed-off-by: Piotr Wojnarowski <pwojnarowski@antmicro.com>
2023-11-20 09:20:13 +01:00
Daniel Leung
c972ef1a0f
kernel: mm: move kernel mm functions under kernel includes
...
This moves the k_* memory management functions from sys/ into
kernel/ includes, as there are kernel public APIs. The z_*
functions are further separated into the kernel internal
header directory.
Also made a quick change to doxygen to group sys_mem_* into
the OS Memory Management group so they will appear in doc.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-11-20 09:19:14 +01:00
Andriy Gelman
0d1fa268bb
drivers: clock_control: Add PWM clock device
...
Adds a clock control device for a PWM node, allowing the PWM
to be controlled using the clock control API.
It is a similar idea to the device driver in linux:
linux/Documentation/devicetree/bindings/clock/pwm-clock.yaml
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-11-20 09:18:44 +01:00
Jun Lin
317d070222
tests: timer_behavior: increase stdev tolerance for npcx timer
...
Change the stdev tolerance stdev from 10 to 33 when npcx timer is used.
This is because the clock source of npcx event timer, which is used to
generate the timeout interrupt, is running at 32.768 KHz.
(i.e. 1 count = ~30.5 us.) The conversion from the absolute system timer
to the event timer count might have -30.5 ~ 30.5 deviation.
The tolerance setting is under the assumption that test sampes are
evenly located at 1030.5 and 969.5 for the worst case.
Fixes #59594
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2023-11-17 17:24:14 +00:00
Ian Morris
4c92419546
drivers: sensor: hs300x: Add driver for Renesas HS300x sensors
...
Adds support for Renesas HS3001 and HS3003 temperature/humidity sensors
connected via an I2C bus.
Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2023-11-17 10:33:02 -06:00
Anas Nashif
f25e2201a4
tests: fix various test identifiers
...
Fix a few inconsistent test identifiers.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-17 09:27:40 +01:00
Flavio Ceolin
eb323be088
tests: smbus: Fix user mode usage
...
APIs that set callback don't have syscalls and their
tests have to run in supervisor mode.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-11-17 09:22:05 +01:00
Lingao Meng
2cd8d40b97
Bluetooth: Mesh: Split Model Structure
...
Split Model Variables to separate structue.
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2023-11-16 16:52:14 +01:00
Lingao Meng
ab08f34fd9
Bluetooth: Mesh: Make bt_mesh_model as rodata
...
Since model struct most of member should not change at run time,
so mark as const will be suitable and safely.
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2023-11-16 16:52:14 +01:00
Lucas Tamborrino
16629cbabd
tests: coredump: Remove matching pattern
...
On xtensa architectures the string "ZEPHYR FATAL ERROR"
comes after the coredump itself. The ordered regex will
incorrectly fail for this arch.
Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2023-11-16 09:30:19 +01:00
Andriy Gelman
a34d4d1ce9
drivers: spi: xmc4xxx: Fix potential runtime error
...
Fixes an unhandled interrupt runtime crash if CONFIG_SPI_XMC4XXX_DMA=y and
CONFIG_SPI_XMC4XXX_INTERRUPT=n.
The unhandled interrupt error is triggered because irq_enable() was called
without calling IRQ_CONNECT() when CONFIG_SPI_XMC4XXX_INTERRUPT=n.
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2023-11-16 09:26:50 +01:00
Armando Visconti
d17b1c8cbb
tests: build_all: sensor: fix i2c.dtsi typo
...
Fix lps22df i2c address in order to be unique.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-11-16 06:56:31 +00:00
Anas Nashif
d94bdafda6
tests: clock_control: cleanup test tags and unify them
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
153e6d9dc7
tests: uart: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
743564e89e
tests: dac: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
131aa56900
tests: i2c: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
d9d7e6a2f4
tests: watchdog: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
9ff81c1541
tests: pwm: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Anas Nashif
093f9a9df2
tests: adc: cleanup test tags
...
Remove platform specific tags and be consistent.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-11-15 07:51:08 -05:00
Fabio Baltieri
256bc860cf
input: add a gpio based keyboard matrix driver
...
Add a GPIO based keyboard matrix driver using the generic keyboard
matrix code.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-11-15 11:41:25 +01:00
Mariusz Skamra
71494dd98f
tests: bluetooth: ascs: Add test for ASE notificaion retry
...
This adds test for ASE state notification retry. The test verifies
whether the state transition is repeated if failed due to notification
error.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2023-11-15 10:03:07 +01:00
Mariusz Skamra
341e571cfb
tests: audio: mocks: Add k_work_schedule mock implementation
...
This adds k_work_schedule mock implementation that will be used in
bluetooth audio unit tests.
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2023-11-15 10:03:07 +01:00
Krzysztof Chruściński
1ec05c4431
tests: drivers: Add dependency to UART runtime configuration
...
Force enabling of the UART runtime configuration in UART tests.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2023-11-15 10:02:18 +01:00
Henrik Brix Andersen
c56bfb9d06
tests: drivers: can: shell: add tests for setting raw timing
...
Add CAN shell tests for the "timing" and "dtiming" subcommands.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-11-15 10:01:59 +01:00
Lingao Meng
e1d4451976
bsim: bluetooth: mesh: Increase Net Transmit Count value on the node
...
This is to increase probability of reception of responses (Config Status
messages) from the node when the provisioner sends a Set message and the
node response with a Status message at the same time so that the message
collide.
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2023-11-15 10:01:47 +01:00