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>
These are the changes generated when using the new dts-linter
All expression are now aligned with the group they are in.
Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
These are the changes generated when using the new dts-linter
All expression are now aligned with the group they are in.
Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
Expressions will now indent to align with the group they are in example:
Was
```devicetree
dmas = <&dma2 1 0 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
STM32_DMA_16BITS) 0>;
```
Now
```devicetree
dmas = <&dma2 1 0 (STM32_DMA_MODE_NORMAL | STM32_DMA_PRIORITY_HIGH |
STM32_DMA_16BITS) 0>;
```
Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
Make sure choice option name is not same as actual config option
that is enabling it. Use _SECURITY suffix for clarity of what
choice is actually about.
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
In a few series managed by the common driver, the LSEDRV field is not in
RCC_BDCR but a different register.
Use proper register name when obtaining the shift to ensure a non-zero
driving capability can be used on these series.
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.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>
CSL receiver is managed as follows:
- Started in mcxw_tx() when CSL period is configured
- Synchronized in set_csl_sample_time() for RX slots
- Stopped after PHY operations in SAP handlers
Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
Calibration correction applied to the Fast Internal Reference Clock (FIRC)
configuration in the MCXw7xx System-on-Chip to address OSC32K oscillator
drift issues.
Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
Several NXP drivers require clock control subsystem name definition in
Devicetree. It prevents usage of clock control without subsystem such
as fixed-clock. fixed-clock can be used for early SoC enablement when
complete clock controller is not available or not required.
Allow optional usage of clock control without subsystem by using 0 as
subsystem name if the name is not defined in devicetree. Add the option
for port, i2c, spi and serial drivers.
Signed-off-by: Michal Smola <michal.smola@nxp.com>
After porting nRF7120 to Zephyr, all tests 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 tests 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 tests 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 tests 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 tests 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 tests 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 tests 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 tests 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 tests 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 tests that were supported in
sdk-nrf must now be supported in Zephyr instead.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
Change default boot time of nRF91 Sip running Serial Modem
application.
If reset-line is toggled, we need to wait for the boot. Otherwise,
the init script starts too soon.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
Remove default behavior from common zephyr,cellular-modem-device.yaml.
This allows DTS binding files to include it without "property-blacklist".
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
Some modems enter a power-up sequence if reset line is held active,
so we need a way to alter the GPIO behavior.
Define a "zephyr,mdm-reset-behavior" enum in device tree to allow
choosing one, or all of the supported behaviors
* hold_on_suspend
* toggle_on_resume
* toggle_on_recovery
By default, all of the behaviors are enabled, so it matches the
previous implementation.
Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
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>
The ifdef guard in isr.S was written without the CONFIG_ prefix,
making the mtval fallback path dead code on all platforms including
QEMU (which previously worked via CONFIG_QEMU_TARGET).
Signed-off-by: William Markezana <william.markezana@gmail.com>
Use FIXED_PARTITION_MTD(storage_partition) instead of
DEVICE_DT_GET(DT_CHOSEN(zephyr_flash_controller)) to obtain the
flash device for erasing the storage partition. This correctly
resolves the flash device that contains the storage partition,
which may be on external flash rather than the internal flash
controller.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
The micsr_* helpers use a two-step MISELECT+MIREG sequence that is not
atomic. If an interrupt fires between writing MISELECT and accessing
MIREG, the handler could modify MISELECT, causing the MIREG operation
to target the wrong indirect register.
Wrap the MISELECT+MIREG sequence in each micsr_* helper with
irq_lock/irq_unlock to prevent preemption during the two-step access.
This ensures all callers are automatically protected without needing
to add locking at each call site.
Move the micsr_* helpers from csr.h into a new icsr.h header to avoid
pulling zephyr/irq.h into csr.h, which causes circular dependencies
on some SoCs. Code that needs indirect CSR access now explicitly
includes icsr.h.
Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
- Add kconfig for HCI event synchronous buf pool to allow vendors
to configure buffer count based on the application/host platform
requirements
Signed-off-by: Vinit Mehta <vinit.mehta@nxp.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 a step-by-step example for creating an L2CAP CoC server and update the
documentation to reference the new samples.
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>
Add support for the STM32WL integrated sub-GHz radio to the native
SX126x driver. The STM32WL has an SX126x-compatible radio core but
uses internal peripherals instead of external GPIOs.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Extract common HAL functions shared between different SX126x
implementations into sx126x_hal_common.c, this prepares the driver for
supporting additional platforms like the STM32WL integrated radio.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
The sleeptimer is mainly SYSRTC so BURTC isn't used.
Switching the defualt compatible so BURTC will be used as counter.
Signed-off-by: Shontal Biton <shontal1005@gmail.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>
When receiving a DNS query, make sure that the packet contains
also query type and class fields before trying to access them.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>