Commit Graph

104169 Commits

Author SHA1 Message Date
Daniel DeGrasse 4703fb0707 drivers: wifi: nxp: remove non-existent TWT fields
Remove references to TWT fields that did not exist, to resolve a build
error.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-24 09:29:21 +02:00
Daniel DeGrasse 452770f9e9 modules: hostap: remove set_btwt API
set_btwt API implementation is not complete. Remove the structure
definition and implementation from the NXP WiFi driver to fix a build
error.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-24 09:29:21 +02:00
Daniel DeGrasse db271a7392 modules: hostap: remove ap_bandwidth API
ap_bandwidth API implementation is not complete. Remove the structure
definition and implementation from the NXP WiFi driver to fix a build
error.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-10-24 09:29:21 +02:00
Maochen Wang 088e4c571c manifest: Update hal_nxp to add Wi-Fi driver
Update hal_nxp to add Wi-Fi driver code.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2024-10-24 09:29:21 +02:00
Neil Chen a10ce8e833 samples: drivers: display: add board to the display testcase
Add platform:frdm_mcxn236:SHIELD=lcd_par_s035_8080 to the display testcase

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-24 09:28:58 +02:00
Neil Chen f5f3efada2 boards: nxp: frdm_mcxn236: Support flexio and lcd_par_s035
Support flexio and lcd_par_s035 for NXP frdm_mcxn236 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-24 09:28:58 +02:00
Neil Chen c597523515 dts: arm/nxp: Add flexio nodes to NXP MCXN23x dtsi file
Add flexio nodes to NXP MCXN23x dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-24 09:28:58 +02:00
Declan Snyder 8c9d7b624c boards: nxp: rw: Enable sctimer
Enable sctimer on RW612 boards

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-10-24 09:28:49 +02:00
Declan Snyder bd9cba897b dts: nxp: rw6xx: Add sctimer node
Add node for sctimer to RW SOC DTS

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2024-10-24 09:28:49 +02:00
Benjamin Cabé a30270668d dts: bindings: vendor-prefixes: fix UP Bridge the Gap typo
s/brige/bridge/

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-24 05:44:23 +01:00
Jamie McCrae 7609a17dc3 mgmt: mcumgr: grp: zephyr_basic: Add missing FLASH_MAP dependency
Adds a missing dependency, this command requires it to erase the
storage area

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2024-10-24 05:43:42 +01:00
Gerard Marull-Paretas 1b0840e910 drivers: pwm: nrf_sw: always default to yes
There's no need to add conditions to CONFIG_PWM_NRF_SW, because it is
already conditioned to DT status. Right now, if any system uses both
normal PWM and "SW PWM", it needs to manually enable the driver
Kconfig.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-24 03:47:23 +01:00
Gang Li 0d2f23f251 net: wifi: Fix the ap config command using the sta interface
The "wifi ap config" command uses the station interface via
net_if_get_first_wifi(), and should use the ap interface.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2024-10-24 03:46:37 +01:00
Dominik Kilian cbaafe209c boards: nordic: ipc: added dcache alignement
The nRF54 and nRF92 chips has data cache, which means
the ICMsg and ICBMsg must be configured to follow required
cache alignment of the shared memory.
The `dcache-alignement` needs to be defined for that.

Signed-off-by: Dominik Kilian <Dominik.Kilian@nordicsemi.no>
2024-10-24 03:45:35 +01:00
Florian Weber 1a89d4b13e drivers: sensor: akm09918: make submit function more unblocking
The driver now does not wait for the completion of a measurement
in the submit function.
Instead it schedule the fetch and the completion of the
submission queue entry as delayed work to the system work queue.

Signed-off-by: Florian Weber <Florian.Weber@live.de>
2024-10-23 15:35:35 -05:00
Michael Arnold 3b6555a992 runners: jlink: Make port selectable for J-Link IP
If multiple J-Links with IP support are used,
they can be selected with different ports.
The actual implementation is just using the default port.
Make the port selectable with <ip>:<port>.

Signed-off-by: Michael Arnold <marnold@baumer.com>
2024-10-23 15:34:25 -05:00
Jilay Pandya d172847da5 drivers: sensor: adi: ltc2990 init trigger measurement
This commit triggers measurement during sensor initialization

Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
2024-10-23 15:33:56 -05:00
Sean Madigan e4fa386882 soc: nordic: nrf53: SOC_NRF53_CPUNET_ENABLE should not depend on !BT
The previous changes in
https://github.com/zephyrproject-rtos/zephyr/pull/74304
assumed that because this is also handled in
`bt_hci_transport_setup` that it shouldn't be done on
initialisation too.

However, if someone wants to develop their own app which
uses BT and also wants to enable the CPUNET by default this
KConfig should be available to them.

Signed-off-by: Sean Madigan <sean.madigan@nordicsemi.no>
2024-10-23 15:32:59 -05:00
Benjamin Cabé a2ecead78a boards: rakwireless: Use proper vendor prefix as board folder
hwmv2 established a convention that boards live in a folder named after
the vendor prefix.
RAK Wireless boards apparently missed the memo :)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-23 15:31:48 -05:00
Benjamin Cabé 074c0492ce doc: guidelines: add target-notes instructions and example
.. target-notes:: is a useful directive that needs to explicitly be
included for a "References" section to really be useful. This commit
updates the doc guidelines accordingly to help ensure that future docs
are using it correctly.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-23 15:30:44 -05:00
Benjamin Cabé fa0b17e4b1 doc: samples: add target-notes directive where missing
For the "References" section to be useful, it needs to include a call to
the target-notes directive, which is the one that actually generates the
list of references made in the current document.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-23 15:30:44 -05:00
Benjamin Cabé bbdf72f015 doc: boards: add target-notes directive where missing
For the "References" section to be useful, it needs to include a call to
the target-notes directive, which is the one that actually generates the
list of references made in the current document.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-23 15:30:44 -05:00
The Nguyen 0e7c64e2ee samples: net: prometheus: add filter to not build with Renesas RA FSP
Exclude CONFIG_HAS_RENESAS_RA_FSP as Renesas RA HAL has build error
with MbedTLS and Socket enabled
Description in https://github.com/zephyrproject-rtos/zephyr/issues/80121

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2024-10-23 15:29:41 -05:00
Audun Korneliussen 7da4f4d9cd driver: regulator: npm1300: fix build warning
regulator_npm1300_init() generated uninitialized variable warning.
Fix this by being consistent in the error checking in underlying function.

Signed-off-by: Audun Korneliussen <audun.korneliussen@nordicsemi.no>
2024-10-23 15:29:00 -05:00
Carles Cufi b9058e8d18 boards: nordic: nRF54L15 DK: Update note
The note had become obsolete, point instead to Nordic's product and
documentation pages.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2024-10-23 15:28:01 -05:00
Bartlomiej Buczek dfbcea777a tests: drivers: adc_accuracy: add calibration before sampling
Calibrate adc before taking measurement.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek 557b5bda9a tests: drivers: adc_accuracy: parametrize expected accuracy
On nrf boards expected accuracy from ref voltage is 64 instead of 32.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek 008f8babac tests: drivers: adc_api: change second channel gain for nrf54.
It will increase test coverage for adc driver, no test uses
ADC_GAIN_2_3 setting yet.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek 108f6cdf3a tests: adc_accuracy: add overlay for nrf54l15dk.
Add overlay and enable test for nrf54l15dk.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek d4c8b358fa tests: adc_accuracy: Add overlay for nrf54h20dk.
Add overlay and enable test for nrf54h20dk.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek dc9a9dcf40 tests: adc_accuracy: Add overlay for nrf52840dk.
Add overlay and enable test for nrf52840dk.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:17 +02:00
Bartlomiej Buczek da81490034 tests: drivers: adc: add adc_error_cases tests.
Tests are checking error codes returned from adc_read() and
adc_channel_setup() used with invalid configurations.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2024-10-23 17:02:07 +02:00
Dominik Kilian 8d99393530 doc: ipc: Add detailed protocol specs for ICBMsg backend
The details of how the ICBMsg communication is done, are hidden
inside the source code. This specification adds details about
the ICBMsg protocol.

Signed-off-by: Dominik Kilian <Dominik.Kilian@nordicsemi.no>
2024-10-23 17:01:54 +02:00
Dominik Kilian 7574602108 doc: ipc: Add detailed protocol specs for ICMsg backend
The details of how the ICMsg communication is done, are hidden
inside the source code. This specification adds details about
the ICBMsg protocol.

Signed-off-by: Dominik Kilian <Dominik.Kilian@nordicsemi.no>
2024-10-23 17:01:17 +02:00
Chaitanya Tata 78f5821b37 modules: hostap: Add a config option for WPA control timeout
WPA control interface timeout is hardcoded to 10s, add a configuration
option to remove the hardcode, this is needed sometimes as a workaround
e.g., crypto taking too long to complete the request.

Work around for #79834, increase the default from 10 to 15s, in positive
case this will have no impact.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 3cf8b09a9a manifest: hostap: Pull compile error fixes
This is related to work on #79973 which creates build tests
for hostap with different configurations.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 3f8828d827 tests: net: wifi: Add build test for various config combinations
Try to compile test wifi with various configuration combinations.
This is trying to catch simple compilation issues in the PRs.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen ec21dab31a hostap: Avoid warning of different enum mapping
Even if the enum contains the same values, the values might
change if the wpa_supplicant sources change or Zephyr values
change. In order to avoid weird errors later and prevent the
following warning, add a conversion functions for the enums.

modules/hostap/src/supp_api.c:1172:23: warning: implicit conversion
from enumeration type 'enum mfp_options' to different enumeration
type 'enum wifi_mfp_options' [-Wenum-conversion]
                status->mfp = ssid->ieee80211w; /* Same mapping */

modules/hostap/src/supp_api.c:1190:30: warning: implicit conversion
from enumeration type 'enum wpas_mode' to different enumeration
type 'enum wifi_iface_mode' [-Wenum-conversion]
                status->iface_mode = ssid->mode;

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen c9b8365f6d hostap: Add needed include files to fix compilation
The "enum wpa_msg_type" was not found by default so add needed
include files to get the definitions.

modules/hostap/src/supp_main.h:61:57: warning: ‘enum wpa_msg_type’
   declared inside parameter list will not be visible outside of
   this definition or declaration
   61 | void wpa_supplicant_msg_send(void *ctx, int level,
                                     enum wpa_msg_type type,
                                     const char *txt,

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 6ac4e9c3b7 hostap: Remove not found hostapd functions
Both the supplicant_set_btwt() and supplicant_ap_bandwidth() are
not found in Zephyr sources so remove them.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 980a352d39 hostap: Fix crypto=none compilation
If CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_NONE is enabled, there
are lot of missing functions reported during linking.
Add missing C files to the compilation to fix this.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen e9ec7a23a3 hostap: Enterprise mode needs sha1-internal.c
Without this there is an error

modules/lib/hostap/src/crypto/fips_prf_internal.c:47: \
    undefined reference to `SHA1Transform'

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 33bc6f05c8 hostap: Fix compilation error when enterprise support is enabled
The code was missing ")" when checking crypto support.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 6827ec0d93 hostap: P2P needs EAPOL to select it
The P2P support needs EAPOL support in order to avoid a compilation
error about missing eap field in wpa_ssid struct.

modules/lib/hostap/wpa_supplicant/wpa_supplicant.c:5102:65:
 error: ‘struct wpa_ssid’ has no member named ‘eap’
 5102 |      eap_is_wps_pin_enrollee(&wpa_s->current_ssid->eap)) {

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 0edb64db5f hostap: Add ip-addr.c compilation to the build
The functions in ip-addr.c are needed in more places than just
for hostapd so add it unconditionally to the build.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 18275f84d7 hostap: Fix hostapd AP compilation error
The supplicant_ap_status() is only available if
CONFIG_WIFI_NM_HOSTAPD_AP is enabled.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Jukka Rissanen 5c5f3b0b51 hostap: Remove extra IEEE8021X_EAPOL as it was mentioned twice
The CONFIG_IEEE8021X_EAPOL was in the Kconfig file twice so
remove the extra entry.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-23 17:00:45 +02:00
Emil Gydesen fb6c4427b8 Bluetooth: Audio: Add helpers for broadcast name
Added helper functions to set and get broadcast name
for codec capabilities and codec configs.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-10-23 16:54:28 +02:00
TOKITA Hiroshi 67db7fb232 MAINTAINERS: Add build_all test files for crypto, disk and w1
Add build_all to `files:` entry to crypto, disk and w1.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-23 16:54:15 +02:00
TOKITA Hiroshi 0845fbda7f tests: drivers: build_all: w1: Add `zephyr,w1-serial` to build test
Add configuration for `zephyr,w1-serial` to enable build test

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-10-23 16:54:15 +02:00