Adapt all Espressif SoC and driver code to the updated
hal_espressif module synced with IDF master branch.
Main changes:
- clock control: delegate peripheral clock gating to HAL
layer using new clock/reset APIs
- SPI/GDMA: adapt to restructured DMA HAL with new channel
allocation and configuration interfaces
- ethernet: add RMII clock configuration and PHY management
- GPIO: simplify using direct HAL function calls
- flash: adapt to updated SPI flash HAL interfaces
- linker scripts: update IRAM/DRAM mappings for new HAL
object files
- DTS: fix ESP32-S2 PSRAM dcache1 address to match actual
MMU mapping region (0x3f800000 DRAM1 instead of 0x3f500000
DPORT which lacks 8-bit access capability)
- west.yml: update hal_espressif revision
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add USB device next (usbd) feature support for the SAM V71
Xplained Ultra board. Add the revison B board to USB sample
integration platforms.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Reduces the amount of RAM available here, as MCUboot is set to use
30KiB of RAM which conflicts
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Removes an invalid build configuration for RAM load which uses
shell and UART transports, because they conflict
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Extends the adc_dt sample with an option to use with the
eval_cn0391_ardz shield, which provides an adi ad7124-8 multichannel
adc.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Modifies the adc_dt sample to increase the sample buffer size to support
ADCs with more than 16 bits of resolution, such as ad7124.
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Add sam4l_ek board in the integration_platform list to build the
atmel,sam_udc_usbc compatible driver.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Add BFLB SEC_ENG AES compatible string to the crypto sample
source so it discovers the hardware crypto device.
Signed-off-by: William Markezana <william.markezana@gmail.com>
Update the hello_hl78xx sample to showcase low-power operation,
including PSM/eDRX GNSS flows, wake/resume, and event-driven control.
Changes:
- Enable GNSS debug logging overlay.
- Track registration status and PSM/eDRX events in the app.
- Add event handling for:
* LTE RAT and registration status updates
* PSM (+PSMEV), eDRX idle enter/exit, and cell measurements
* GNSS engine ready, start, stop, and mode exit
- Support two GNSS paths:
* LPM path (PSM/eDRX): queue GNSS, wait for PSM, driver wakes,
run GNSS, auto-return to LTE on exit.
* Airplane path: CFUN=4, run GNSS, then user restores CFUN=1.
- Add delayed work to wake the modem for GNSS if needed.
- Improve sem usage to wait for PSM/eDRX, GNSS ready, and exit.
- Refactor labels (app_rerun, app_post_lpm_run) for clarity.
- Clean up logging, comments, and function docs.
- Fix memset targets to clear specific union fields.
- Set GNSS search timeout to 20000 ms in the demo.
- Minor API call cleanups for hl78xx_get_modem_info().
Why:
- Demonstrate practical LPM workflows:
- GNSS during PSM/eDRX without unnecessary CFUN toggles.
- Event-driven wake, register, and send sequences.
- Provide a reference for integrating GNSS into low-power apps.
Impact:
- Sample now depends on low-power events when configured.
- Behavior differs based on Kconfig (PSM/eDRX vs airplane).
- Requires DTS pins and Kconfig enabling for low-power paths.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
Add a sample demonstrating concurrent WiFi scanning and LED blinking
on Pico W and Pico 2 W. A background thread blinks the onboard LED
via the CYW43 GPIO driver while the main thread performs a WiFi scan.
Board overlays provide the led0 alias since the CYW43 GPIO driver
requires the WiFi stack. Includes README.rst documentation and
creates the Raspberry Pi sample category index.
Signed-off-by: John Lin <mcjelcom@gmail.com>
The nrf52840dk ram_load variant is very tight on RAM. The MCUboot
RAM_LOAD padding section rounds the image size up to the next
power-of-2 boundary, so even a small increase in code or rodata
can double the padding and overflow the RAM region.
The sys_heap hardening code pushes the image just over the 128KB
boundary, causing padding to jump from 128KB to 256KB and
overflowing RAM by ~55KB.
Disable heap hardening for this build. Since CONFIG_ASSERT is off,
the previous __ASSERT-gated heap checks were inactive anyway, so
HARDENING_NONE preserves the same level of validation.
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Replace chunksz_to_bytes() which took a chunk size with
chunk_usable_bytes() which takes a chunk_id directly. This eliminates
the redundant pattern of chunksz_to_bytes(h, chunk_size(h, c)) and makes
the API clearer by returning actual usable bytes (excluding the header).
Add mem_align_gap() helper to compute alignment padding between the
start of usable chunk memory and the actual memory pointer, using
efficient bit masking. This simplifies sys_heap_usable_size() and
inplace_realloc(). Use these helpers to make runtime stats reporting
reflect actual usable chunk memory (excluding chunk headers), and heap
listener notifications also account for alignment gaps.
Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Updated EEPROM dts for PCR and GIRQ property.
Updated pinctrl to access internal EEPROM for MEC5 part.
Signed-off-by: Manimaran A <manimaran.a@microchip.com>
After introducing nrfx4.0 GPIOTE driver instances shall not be created
in each module that is using the driver but reference shall be used.
Reference is retrieved using gpiote_nrfx.h API.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Remove instance specific Kconfigs (CONFIG_NRFX_GPIOTEx) as they are no
longer used. Cleanup in all places.
Add prompt to CONFIG_NRFX_GPIOTE to allow enabling the driver.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
SOC_NRF7120_CPUAPP does not exist; the correct Kconfig symbol
for the nRF7120 engineering A application core is
SOC_NRF7120_ENGA_CPUAPP.
Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no>
Set `Python3_EXECUTABLE` to the Zephyr-wide Python executable when invoking
the TF-M `tests_reg` test build to ensure that the same Python installation
used by the Zephyr build system is used by the TF-M test build process.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Set `Python3_EXECUTABLE` to the Zephyr-wide Python executable when invoking
the TF-M `tests_psa_arch` test build to ensure that the same Python
installation used by the Zephyr build system is used by the TF-M test build
process.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
display_check is sharing same code as sample driver display.
Avoid duplicating the code and directly reuse the sample code for
the test.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Remove redundant DPPI configuration from the devicetree. GPPI supports
dynamic allocation of channels without need for the DT configuration.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This sample makes use of the sensor_read() API, which is implementing
the read_and_decode polling method.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
This sample uses the sensor_stream() API (not sensor_read()), so we rename
it as accel_stream to reflect the sample�s behavior.
Signed-off-by: Armando Visconti <armando.visconti@st.com>
Use printf to print the floating point numbers, instead of printk.
This is how it is done in the magn_polling sample.
Otherwise the sample hangs indefinitely after printing the first time,
when running the LPS22 sensor on an adafruit_feather_rp2040 board.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Change the MPU alignment to fix below ci failure for
nrf52840dk/nrf52840:
```
padding_section' will not fit in region `RAM'
arm-zephyr-eabi/bin/ld.bfd: region `RAM' overflowed by 54928 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
Signed-off-by: Sudan Landge <sudan.landge@arm.com>
Running this with USE_SWITCH=y takes more space as expected, but it
oddly seems variable. Even at 2kb, I still see fairly regular
failures. It wants 3kb to be stable. Maybe the non-determinism of
the two-qemu setup is involved? Requests batch up and are handled
recursively? Too much code in the third party stack to make it easy
to tell.
Signed-off-by: Andy Ross <andyross@google.com>
Key exchanges with RSA encryption has been removed from Mbed TLS 4. This
commit replaces them with other ciphersuites.
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This reverts commit 72bb0a077545efe65f801704334c753f32ee693b.
This commit deletes the mpr sensor sample as it is completely
redundant with the pressure_polling sample.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Address of the event endpoint was read before GPIOTE pin was configured
with the exact GPIOTE channel so endpoint address was invalid and PPI
connection did not work. Bug introduced when porting to nrfx 4.0:
ad1e5ac253 ("nordic: update and align to nrfx 4.0.1").
Addded handling of GPIO retaining which is needed when pins are handled
without GPIO driver.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
It was not a standard Mbed TLS configuration.
Replace it by the underlying macros it used to enable:
MBEDTLS_PEM_PARSE_C, MBEDTLS_PEM_WRITE_C and MBEDTLS_BASE64_C
indirectly.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
To match its Mbed TLS configuration counterpart
(MBEDTLS_SSL_SERVER_NAME_INDICATION).
Also add its prerequisite as a Kconfig condition.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Add a dedicated Kconfig option for this previously hidden and
automatically enabled Mbed TLS configuration.
Make the relevant key exchange Kconfig options depend on it.
Enable it explicitly where needed.
Fix the condition for defining MBEDTLS_X509_USE_C (based on
mbedtls_config.h).
Check for CONFIG_MBEDTLS_X509_CRT_PARSE_C instead of
MBEDTLS_X509_CRT_PARSE_C now that we have a Kconfig option for it.
Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
Add shield definition for the MikroElektronika EEPROM 13 Click shield,
an mikroBUS compatible evaluation module for the STMicroelectronics
M24M01E (1M-bit) I2C Serial EEPROM chip.
Tested with the command mentioned on the index.rst page.
Signed-off-by: Stephan Linz <linz@li-pro.net>
Introduces a new regulator shell sample which can be used to control
regulator devices from the shell interactively.
Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
This commit adds the "mxicy,mx25u" compatible to STM32 MSPI flash sample
board overlays.
Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>