Commit graph

106533 commits

Author SHA1 Message Date
Chaitanya Tata
537b52e7fe tests: drivers: nrf_wifi: Add a build all test
This helps maintaining of various modes in nRF Wi-Fi driver.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-12-03 15:49:11 +00:00
Chaitanya Tata
ed6d412302 modules: nrf_wifi: Fix raw scan results build
Fix the missing define to OSAL code.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-12-03 15:49:11 +00:00
Chaitanya Tata
0cd127a02d modules: nrf_wifi: Fix the directory variable
During cherry-pick the directory wasn't renamed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-12-03 15:49:11 +00:00
Chaitanya Tata
ce3166edda modules: nrf_wifi: Fix offloaded raw TX build
For the C sources the offloaded raw TX mode wasn't considered and else
case picks up system mode files causing build issues.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-12-03 15:49:11 +00:00
Andrej Butok
b345d79fa8 boards: nxp: Add 'supported: flash'
- Adds 'supported: flash' to all NXP board .yaml
  with enabled flash controller support.
- Sorts supported features alphabetically.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2024-12-03 15:48:57 +00:00
Jamie McCrae
486fd37de9 soc: nordic: Select symbol properly
Correctly selects the Kconfig symbols for viper CPU clusters
instead of having a reverse hwmv1 setup where the symbol has
a choice

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-12-03 15:48:37 +00:00
Vladislav Pejic
756e699a41 driver: sensor: adxl366: Add supp for adxl366
Modifed ADXL367 driver to support both ADXL367 and ADXL366.

Signed-off-by: Vladislav Pejic <vladislav.pejic@orioninc.com>
2024-12-03 15:48:01 +00:00
Vladislav Pejic
60c042604e driver: sensor: adxl366: .yaml files
Added .yaml files for ADXL366 accelerometer

Signed-off-by: Vladislav Pejic <vladislav.pejic@orioninc.com>
2024-12-03 15:48:01 +00:00
Kyra Lengfeld
51957c8858 soc: nordic: Default enable Power Management on nRF54H20 radio core
Adds CONFIG_PM=y to Radio core in the nRF54H20 SoC on the nRF54H20 DK
soc defconf.

Signed-off-by: Kyra Lengfeld <kyra.lengfeld@nordicsemi.no>
2024-12-03 15:47:48 +00:00
TOKITA Hiroshi
405efb3508 boards: m5stack: cores3: Add mbus and grove connector
Adding M-Bus and Grove connector and also add configuration
for related peripherals.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-12-03 15:47:10 +00:00
TOKITA Hiroshi
855e583624 boards: m5stack: cores3: Add CoreS3 SE variant
Add `se` variant to support the low-cost CoreS3 SE.

- Add configuration files
  Add `m5stack_cores3_procpu_se(.dts|.yaml|defconfig)` files.
  Reorganize dts files to split common parts.

- Update .yaml file
  Add gpio, can, counter, entropy, pwm, and pinmux to the supported
  feature group. Remove the `ignore_tags:` section.

- Update documents
  Add and modify information about CoreS3 SE.
  Add more description about sysbuild.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-12-03 15:47:10 +00:00
Georgios Vasilakis
28bd478a0b tests: arm_thread_swap: Add overlay for nRF54H20
Disable the IPC communication between the domains
for the arm_thread_swap test since it is not needed
and it causes a flash oveflow for the no opmitization
test case.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2024-12-03 13:07:03 +01:00
Georgios Vasilakis
fdede6a3f1 boards: nordic: Enable IPC and bellboard on nRF54H20
Enable the cpusec IPC and the bellboard nodes for
the nrf54h20dk cpuapp and cpurad targets to enable
communication between domains.

Also enables the region cpurad_ram0x_region since
it is also required for the communication.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2024-12-03 13:07:03 +01:00
Ioannis Karachalios
221c4d3e4d tests: pwm_loopback: Fix inverted pulse measurement deviation
For the inverted pulse measurements, that should reflect
the duty-cycle off interval, the 1% deviation in test_capture
should be adjusted so it reflects duty-cycle off.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-12-03 13:06:53 +01:00
Ioannis Karachalios
b1e863e3e7 tests: pwm_loopback: Capture disable omission issue
As per the PWM API definition, -EBUSY should be returned
when pwm_enable_capture is called and capturing
is already enabled. This commit deals with adding
a ztest_suite_before_t function that should disable
capturing at the end of a single test. Some tests, though,
such as test_pulse_capture, execute two sub-tests
and so, capturing is disabled in between. In fact, the omission
of pwm_disable_capture should not only result in aborting
a single test, but it can also raise system exception
due to invalid context. This is the case for
z_impl_pwm_capture_cycles where z_pwm_capture_cycles_callback
can be fired whilst the routine has already aborted and so
struct z_pwm_capture_cb_data data, defined within function
declaration, should not longer be valid.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-12-03 13:06:53 +01:00
Fin Maaß
007350a9c9 drivers: flash: spi_nor: use defines for 4byte identifiers
use defines for 4byte identifiers.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-12-03 13:06:41 +01:00
Fin Maaß
ba18d41804 drivers: flash: spi_nor: fix 4byte opcodes
the check for both bit should be in the first DWORD.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2024-12-03 13:06:41 +01:00
Pieter De Gendt
a7756f20d1 drivers: pcie: host: Place API into iterable section
Add wrapper DEVICE_API macro to all pcie_ctrl_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 13:06:31 +01:00
Pieter De Gendt
6cc18fc9c1 drivers: pcie: endpoint: Place API into iterable section
Add wrapper DEVICE_API macro to all bt_hci_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 13:06:21 +01:00
ZhongYao Luo
b07f940ba5 input: Fix missing INPUT_ when aliasing buttons
The aliases defined by INPUT_BTN_A/B/X/Y are
missing the INPUT_ prefix.

Signed-off-by: ZhongYao Luo <LuoZhongYao@gmail.com>
2024-12-03 13:06:10 +01:00
Bjarki Arge Andreasen
84532b24e5 drivers: RTC: update API to use DEVICE_API macros
Update RTC API and device drivers to use DEVICE_API macros.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-12-03 10:40:18 +01:00
Pieter De Gendt
81e975941f drivers: mipi_dbi: Place API into iterable section
Add wrapper DEVICE_API macro to all mipi_dbi_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 10:38:59 +01:00
Iacopo Moles
bd69ae46bc boards: waveshare: rp2040_zero: Initial support
This PR adds supports for Waveshare RP2040 Zero

Signed-off-by: Iacopo Moles <iacopo@icpmol.es>
2024-12-03 10:17:49 +01:00
Zihao Gao
4557b2f06c Bluetooth: AVRCP: add buffer length protections.
Add sanity checks for AVRCP responses received.

Signed-off-by: Zihao Gao <gaozihao@xiaomi.com>
2024-12-03 10:17:09 +01:00
Zihao Gao
cb0b472ccc Bluetooth: AVRCP: fix AVRCP timeout handler.
It is recommended to record the subunit type itself instead of the
subunit ID when validating the transaction. This approach is more
meaningful and less prone to misinterpretation.

Signed-off-by: Zihao Gao <gaozihao@xiaomi.com>
2024-12-03 10:17:09 +01:00
Zihao Gao
17897071c1 Bluetooth: AVRCP: implementation for subunit info command.
This patch alllows to acquire the subunit info from the remote device.

Signed-off-by: Zihao Gao <gaozihao@xiaomi.com>
2024-12-03 10:17:09 +01:00
Fabrice DJIATSA
c666c4db1b soc: st: stm32: stm32g0x: add soc configs for i2c shared irq
check if multiples UART instances with same irq are enabled
at same time then enable shared_interrupt handler.

set the default value of SHARED_IRQ_MAX_NUM_CLIENTS config if
we have more than 2 usarts instances enabled.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-12-03 10:16:55 +01:00
Johan Hedberg
b6b70a014d doc: bluetooth: Update references to Kconfig options and DTS
Update the instructions for the three possible Bluetooth setups
(controller-only, combined build, host-only) to be in line with how the
features are actually enabled (e.g. device tree for the controller and HCI
drivers).

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-12-03 10:16:44 +01:00
Johan Hedberg
fc6911048f doc: migration-guide-4.1: Add mention of deprecated BT_CTLR
Mention that BT_CTLR has been deprecated, and explain the new option that
replaces it.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-12-03 10:16:44 +01:00
Johan Hedberg
8b02141ca7 Bluetooth: Controller: Replace BT_CTLR with HAS_BT_CTLR
Deprecate BT_CTLR, and add a new HAS_BT_CTLR as a virtual option which
specific users (like BT_LL_SW_SPLIT) select. This also means that we can
remove all places that were forcefully enabling the BT_CTLR option, and
instead we now depend on devicetree to get some local LL HCI driver
enabled which in turn also enables the HAS_BT_CTLR option.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-12-03 10:16:44 +01:00
Pieter De Gendt
856f4f8b59 drivers: edac: Place API into iterable section
Add wrapper DEVICE_API macro to all edac_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 10:16:29 +01:00
Pieter De Gendt
3c0cdd14d8 drivers: usb_c: tcpc: Place API into iterable section
Add wrapper DEVICE_API macro to all tcpc_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 08:28:42 +01:00
Pieter De Gendt
f52fc52ac1 drivers: usb_c: vbus: Place API into iterable section
Add wrapper DEVICE_API macro to all usbc_vbus_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 08:28:42 +01:00
Pieter De Gendt
760027cdf6 drivers: usb_c: ppc: Place API into iterable section
Add wrapper DEVICE_API macro to all usbc_ppc_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 08:28:42 +01:00
Lyle Zhu
56929a26ca Driver: hci_nxp_setup: Support HCI baudrate update
Change running baudrate from `115200` from `3000000`.

Implement the function `bt_h4_vnd_setup` to update the HCI bandrate.

Add Kconfig `BT_H4_NXP_CTLR_WAIT_TIME_AFTER_BAUDRATE_UPDATE` to set
the waiting time after the controller bandrate HCI vendor specific
command sent. It is used to ensure the controller is ready to update
HCI bandrate.

Select `BT_HCI_SETUP` if `BT_H4_NXP_CTLR` is enabled.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-12-03 08:27:43 +01:00
Tjaž Vračko
298ebaf003 net: wifi: Fix CONFIG_EAP_TTLS not enabling all dependencies
CONFIG_EAP_TTLS now correctly adds all .c files it requires from
hostap.

Signed-off-by: Tjaž Vračko <tjaz@irnas.eu>
2024-12-03 08:27:29 +01:00
Hui Bai
a8418c6a38 modules: hostap: Fix incorrect link mode of AP
Added hw_mode check of AP with hostapd when getting link mode of current
station. If the hw_mode of AP is 11b, then the link mode of current
station will show 11b.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2024-12-03 08:27:19 +01:00
Neil Chen
80361b8fe0 tests: dac: frdm_mcxa156: add dac test support
add frdm_mcxa156 defines in source

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-12-03 08:27:08 +01:00
Neil Chen
3407675479 samples: drivers/dac: Support dac example for NXP frdm_mcxa156
Support dac example for NXP frdm_mcxa156

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-12-03 08:27:08 +01:00
Neil Chen
bbec164673 boards: nxp: frdm_mcxa156: Support dac for NXP frdm_mcxa156 board
Support dac for NXP frdm_mcxa156 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-12-03 08:27:08 +01:00
Neil Chen
2d37c3dfcf dts: arm/nxp: Add dac nodes to NXP MCXA156 dtsi file
Add dac nodes to NXP MCXA156 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-12-03 08:27:08 +01:00
Jamie McCrae
d1c24521ed samples: mgmt: mcumgr: smp_svr: Make build only
This is a sample, not a test, it should not run on devices and
expect output with twister

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-12-03 08:26:54 +01:00
Pieter De Gendt
caece8dd54 drivers: dai: Place API into iterable section
Add wrapper DEVICE_API macro to all dai_driver_api instances.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-12-03 08:26:43 +01:00
Marvin Ouma
1a633609a0 tests: posix: common: separate posix threads_ext to standalone test
posix.common contains testsuites that can be separated into smaller
groups of tests. This change moves pthread_attr into a singular
testsuite at tests/posix/threads/ext app directory.

Signed-off-by: Marvin Ouma <pancakesdeath@protonmail.com>
2024-12-03 04:01:56 +01:00
Hao Luo
5d4353dc9a drivers: timer: ambiq: add clock source selection for stimer
Add clock source selection for stimer and make it configurable

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-12-03 04:01:45 +01:00
Benjamin Cabé
6a4197bb6b doc: process: cleanup required checks section
Minor rework to group linters together and to leave the list open in
case more linters are added overtime

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-12-03 04:01:27 +01:00
Benjamin Cabé
029f807689 CODEOWNERS: drop CODEOWNERS file as it's not used anymore
There's no need for the CODEOWNERS file anymore as figuring out
maintainership and performing reviewer assignment is done via the
MAINTAINERS file now

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-12-03 04:01:27 +01:00
Daniel Leung
af02730a29 x86: remove CONFIG_DISABLE_SSBD and CONFIG_ENABLE_EXTENDED_IBRS
These two kconfigs have been deprecated since v3.7. So remove
them now.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-12-03 02:37:28 +01:00
Ilya Tagunov
bedfa5788d libc: arcmwdt: increase the number of preallocated locks
Increase the number of locks to match what the ARC MWDT libc requires
now. The library wants to have 2 locks per each available FILE entry,
and then some more. Also do not include an internal libc header, as
all that is needed from that header is a simple typedef.

Signed-off-by: Ilya Tagunov <Ilya.Tagunov@synopsys.com>
2024-12-03 02:37:16 +01:00
Ilya Tagunov
0afae55b4f libc: arcmwdt: replace _write if not provided by the POSIX subsystem
If CONFIG_POSIX_API is enabled, but CONFIG_POSIX_DEVICE_IO_ALIAS_WRITE
is not, the _write replacement should be provided to make stdio work.

Signed-off-by: Ilya Tagunov <Ilya.Tagunov@synopsys.com>
2024-12-03 02:37:16 +01:00