Remove the explicit setting of `CONFIG_HEAP_MEM_POOL_SIZE` from NSOS
samples, letting the build system construct the heap size from Kconfig
options.
Signed-off-by: Jordan Yates <jordan@embeint.com>
Make global variables static in the HFP AG sample to improve
encapsulation and avoid potential symbol conflicts.
Change the following variables from global to static scope:
- hfp_ag
- hfp_ag_call
- discover_work
- call_connect_work
- call_disconnect_work
- call_remote_ringing_work
- call_remote_accept_work
These variables are only used within main.c and do not need to be
externally visible.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Add PCM and CODEC support for voice streaming in the HFP AG sample.
Implement PCM interface to handle voice data transmission between the
Bluetooth controller and the application using I2S driver.
Implement CODEC interface to handle voice playback and capture using
I2S and audio codec drivers.
Add bidirectional voice streaming: capture voice from CODEC and
transmit through PCM when SCO connection is established, and receive
voice from PCM and playback through CODEC.
Initialize PCM and CODEC interfaces based on the SCO air mode (CVSD or
mSBC) when SCO connection is established.
Add codec negotiation callbacks to support codec selection.
Enable codec negotiation and mSBC codec support for mimxrt1170_evk
board.
Add configuration options for audio transfer interval, buffer counts,
and thread priorities for both PCM and CODEC RX threads.
Update documentation with voice streaming topology diagram and running
instructions.
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Initial porting of nRF7120 to zephyr requires support for a number of
tests that are run as part of the CI. This commit adds the support.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
The ARC IoT SoC (used on iotdk board) has a hardware limitation where
entering CPU sleep mode causes some peripherals (e.g., UART) to lose
power, preventing the board from waking up via peripheral interrupts.
Add a configurable custom CPU idle option (CONFIG_ARC_IOT_CUSTOM_CPU_IDLE)
that enables interrupts without executing the sleep instruction. This
allows the system to remain responsive while keeping peripherals powered.
The option defaults to disabled (n) to preserve normal CPU sleep behavior
for most use cases. Tests that require continuous UART operation during
idle (pytest/shell harnesses) can enable it via platform-specific
extra_configs.
This approach allows timer-based idle to work correctly by default while
providing a workaround for tests that need UART retention.
Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
Reorganize Bluetooth Classic API documentation by moving existing files
(SDP, RFCOMM, A2DP, HFP) into a new `classic/` subdirectory and adding
new documentation files for L2CAP BR/EDR, AVRCP, GOEP, and BIP.
Changes include:
- Move existing Classic API docs to subdirectory `classic/`
- Add new L2CAP BR/EDR documentation
- Add AVRCP, GOEP, and BIP API reference documentation
- Update HFP documentation to include both HFP Unit and HFP-AG sections
- Update index.rst to reflect new directory structure
- Add Doxygen group documentation to AVRCP header
- Update AVRCP Cover Art to be a subgroup of AVRCP
- Fix L2CAP BR/EDR Doxygen group name and description
Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
Compile testing of the overlay file is done via the fuel-gauge
sample.
Product photo from https://learn.adafruit.com/assets/123027
with the license CC BY-SA 3.0
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
- Add an overlay to enable mpu6050 sensor sample.
- Contains configurations for I2C bus and Clock
Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
- Add an overlay to enable bme280 sensor sample.
- Contains configurations for I2C bus and Clock
Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
This commit provides information regarding building and executing stress
tests for LAN8651 based 10BASE T1S ethernet connection.
The LAN8651 is connected to nucleo_g474re board.
Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
This commit provides device tree description of the LAN8651 T1S
device to work with echo_server sample program.
Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
This commit provides device tree description of the LAN8651
T1S device to work with zperf performance test program.
Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
Fix regression introduced in commit ddaeb13 which removed the
'buffer' function parameter from the dynamic endpoint callback
function signature but did not update the http_server sample
accordingly.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Fix a typo in several filesystem sample board overlay files where
'parition' was used instead of 'partition'.
This is a spelling-only change with no functional impact.
Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
The mdns_responder sample has a simple TCP echo server running, however
the accept() function errors were ignored, making the server defunct in
case server socket started to report errors (for example when network
went down).
Update the sample to restart the echo server in case of accept() errors
to make the sample more reliable.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Although we have the three layers, SWDP driver API, DAP stack, and USB
backend, to implement a debug probe, there is no way for the user to
instantiate the DAP context, which would allow it to be used with
different backends or to change the configuration at runtime.
The Debug Access Port (DAP) is an implementation of the ARM Debug
Interface (ADI) that is typically integrated into SoC.
With all three layers, we implement a link to the DAP on the SoC.
Let's call it Zephyr DAP Link and use the dap_link prefix. There is also
a MBED DAPLink project that implements similar functionality, but using
a different name would likely cause more confusion.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
If a second UART was not configured in the hardware map, then skip
the testcase instead of failing.
Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
print_voltage() always returned success even when sensor operations
failed, making the error check in main() dead code.
Return the actual error codes so failures are correctly propagated
to the caller.
Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
Add CRD40L50 board support to the CS40L5x sample application and update
documentation accordingly.
Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
Remove CONFIG_BT_CTLR_ADVANCED_FEATURES from prj.conf. This option
only controls visibility of advanced features in menuconfig and is
not required by the sample. It also depends on BT_LL_SW_SPLIT which
is not available on all platforms (e.g., ESP32 uses a closed-source
controller blob).
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
The Device Tree property names that are common to lsm6dsv16x and
lsm6dsv32x drivers are now prefixed with LSM6DSVXXX_ (and not
LSM6DSV16X_) just for the sake of clarity.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
Add ADC samples support for board RZ/A2M-EVK
Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
Add docs (wiring, build etc.) for the stm32n6570_dk board with the
st_b_cams_imx_mb1854 camera shield (based on an IMX335).
Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
Add Kconfig option VIDEO_SHELL_AND_CAPTURE to allow the capture to run
even if the video shell is enabled. Also, add delta time between frames
to log output. This enables testing of on-the-fly framerate changes.
Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
When the response has been sent completely to the client, the server
reports the new `HTTP_SERVER_TRANSACTION_COMPLETE` status. Together with
the existing `HTTP_SERVER_TRANSACTION_ABORTED` status, the application
can now also for successful completions of requests clean up any
resources allocated for handling the request.
This especially allows to dynamically allocate the response buffer
passed to the server in the request callback and free it when the
request is done.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Rename enum http_data_status to enum http_transaction_status
to better reflect its purpose, which is to indicate the status of the
overall HTTP transaction, not just data transfer.
Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
Enable servo port GP12. Add commented-out entries for the other ports,
as is done for the other overlay files.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
When support for old "Library model" was removed, support for the new
Secure Function (SFN) model - the FF-M 1.1 spec that succeded the "Library
model" - wasn't implemented. This patch adds it.
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
The extra_conf_files arg in testcase.yaml was being improperly
assigned to the CONF_FILE CMake arg, which caused
configuration_files.cmake to ignore soc and board Kconfig overlays.
Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
Enable HL78XX modem auto-baudrate detection and switching in the sample
application. Set 921600 bps as the target baudrate with fallback options
(9600, 115200, 57600, 38400, 19200). Also read and log the current baudrate
from the modem during startup.
This helps verify and debug communication speed mismatches between the
modem and the device UART.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
The sample previously always queried RSRP, which is not valid when the
HL78xx operates in GSM mode. Use RSSI when GSM RAT is active and RSRP
for other RATs. Update the log output and rename the variable for
clarity.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Add support for handling AirVantage WDSI indications in the sample
application. FOTA update progress, download requests, and completion
events are processed and coordinated using a new semaphore. The sample
can restart its connection workflow after a successful firmware update.
Additional updates include:
- add serial number retrieval and logging
- add fota_complete_rerun semaphore and status tracking
- simplify debug logging in event listener and OK handler
- reorganize main loop to support FOTA-triggered reruns
This aligns the sample with the modem driver's expanded AirVantage and
WDSI support.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
The sample no longer requires the POSIX API layer, so the
CONFIG_POSIX_API option is removed from prj.conf. The code is updated to
use the native zsock_* APIs instead of the POSIX getaddrinfo(),
inet_ntop(), and freeaddrinfo() variants.
This aligns the sample with Zephyr’s preferred socket API and avoids
pulling in unnecessary POSIX compatibility layers.
No functional behavior is changed.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Reorganize the sample configuration files for clarity and easier
maintenance. This introduces grouped sections with descriptive comments
and improves consistency between prj.conf and the verbose-logging
overlay.
Main updates:
* Add structured headers for system, UART, networking, modem, RAT,
AirVantage, shell, and logging settings
* Expand verbose overlay with clearer purpose, build notes, and grouped
modem logging options
* Improve readability by aligning comments and collecting related
options
* No functional behavior is changed; this is a documentation and
structure improvement
These changes make the sample configuration easier to understand and
simplify future maintenance.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Tune quantum parameter for selected kernel tests
targeting mpfs_icicle platform.
Those tests require higher fidelity of the virtual
time flow which is achievable on multi-core platforms
in Renode by reducing the quantum.
Increase time resolution to 10us (default is 100us).
It is a maximum drift of the virtual time between
simulated processors in SMP configuration.
Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
Commit disables key synchronization for mesh provisioner sample
to not refactor it according to key synchronization implementation.
Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>