Commit Graph

102891 Commits

Author SHA1 Message Date
Jérôme Pouiller 7edafe00f6 soc: silabs: Drop useless comments
Most of the Kconfig files in soc/silabs start with a comment describing
the chip. This comment is redundant with the help message in associated
to the chip. Let's don't repeat ourselves.

This patch also ensure the Kconfig help message the full name the chip.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-09-28 08:15:38 -05:00
Jérôme Pouiller 322a086269 boards: silabs: Drop useless comments
Most of the Kconfig files in boards/silabs start with a comment
describing the board. This comment is redundant with the content of
board.yaml. Let's don't repeat ourselves.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-09-28 08:15:38 -05:00
Jérôme Pouiller b695d18a1d boards: silabs: Add chipset reference to "sltb004a"
Usually commercial names mention the chipset included on the board.
"Thunderboard Sense 2" is the only exception in the Silabs boards.

This information is probably useful, so add it to the description of
this board.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-09-28 08:15:38 -05:00
Jérôme Pouiller c08001b115 boards: silabs: Add internal board references
Yaml files allows the user to find the internal name for their board
using the "name" field.

In addition of the commercial names/references, Silabs boards have
internal board references. These references are not advertised, but can
be found printed on (every) boards.

It makes sense to add this reference to the Yaml file in case a user
would have the idea to grep it.

This patch also fixes some commercial names of very old boards.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2024-09-28 08:15:38 -05:00
Florian Grandel 247ce6cbe2 doc: build: kconfig: preprocessor: remove obsolete entry
The entry listed in the docs does not exist. The correct entry
(dt_compat_enabled) is present.

Fixes #79081

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2024-09-28 08:14:45 -05:00
Jukka Rissanen 2f47de60a0 hostap: The security keys were checked in wrong function
The security check case statements were in frequency band
setting checks. This is totally wrong and will cause compiler
warnings. Moving the checks to correct function.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-09-27 21:06:44 +01:00
Krzysztof Chruściński d11997dbcf samples: boards: nordic: coresight_stm: Add flpr and ppr support
Add flpr and ppr core to the sample.

Since there are only 2 UARTs available on DK, local UART configuration
is using only cpuapp and cpurad.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-09-27 14:30:57 +01:00
Krzysztof Chruściński c61e92a79c samples: boards: nordic: coresight_stm: Improve benchmark
Add interrupt locking during test to ensure that main thread is not
interrupts which would impact the test.

Add longer sleep time between tests to ensure that all logs are
processed on time and not dropped.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-09-27 14:30:57 +01:00
Krzysztof Chruściński c2454f2a9f logging: frontend: stmesp: Do not append strings when not needed
Currently we can assume that flpr and ppr cores are always owned by
cpuapp. In that case, cpuapp (which processes ETR buffer content) has
access to the memory where logging strings from ppr and flpr are
located. Those strings do not need to be appended to the message
which is written to the STM (in case of standalone configuration).
This approach reduced logging time, e.g. logging a message with
one argument takes 1.8us on cpuapp and 6.3us on cpurad.

This setting applies only to the case when cpuapp is the owner
of those co-oprocessors and shall be updated if that becomes
configurable but currently there are no means to detect core
owner.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-09-27 14:30:57 +01:00
Krzysztof Chruściński 8e22222e75 dts: riscv: nordic: nrf54h20_cpuflpr: Add stmesp node
Add node with STMESP registers.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-09-27 14:30:57 +01:00
Alberto Escolar Piedras d67d64de91 boards/native/doc: Update architecture description
The architecture description was quite out of date in some parts,
specially those which changed with the introduction of the native
simulator.
Let's update it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-09-27 14:30:39 +01:00
Dmitrii Golovanov 2ddab56bfd scripts: twister: Fix trailing CR/LF at BinaryHandler logs
Fix trailing `\\r\\n` (escaped CR/LF) didn't cut off because of rstrip()
removed by #58338, so the CR/LF suffix was never found as the actual line
end was `\\r\\n\n`.

Add ANSI code sequence to `test_handlers` Twister unit test.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-09-27 14:30:26 +01:00
Reto Schneider 58d9e3d27a boards: arm: v2m_musca_s1: Fix unit and first address mismatch
This fixes the following warnings:

> unit address and first address in 'reg' (0xa080000) don't match for
> /mram@a080400

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2024-09-27 14:30:12 +01:00
Gang Li caf86128b7 drivers: wifi: nxp: add AP configuration cmd support
Implement NXP AP configuration parameter operations.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2024-09-27 10:56:57 +01:00
Gang Li 4bfdb64386 hostap: add AP configuration cmd support
Implement AP configuration parameter operations.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2024-09-27 10:56:57 +01:00
Robert Lubos 1dca822483 tests: net: http_server: Add netif dependency
Some of the http_server tests suites were missing netif dependency.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-09-27 10:56:47 +01:00
Vidar Berg d943e22f94 drivers: flash: spi nor: Allow the init priority to be configurable
Some applications may require the SPI NOR driver to be initialized
earlier. This commit enables the user to change the default
initialization priority.

Signed-off-by: Vidar Berg <vidar.berg@nordicsemi.no>
2024-09-27 10:56:41 +01:00
Jeppe Odgaard 6bca0347df doc: mcumgr: Use SPDX license list short identifier
Fix license notation inconsistency in the MCUmgr tools/libraries table.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2024-09-27 10:56:36 +01:00
Jeppe Odgaard a8859e7f87 doc: mcumgr: Fix license
mcumgr-client is Apache-2 and not BSD licensed. See:
https://github.com/vouch-opensource/mcumgr-client/blob/main/LICENSE

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2024-09-27 10:56:36 +01:00
Dan Collins 0e43dd23ae soc: st: adds support for stm32u545xx
This adds support for the stm32u545xx SoC, which extends
the stm32u5 family already present in Zephyr.

Signed-off-by: Dan Collins <dan@collinsnz.com>
2024-09-27 10:56:25 +01:00
Gaofeng Zhang 94386e103e zephyr: hostap: fix eap secure mode print UNKNOWN
wpas_key_mgmt_to_zephyr doesn't support eap secure mode, add code to
support eap secure mode.

Signed-off-by: Gaofeng Zhang <gaofeng.zhang@nxp.com>
2024-09-27 10:56:16 +01:00
Fabrice DJIATSA 31d24eb186 tests: drivers: adc: adc_api: update adc_api test
-add nucleo_u083rc and stm32u083c_dk overlays files
for testbench purpose.
- add platform_exclude property to skip test on boards
with little ram size.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>

tests: drivers: adc: adc_api: update adc_api test
2024-09-27 10:55:56 +01:00
Fabrice DJIATSA bfa6c32e07 divers: adc: update adc driver to integrate stm32u0
add u0 config_soc conditions in adc driver to handle
news peripherals.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-27 10:55:56 +01:00
Fabrice DJIATSA 293eb22d62 boards: st: add adc node in dts file and update docs
-enable adc in nucleo_u031r8, stm32u083c_dk and nucleo_u083rc
- add adc as new supported interface in docs
- update yaml files

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-27 10:55:56 +01:00
Fabrice DJIATSA 301111ead4 dts: arm: st: u0: add adc node in dtsi file
all stm32u0 boards have only one and same
adc peripheral.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2024-09-27 10:55:56 +01:00
Morten Priess 7e892f8c6f Bluetooth: controller: Remove SC-jitter from ISO pause/resume setup
Because timing of the pause/resume for peripheral/sync is based on
central/broadcaster active clock, the sleep-clock jitter shall not be
added.

Signed-off-by: Morten Priess <mtpr@oticon.com>
2024-09-27 09:03:37 +02:00
Morten Priess fe83a9dc22 Bluetooth: controller: Fixes and improvements for PTO implementation
- Add next pointer to node_rx_iso_meta for pre-transmission linked
  list (does not increase memory usage as union is larger).
- Fix broadcaster not setting PTC with test configuration
- Refactor stopping of sync ISO tickers to separate function

Signed-off-by: Morten Priess <mtpr@oticon.com>
2024-09-27 09:03:37 +02:00
Morten Priess 541b516a3f Bluetooth: controller: Make ISO Pause/Resume common
Share pause/resume functionality by moving resume ticker handling to
ull_iso. Rename interface function to ull_conn_iso_resume_ticker_start,
and provide handles instead of instance pointer.

Signed-off-by: Morten Priess <mtpr@oticon.com>
2024-09-27 09:03:37 +02:00
Laurentiu Mihalcea 848907c0f8 soc: imx: imx95: enable cache management for M7
Enable cache management for the M7-based i.MX95 soc.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2024-09-27 09:02:14 +02:00
Jiafei Pan d8663bf501 boards: imx8mm/n/p imx93: add U-Boot requirement in document
Currently NXP MPU depends on "cpu" command in uboot to kick Zephyr to
Cortex-A Core, added U-Boot version which support "cpu" command in the
board documents.

Refined boot commands.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2024-09-27 09:00:31 +02:00
Szymon Janc fa8f86f283 MAINTAINERS: Remove sjanc from Bluetooth Classic group
sjanc is not working on BT Classic and shouldn't be assigned as
reviewer for those.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2024-09-27 09:00:00 +02:00
Jamie McCrae 2485102606 doc: release: 4.0: Add note on new MCUmgr img mgmt slot info
Adds information on the new img mgmt slot info command

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-09-26 17:48:05 -04:00
Jamie McCrae a9731b5d67 tests: mgmt: mcumgr: Add img_mgmt_slot_info test
Adds a test to exercise this new feature

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-09-26 17:48:05 -04:00
Jamie McCrae 82d3400a1c doc: services: device_mgmt: smp: Add img mgmt slot info docs
Adds documentation describing the new slot info command

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-09-26 17:48:05 -04:00
Jamie McCrae 9c821eb999 mgmt: mcumgr: grp: img_mgmt: Add slot info command
Adds a new command that will return information on slots
themselves, listing the slot sizes, without any internal
information about the slot data. Will also return the maximum size
of an image for a set of slots if built using sysbuild.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-09-26 17:48:05 -04:00
David Brown bd46e8d849 modules: Add placeholder for CONFIG_RUST
In order to be able to ifdef based on `CONFIG_RUST`, the config must be
defined in the main repo (because the rust module is optional).  Add
this as a placeholder.  If the module is not availabe, the symbol will
be present, and always disabled.  The module will provide a full
definition for the Kconfig.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
David Brown b14ed47d11 linker: Include the .ARM.extab section for Rust
This is a little complicated.  We currently just jump directly to rust's
panic, so we aren't likely to actually need these unwind tables.  But, they
would be needed if we ever reall paniced.  As of the time of this change,
the tables seem to just be 24 bytes of ROM space.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
David Brown 442e212364 MAINTAINERS: Add zephyr-lang-rust maintrenance
Indicate that this the lang-rust module (modules/lang/rust) is
maintained.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
David Brown 8aaad1e960 .gitignore: Ignore Rust 'target' directories
Although the Cmake rules to build Rust applications keeps the target
directory inside of the build directory, some IDE tools may generate a
target directory while editing the code.  Ignore these so they never get
checked in.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
David Brown f1ec7be154 gitignore: Ignore some Rust/Cargo generated files
Although the Cmake rules for Rust leave all build files in the build
directory, sometimes tools such as IDEs can leave a few files in the
source tree.  Ignore these to make sure they don't get committed.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
David Brown 46aa9d7c49 manifest: Add rust lang module
Add zephyr-lang-rust as an optional module.  This module brings in
support for writing applications in Zephyr using the Rust programming
language.

At this point, the integration supports:

- Building applications with Rust support.
- CI testing of samples and tests from the rust module (twister
  functionality already present).

Still to do is adding documentation to the Zephyr docs with an overview
of Rust support as well as the generation of the rustdoc docs.

Signed-off-by: David Brown <david.brown@linaro.org>
2024-09-26 17:46:27 -04:00
Dmitrii Golovanov 883d9e3a6c ci: elasticsearch: Upload script index map examples
Add several examples for `upload_test_results_es.py` script usage
with ElasticSearch index map files for the following use cases:

 * Twister test results.

 * Twister test results with recordings.

 * Memory Footprint data (`twister-footprint.json`).

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-09-26 17:44:01 -04:00
TOKITA Hiroshi 6e5f1f19c9 tests: drivers: build_all: adc: Adding configuration for `ti,tla2021`
Add configuration for ti,tla2021 to enable build test.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-26 17:43:52 -04:00
TOKITA Hiroshi a29c27f050 drivers: adc: ads1112: Remove unused variables
Remove unused variables for suppress warnings

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-26 17:43:52 -04:00
TOKITA Hiroshi a873c73701 driver: adc: ads1112 Fix missing `default y` in config ADC_ADS1112
The `default y`, which is coupled with
depends on DT_HAS_TI_ADS1112_ENABLED to link the settings with DeviceTree,
which was missing, so I added it.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-09-26 17:43:52 -04:00
Vinayak Kariappa Chettimada b423941010 Bluetooth: Controller: Remove unused nRF21 FEM SPI CSN control
Remove unused nRF21 FEM SPI CSN control as the Zephyr
Controller does not implementation SPI control for Tx/Rx
nor for Tx gain settings.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-09-26 17:43:34 -04:00
Vinayak Kariappa Chettimada 7443daf6ef samples: Bluetooth: hci_uart: CI coverage for nRF52833 DF
Add CI coverage for nRF52833 DF features in hci_uart sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-09-26 17:43:34 -04:00
Vinayak Kariappa Chettimada f98a5dd4ec samples: Bluetooth: hci_uart: CI coverage for nRF52dk
Add CI coverage for nRF52dk in hci_uart sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-09-26 17:43:34 -04:00
Vinayak Kariappa Chettimada d8e75f8c40 samples: Bluetooth: hci_uart: CI coverage for nRF52840
Add CI coverage for nRF52840 in hci_uart sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-09-26 17:43:34 -04:00
Vinayak Kariappa Chettimada 8f751c799d samples: Bluetooth: hci_uart: CI coverage for nRF52+nRF21 FEM
Add CI coverage for nRF52840 plus nRF21540 FEM usage in
hci_uart sample.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-09-26 17:43:34 -04:00