Add LP core timer wakeup sample for ESP32-C6. The LP core
wakes periodically via LP timer alarm, signals the HP core,
re-arms the timer using shared memory configuration, and
halts until the next cycle.
The HP core tracks wake count using RTC_DATA_ATTR and
enters deep sleep via sys_poweroff(). Sleep duration is
configurable via CONFIG_ULP_LP_CORE_LP_TIMER_SLEEP_DURATION_US.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Add LP core GPIO wakeup sample for ESP32-C6. The LP core
configures LP_IO_0 as input with pull-up and low-level
interrupt using the Zephyr GPIO API, then halts. When the
pin is pulled low, the LP core wakes and signals the HP
core via ulp_lp_core_wakeup_main_processor().
The HP core tracks wake count using RTC_DATA_ATTR and
enters deep sleep via sys_poweroff().
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Adds board-specific configuration and devicetree overlay for the
ST NUCLEO-WBA65RI. This enablement allows the OpenThread coprocessor
sample to run using the UART_ASYNC_API by default on this target.
Included changes:
- boards/nucleo_wba65ri.conf: Sets UART ASYNC API.
- boards/nucleo_wba65ri.overlay: Configures DMA and UART nodes.
Signed-off-by: Michele Sardo <msmttchr@gmail.com>
Add support of NUCLEO_L4R5ZI in async API sample with DMA-enabled
LPUART1 devicetree overlay.
Configuration:
- DMA1 channel 5 for TX (DMAMUX slot 34)
- DMA1 channel 4 for RX (DMAMUX slot 35)
- LPUART1 on pins PG7 (TX) and PG8 (RX)
- Baud rate: 115200
Tested on hardware with loopback configuration.
Signed-off-by: Waqar Ahmed <waqaryounasawan@outlook.com>
Add an sample for usage of the timer/pwm mastermode configuration.
Timer is configured to generate 2 TRGO events per pwm period to the
interconnect matrix.
Signed-off-by: Matthias Plöger <matthias.ploeger@phoenixcontact.com>
These samples do not seem to need the unistd.h header, but including it
limits us to C libraries which have it, which as it is a POSIX
extension is not all.
So let's not include it so we do not limit ourselves unnecessarily.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Reorganize ESP32-C6 LP SRAM into dedicated memory regions:
- ulp_shm: ULP shared memory for LP core communication
- ipc_shm: IPC shared memory for mbox driver
- lp_rtc: RTC data section for deep sleep persistence
- retainedmem: retained memory region with zephyr,retained-ram
Reduce main LP SRAM from 16K to 15K to accommodate the new
dedicated regions in upper LP SRAM. Update mbox overlay
references from shmlp to ipc_shm nodelabel.
Remove deep_sleep and retained_mem board overlays that are no
longer needed with the updated base DTS.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Enhance accel_trig sample with activity detection support and
improved error reporting for testing interrupt functionality.
Signed-off-by: Tobias Kässer <t.kaesser@gmail.com>
Rename it to USB buffers so we can use it in host support without
confusion. Keep the UDC_* macros for now, we can deprecate and remove
them later.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Binding required does not need to be EC vendor-specific,
it simply requires 2 board GPIOs definition.
Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add ELC sample support for Renesas fpb_ra8e1
Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
stepper-ctrl is used as suffix for motion control drivers
stepper-driver is used as suffix for stepper drivers in mfd devices
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
Some PRs may have not been rebased to be validated using the new
dts-linter that endoced the hex values in lower case. This commit
formats the hex values in lower case for consistency.
Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
Enabling the IEEE802154 CSL endpoint to support MCXW72 as a SEED role.
prj-ot-host.conf and sample.yaml corrected for compilation purpose.
Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
CTS is missing the Local Time Information characteristic and this
commit adds the UUID and the full characteristic to its service.
The peripheral example has been updated as well to use this and
implement it on the example so it is easy to test it out.
Signed-off-by: Martin Moya <moyamartin1@gmail.com>
Add a simple L2CAP Connection-oriented Channel (CoC) server sample that
accepts incoming connections and exchanges data.
Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
Add a client sample that connects to an L2CAP CoC server and demonstrates
basic data transmission.
Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
Add build-only test entries for the nucleo_wl55jc board using the
native LoRa backend for both send and receive samples.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
TIMER is defined in some HAL interfaces causing multiple declaration.
Changing TIMER to SAMPLE_TIMER solves this problem.
Signed-off-by: Shontal Biton <shontal1005@gmail.com>
The sample has a main loop that sleep 5s every iteration. The sleep is
currently at the beginning of the loop, so we have to wait 5s before
getting the first transfer.
This make debugging with this sample troublesome.
Move the sleep of 5s at the end of the loop
Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
Adding the platforms here helps maintain build
coverage for the Bluetooth subsystem on our
architecture and helps catch integration or
configuration regressions early.
Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
Added elapsed time service (ETS) GATT service sample.
The sample allows the user to set the system realtime clock
on the board and read the time.
Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
Refactor bt_tbs_set_uri_scheme_list to take a single string instead
of an array of URIs. This should not affect applications much
in any way (and may actually be easier to use), but simplifies
the implementation significantly, and reduces memory footprint.
Additionally it also make the client and server more similar
as bt_tbs_client_read_uri_list just returns it as a single
string as well.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Update Meta-IRQ sample README to use `zephyr:code-sample` directive and
standardize "Meta-IRQ" naming.
Fixeszephyrproject-rtos/zephyr#104002
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Ensures this sample is properly cross-referencing the Doxygen API group
it's demonstrating.
Also fix wording of the sample title to align with guidelines
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Get rid of per board CONFIG_HEAP_MEM_POOL_SIZE. The heap mem
pool size is now set globally within the sample Kconfig itself.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Add a requirement of a default 65536 bytes of HEAP in order to be
able to allocate memory for drawing the rectangles of the sample.
Considering that by default the sample is drawing rectangles which
are 1/4 of the display width and have a ratio twice width vs height,
such size should allow to run the sample up to display of 1024 pixel
wide in RGB565 pixel format.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Simplify error handling by having all exit point at same place
and avoid having too many #ifdef statements in the sample.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Add device tree overlays for ADC samples and tests on
CY8CKIT-041S-MAX and CY8CPROTO-041TP boards.
Configures ADC channels with pinctrl for analog inputs on
available header pins. Includes single-ended and differential
channel configurations demonstrating various ADC features.
Added overlays for:
- samples/drivers/adc/adc_dt
- samples/drivers/adc/adc_sequence
- tests/drivers/adc/adc_api
- tests/drivers/adc/adc_error_cases
Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
Co-authored-by: Deepika R <deepika@aerlync.com>
Co-authored-by: Sayooj K Karun <sayooj@aerlync.com>
Enables the sysbuild hello world sample application on MAX32 boards to
demonstrate using the soc's arm cortex-m4 and risc-v cores together. The
build system produces two separate application images, one for each core,
which can be flashed in two steps with the JLink runner.
1. Ensure you can access the serial console configured for the rv32 variant
of your test board, e.g. setting JP4 and JP5 jumpers to connect LPUART
to the USB UART connection CN1 on max32655evkit.
2. Build the sysbuild sample for your board's ARM board ID, which will
automatically build the remote image for the board's RV32 variant, e.g.:
$ west build -p -b max32655evkit//m4 samples/sysbuild/hello_world/ \
-T sample.sysbuild.hello_world
3. Flash both domains at once with the JLink runner:
$ west flash -r jlink
4. Hello world for the RV32 core will be printed to the serial console
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
Seems like some boards have an LED that is mounted but not connected to
the gpio by default and needs a jumper or solder bridge to work, and in
that case the led0 node is defined with status = "disabled".
Rework the led_dt_spec led0 initialization to handle that and just build
with no led support.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
After porting nRF7120 to Zephyr, all samples that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>