The various DT helpers benefit from being shown in their respective
device sections as it's expected that some users will be looking there
rather than generic Devicetree help pages.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Rather than keeping limits defined in a common way, controllable with one
Kconfig, move posix definitions out of the standard common libc header
`<limits.h>` into `<zephyr/posix/posix_limits.h>`, not controlled with
Kconfig. Additionally, include `<zephyr/posix/posix_limits.h>` wherever
an in-tree C library includes a custom `<limits.h>`.
Note: the only reason any of the `<limits.h>` files exist, is to define
the POSIX limit PATH_MAX without declaring `_POSIX_C_SOURCE`, which would
be necessary according to the standard, and each of the custom `<limits.h>`
files is nearly identical in this regard.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
In order to reduce conflicts with limits defined in external C libraries,
move Zephyr's POSIX limits from posix_features.h to limits.h in the
common C library sources.
In order to give the implementation better control over where POSIX
limit definitions originate, use `#include_next <limits.h>` to pull in
the corresponding header of the C library, and provide a non-user
configurable option `CONFIG_TC_PROVIDES_POSIX_LIMIT_DEFS` that may be set
in order to ensure that the C library version of POSIX limits are used.
Note: this may mean that runtime invariant values are inconsistent with
parts that are actually in use within Zephyr, so applications are
encouraged to use `sysconf()` with external C libraries that implement
parts of the POSIX standard to query system configuration values at
runtime.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Versions for specific modem modules don't include versions in their
headers, and the chat module did not even define a group.
This commits updates most modem modules to include versions in
their headers. Specifically, the following modules have their
versions set to 1.0.0, as these should no longer be marked
experimental:
- modem_chat
- modem_cmux
- modem_pipe
- modem_pipelink
- modem_ppp
- modem_ubx
Though the modem_ubx was recently refactored, it is tested in CI
and is implemented by two drivers, and has been present since
release 3.7, so it is not marked as experimental.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
The RXv2, RXv3 feature with a configuration to be able to relocate
the exception vector table by setting the extb register in the
CPU, this commit support to enable the config and code handling
for it
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Save the air_mode to SCO connect object.
Add a structure `struct bt_conn_sco_info` to return the SCO conn info.
Return SCO info through `struct bt_conn_sco_info` when calling the
function `bt_conn_get_info()`.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
There are three aspects of changes involved:
1. The format of Service Category should be checked in set
configuration cmd and error code and Service Category
should be detailed in response.
2. There is no INT Stream Endpoint ID in re_config cmd,.
3. Fail ACP SEID should be added to start and suspend rej rsp.
Signed-off-by: Cheng Chang <cheng.chang@nxp.com>
Store the SID in the advertising set, and let it be possible
to get it again via bt_le_ext_adv_get_info.
The SID may be used by higher layers to shared information
about the advertising set.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Add Doxygen tags giving users an indication that some API will only be
available if the corresponding Kconfig option is enabled.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
In function `parse_read_by_uuid()`, the response length is not checked
before parsing the response PDU. There is a potential issue that the
`len` will be underflowed if the `len` is less than the size of
`struct bt_att_data`.
Check the length before parsing the response PDU. If the length is less
then the size of `struct bt_att_data`, notify the upper layer with the
error `BT_ATT_ERR_INVALID_PDU` and stop the parsing.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
- Move sensing documentation in the "OS Services" group
and clean up group declarations
- Add missing documentation for the Sensing Subsystem API and complete
existing docs when it was too terse
- Other grammar/cosmetic improvements
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
- add some missing docs
- make sure API guarded by Kconfig is showing up in the docs
- show EC Host Command docs in the Device Management group
- re-arrange groups for backends and simulator API
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add API documentation for `bt_conn_le_cs_mode` and internal extractors
for main and sub-mode parts. Clarify that the enum values are an
internal encoding, not a stable API, and that the sub-mode extractor
maps 0 to HCI 0xFF (unused) for a compact representation.
Also mark the extractors as private helpers and tighten wording for
developer clarity.
Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
Allows NVS to work with flash device configured to
use only 64KB block erase. Due to how addresses
are encoded internally in NVS, 64KB is the maximum
sector size. Add a test for this during mount.
Add a native_sim unit test case for 64kb erase block size
Signed-off-by: Mike J. Chen <mjchen@google.com>
Change topic from <device_id>_rx (and tx) to <device_id>/sh/rx.
This allows use of wildcards. E.g. subscribe to all devices "+/sh/tx".
Level "sh" is added to the topic to make it less generic and prevent
potential clashes with other topics.
The topic part after <device_id> is configurable via Kconfig.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
- AVRCP SDP record updates for browsing channel
- L2CAP setup for AVCTP browsing channel, and add connect/disconnect
- Add SetBrowsedPlayer browsing command handling
Signed-off-by: Make Shi <make.shi@nxp.com>
Move disks directory to disk to match with the naming of the driver
class. This only affects the recently introduced header for STM32 disk
drivers so it should be very low impact.
Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
Use DT_ENUM_IDX_OR instead of DT_STRING_UPPER_TOKEN_OR to get HCI bus
from DT, in order to avoid the expansion of UART/SPI/etc. macros when
they exist in vendor's SoC headers.
Fixes#93675
Signed-off-by: Ioannis Damigos <ioannis.damigos.uj@renesas.com>
fix
Add a few missing defines for limits used in ISO.
Add missing units and provide the value in both
hex and decimal (with units) for easier-to-read support.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
From avdtp spec, the get_all_capablities should be used if the avdtp
version is v1.3, otherwise the get_capabilities should be used.
Signed-off-by: Mark Wang <yichang.wang@nxp.com>
This file contains macro definitions for baudrates that are not needed ;
probably leftover from an earlier iteration of the binding that used an
enum for the baudrate(?)
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Adds infrastructure to allow the execution of a function on
a different CPU. The function to be executed on another CPU
runs within the IPI handler at ISR level (and is thus subject
to those constraints).
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
Re-organize groups, including addition of a top level "Binary
Descriptors" group that becomes the main entry in OS Services
Add missing documentation to some API (bindesc_entry, with public
fields, and bindesc_handle, opaque)
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Group name was incorrectly used as a brief description ;
used the opportunity to fully clean-up file and group
definition
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Adds a context pool that can be used when a number of threads may be
dynamically created to use with RTIO. While the pool has a small cost to
it, the cost of verifying a statically declared kobject likely makes it
worth avoiding dynamically allocating these with the typical
kobject_alloc method. Instead this arena style pool of objects can be
used where the kobject validation uses the gperf hash created at build
time.
Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
follow up to commit 5e3f1dbaa that introduced espi_evt_data_pvt without
full doxygen comments for it.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add missing doxygen docs for the NXP FlexIO driver and "mount" into the
Misc. drivers doxygen group.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Use proper Doxygen commands so that 100% of the
andes_flash_xip_api_ex.h header is documented.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Use proper Doxygen commands so that 100% of the
ra_flash_api_extensions.h header is documented.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Use proper Doxygen commands so that 100% of the rts5912_flash_api_ex.h
header is documented.
Note that this uncovers weird usage of in vs. out parameters in the
various functions and might be worth a cleanup as a follow-up.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Use proper Doxygen commands so that 100% of the
stm32_flash_api_extensions.h header is documented.
Removed unnecessary #ifdefs since enums needed not to be guarded from
declaration in the context of the header file.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add a new Doxygen group for vendor-specific extended operations so that
they can all be properly documented and show up in one place.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>