Commit graph

103597 commits

Author SHA1 Message Date
Marcio Ribeiro
235243f02b manifest: esp32: update hal_espressif
Update hal to cover latest features and fixes.

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2024-10-16 12:26:52 +02:00
Christian Gabriel
5c638395ac modules: canopennode: add rxmsg callback
Implement callback for incoming CAN messages for any of the
configured filters for CANopenNode.

This can be used to wake the loop calling CO_process when a
new message was received which needs processing.

Signed-off-by: Christian Gabriel <ch_gabriel@web.de>
2024-10-16 12:26:40 +02:00
Benjamin Cabé
ede954c098 doc: extensions: boards: add search tips admonition
As the search form is becoming richer, provide some guidance on how to
filter the list of supported boards and what to do when no results are
found.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-16 12:26:27 +02:00
Benjamin Cabé
282a6c5a98 doc: boards: allow filtering by SoC
This introduces the ability to filter boards by soc (family / series /
soc).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-16 12:26:27 +02:00
Benjamin Cabé
86b72ee6e2 doc: extensions: boards: extract socs information
Store soc(s) information for each board in the catalog, as
well as populate a tree structure for the full list of
family->series->soc.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-16 12:26:27 +02:00
Benjamin Cabé
c5529309f1 doc: extensions: boards: don't guess board full name anymore
Now that we have full_name available in board.yml, stop trying
to "guess" full/commercial name of the board based on its
documentation.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-10-16 12:26:27 +02:00
Hao Luo
e7a64f74a8 drivers: i2c: add runtime put for error path
The previous error path incorrectly returned without
calling runtime put async

Signed-off-by: Hao Luo <hluo@ambiq.com>
2024-10-16 12:26:17 +02:00
Damian Krolik
5d69216cc9 net: openthread: add Kconfig for CSL request time ahead
Add OPENTHREAD_CSL_REQUEST_TIME_AHEAD Kconfig variable.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2024-10-16 12:26:06 +02:00
Jamie McCrae
9b4f18cb24 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  b9d69dd2a2d6df32da6608d549138288bb7d7aa5

Brings following Zephyr relevant fixes:
  - b9d69dd2 zephyr: print version number before boot
  - 08a71d10 boot: bootutil: swap_scratch: Fix compressed image
    sector size check
  - d69933cd scripts: imgtool: compression ARM thumb filter
  - a5f28c13 bootutil: Add SHA-512 support to Ed25519
  - 601463db bootutil: Add SHA-512 support with mbedTLS
  - f1f557fd zephyr: Fixing Kconfig dependency for SHA512
  - 5c21093a boot: zephyr: use EXTRA_CONF_FILE instead of
    deprecated OVERLAY_CONFIG
  - b233228a samples: zephyr: add sysbuild to the hello-world
    sample
  - a91a6156 boot: zephyr: Fix serial recovery for NXP IMX.RT
    platforms
  - a967c66e boot: zephyr: Fix Warning 'boot_serial_enter defined
    but not used'
  - a5e3d163 zephyr: hello_world: Fix the main() return type
    warning
  - 63fa7e45 scripts: imgtool: compression
  - 30bcd468 bootutil: Add SIG_PURE TLV
  - 8f759f2e boot: Replace boot_encrypt by boot_enc_encrypt and
    boot_enc_decrypt
  - c894d047 imgtool: Add support for calculating SHA512

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-10-16 12:25:51 +02:00
Victor Chavez
db4c206d4e zbus: fix extern declaration for cpp
Declaration with const keyword (subscriber, listener,message)
require extern cpp declaration otherwise the name is mangled.

Fixes  https://github.com/zephyrproject-rtos/zephyr/issues/79664

Signed-off-by: Victor Chavez <vchavezb@protonmail.com>
2024-10-16 12:25:40 +02:00
Jordan Yates
0fb63c05d1 tests: random: rng: validate sys_csrand_get availability
Validate that `sys_csrand_get` is available when `TEST_RANDOM_GENERATOR`
is enabled.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-10-16 10:00:47 +02:00
Jordan Yates
bff97fbc7f random: sys_csrand_get backend for TEST_RANDOM_GENERATOR
When non-random number generation is allowed via
`TEST_RANDOM_GENERATOR`, enable an implementation for `sys_csrand_get`
that stubs out to `sys_rand_get`. This enables libraries that request
CS random numbers to be tested in CI, even if the results are not CS in
that context.

The documentation for `TEST_RANDOM_GENERATOR` is explicit enough about
the dangers of enabling this in production.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2024-10-16 10:00:47 +02:00
Yangbo Lu
fdcdc5d3cd boards: nxp: mimxrt1180_evk: update doc and yml for NETC support
Updated doc and yml for NETC support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
fe95141695 boards: nxp: mimxrt1180_evk: add board netc init
Added board netc init for mimxrt1180_evk.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
a168c6283e boards: nxp: mimxrt1180_evk: enable netc support in dts
Enabled netc support in dts.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
ea741a3174 dts: arm: nxp_rt118x_cm33: fix address format
Fix address format to resolve build warning.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
97b02c3249 dts: arm: nxp: nxp_rt118x: add netc node
Added netc node for nxp_rt118x.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
7f4c074114 soc: nxp: imxrt118x: enable and configure M33 MPU
Enabled and configured M33 MPU.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
4d248fda87 soc: nxp: imxrt118x: add NonCacheable section for M33 linker
The NonCacheable section is required by HAL driver.
Added it with using DTCM.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
f83a695f25 soc: nxp: imxrt118x: add NETC clock init support
Added NETC clock init support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
8f99767dd3 soc: nxp: imxrt: increase system workqueue stack for NETC
Increased system workqueue stack for NETC to use.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
a79b65facd modules: hal_nxp: enable NETC cache control in default
Enabled NETC cache control in default.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
6a8cdf42b5 drivers: clock_control_mcux_ccm_rev2: add NETC clock support
Added NETC clock support for clock_control_mcux_ccm_rev2.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
553079350c drivers: ethernet: add NXP i.MX NETC driver
Added NXP i.MX NETC driver based on NXP MCUX SDK driver APIs.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Yangbo Lu
4986809581 drivers: mdio: add NXP i.MX NETC MDIO driver
Added NXP i.MX NETC MDIO driver based on NXP MCUX SDK driver APIs.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2024-10-16 10:00:32 +02:00
Kristoffer Rist Skøien
c73c5d985e shell: Added assert
Assert to check columns. Averts a potential divide by zero

Signed-off-by: Kristoffer Rist Skøien <kristoffer.skoien@nordicsemi.no>
2024-10-16 10:00:17 +02:00
Armin Kessler
9564a3b431 drivers: video: esp32s3: Add set_signal video api function
This PR implements the set_signal callback from the video API.
A signal registered on VIDEO_EP_OUT raises once a new image has
been received completely.

Signed-off-by: Armin Kessler <ake@espros.com>
2024-10-16 10:00:01 +02:00
Lyle Zhu
0e4561bed2 Bluetooth: SSP: No MITM if required level is less than L3
Regardless IO capabilities, clear MITM flag for pairing
initiator if the required security level is less than
BT_SECURITY_L3.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-10-16 09:59:38 +02:00
Lothar Felten
a427497f03 documentation: lilygo: fix formatting for LoRa32 and T8-C3
Fix the formatting of the doc/index.rst for Lilygo LoRa32 and T8-C3
Requested by nordicjm

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2024-10-16 09:59:26 +02:00
Nikodem Kastelik
e31598233d samples: drivers: adc: add support for internal nRF54L SAADC inputs
SAADC peripheral for nRF54L Series allows to choose internal
voltages as positive inputs and samples shall showcase that.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-16 09:59:16 +02:00
Nikodem Kastelik
ece7da5947 drivers: adc: nrf: add support for nrf54l internal SAADC inputs
SAADC peripheral for nRF54L Series allows to choose internal
voltages as positive inputs.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-16 09:59:16 +02:00
Nikodem Kastelik
d494769948 dts: nordic: refactor bindings helper symbols for SAADC
Split header files containing symbols denoting SAADC inputs
so that only supported inputs can be used for given device.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-16 09:59:16 +02:00
Kiara Navarro
41f749ce8b lorawan: unify logging level
All the remaining modules uses LOG_MODULE_REGISTER(<module>, <log level>)

Lets update the logging registration as the other modules are doing it.

Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2024-10-16 09:59:01 +02:00
Sylvio Alves
5a205518a6 tests: drivers: counter: fix no_alarm use case
In the test scenario without alarms, it might
be the case that counter is already running and
it will not match the expected tick.
This adds a tick offset into the expected value
based on current counter reading.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-16 09:58:47 +02:00
Sylvio Alves
7668a4d27e drivers: counter: esp32: force capture to read value
Force capture call so that timer counter value is updated
accordingly.

This also adds get_value_64 counter API function.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-10-16 09:58:47 +02:00
Lingao Meng
537d215981 Bluetooth: Mesh: Fixes after proxy advertising unable to send messages
When Proxy advertising or PB-GATT Advertising Enabled and use a same
advertising sets.

As adv\_start will call multi HCI Command will cause syswork_q yield.
At same time, if another thread(BT RX) all schedule\_send will cause
unable send mesh message, because ADV\_FLAG\_ACTIVE was be set, but
ADV\_FLAG\_PROXY not set currentlly.

Add ADV\_FLAG\_SCHEDULE\_PENDING indicate mesh buf has been pendings
but not scheduled, so when proxy advertising enable, let's take again,
as we can't break or terminated adv\_start, so we must waiting proxy
advertising enabled.

But after https://github.com/zephyrproject-rtos/zephyr/pull/68558

The `k_work_is_pending` always true in `send_pending_adv`, which cause
unable to send more mesh message until more mesh message comming

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2024-10-16 09:58:33 +02:00
Arnaud Pouliquen
6e75926b9d maintainers: move arnopo from maintainer to collaborator of IPC
Move myself from maintainer to collaborator.
I am not active enough on Zephyr to take on the role of maintainer.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2024-10-16 09:58:24 +02:00
Neil Chen
0fa766c8ea tests: drivers/regulator/voltage: Add regulator test for NXP frdm_mcxn236
Support regulator(vref) output vt oltage test for NXP frdm_mcxn236

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
a6b414d46b tests: drivers/adc/adc_api: Support adc api test for NXP frdm_mcxn236
Support adc api test for NXP frdm_mcxn236

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
2c6f993098 samples: drivers/adc: Support adc example for NXP frdm_mcxn236
Support adc example for NXP frdm_mcxn236

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
0ffe2f0006 boards: nxp/frdm_mcxn236: Support lpadc for NXP frdm_mcxn236
Support lpadc for NXP frdm_mcxn236

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
078580e791 boards: nxp/frdm_mcxn236: Support vref for NXP frdm_mcxn236
Support vref for NXP frdm_mcxn236

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
38dab1219b dts: arm/nxp/mcxn23x: Add lpadc nodes for NXP mcxn23x
Add lpadc nodes for NXP mcxn23x

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Neil Chen
5fbaf22fb3 dts: arm/nxp/mcxn23x: Add vref node for NXP MCXN23x
Add the vref node for NXP MCXN23x

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2024-10-16 09:57:49 +02:00
Chaitanya Tata
cb1ea80c02 drivers: nrfwifi: Add provision to handle FW blobs externally
The FW blobs are contentious topic in OSS, so, add a provision to use
external tooling (e.g., NCS) to handle FW blobs for advanced usecases
(e.g., storing in external flash).

This won't be used upstream, only built-in or build-only are supported.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-10-16 09:57:39 +02:00
Chang Feng
2e93bcf2d7 driver: serial: gd32: add irq_update
Add missing api irq_update for gd32.

Signed-off-by: Chang Feng <chang_196700@hotmail.com>
2024-10-16 09:57:05 +02:00
JP Hutchins
c81e36091d doc: mcumgr: Add smp and smpclient
The smp library implements de/serialization of SMP messages.
The smpclient library implements the serial, BLE, and UDP
transport layers for Windows, Linux, and macOS.

Signed-off-by: JP Hutchins <jp@intercreate.io>
2024-10-16 09:56:52 +02:00
Lingao Meng
664c087d55 Bluetooth: Mesh: Refine Mesh store logic
Move flag&handler to structure, not only save some flash size
but also make code more readable.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2024-10-16 09:56:26 +02:00
Maochen Wang
244958c9f4 manifest: Update hostap to fix build error
Fix build error of undefined reference to 'inet_aton' in
hostap/src/utils/ip_addr.c

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2024-10-16 09:56:15 +02:00
Maochen Wang
d916d7287d drivers: wifi: nxp: fix build error
Fix build error of undefined 'nxp_wifi_ret_t'.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2024-10-16 09:56:04 +02:00