Add a DTS fragment to support defining a RP2350 series SoC with two
Hazard3 cores in use.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
The RP2350 SoC series contain two Hazard3 cores, which use the RISC-V
instruction set. Define a new CPU cluster (`hazard3`), which is intended
to be used with the two Hazard3 cores 'plugged in' to the two 'sockets'
in the RP2350 series SoCs.
Update the linker script to support linking against the correct
(ISA-specific) linker script, and to generate a correct IMAGE_DEF for
the target ISA.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
This header file isn't required, and prevents the driver building for
the RISC-V based Hazard3 cores.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
The RP2350 uses the Xh3irq interrupt controller, which supports nested
and prioritised interrupts. This adds initial support, configuring the
controller in 'direct' (non-vectored) mode.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
There's no benefit to starting a subset of them, and this ensure that
everything is ready, regarless of RP2040 vs RP235xx, and whether the
Cortex-M33 or Hazard3 cores are in use in the latter case.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
These .dtsi files are common regardless of which permutation of cores
are in the two CPU 'sockets'.
Take the opportunity to make the includes paths to rp2350a.dtsi relative
to the current file to emphasise their relationship.
This is foundation work ahead of adding support for the Hazard3 cores.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
This comment was incorrect after changes in c9a7ba2f06 removed one of
the definitions. Correct the comment to avoid confusion in subsequent
changes.
Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
Correct the buffer size to be adapted to the target memory device
not enforcing a 512kB test on SRAMs/SDRAMs when a PSRAM is also tested.
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
In case one defines an RGB led that is bigger than the led_rgb struct,
ws2812_gpio_update_rgb would overflow the buffer it writes to while
iterating. This could lead to crashes, as the code would also support
GRBW (as supposed in one comment).
As a 'proper' fix would require another buffer and therefore more
memory, I added a BUILD_ASSERT to ensure it does not compile.
Signed-off-by: Stefan Kraus <dev@stefankraus.org>
Due to the alias of ptr on pixels, one iterates over the same area
one reads from to set values. Therefore, if the strip is not 'RGB' but
GBR, one would overwrite the pixels 'r' value with the 'g' value in the
first loop, leading to a wrong read afterwards.
By writing to a temporary variable, we have a clean, unmodified copy
of the original values.
Additionally, this removes the dependency on 'LED_STRIP_RGB_SCRATCH',
as the scratch part (that masked most error cases) is not necessary
anymore.
Signed-off-by: Stefan Kraus <dev@stefankraus.org>
Add test cases verifying that IPv4-to-IPv6 mapped socket sets the
address structure correctly when receiving data from IPv4 peer, and that
sending back data to the IPv4-to-IPv6 mapped address works correctly.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Commit 48897a9090 fixed the address
mapping for dual-stack sockets when sendmsg() was used, however the same
similar issue appears (cannot check for AF_INET family for mapped
addresses as those are AF_INET6) for regular sendto() calls.
Therefore, for the sendto() case, where dst_addr is specified, check if
the address is mapped with net_ipv6_addr_is_v4_mapped() function as
well.
This also fixes another bug in sendmsg() case, where msghdr->msg_name
could've been dereferenced even if it was NULL (for example in case
of a connected socket).
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
The s2ram power state is a "suspend-to-ram" state which is not
supported by the radio core, so delete it from the overlay.
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Since multiple platforms than nrf are allowed to run this sample,
re-add generic openthread name for sample.
Initially, generic naming has been performed in #83195,
and then, a revert occurred in #87269
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Upated supported features list to allow twister build for
echo_server/client with OpenThread sample
Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
Fix Kconfig warnings by dropping NET_L2_IEEE802154_SHELL from the
OpenThread sample. This option depends on CONFIG_NET_L2_IEEE802154,
which is not selected in the sample, causing unmet dependency warnings.
Removing it lets the sample build cleanly without extra config noise.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Move the TRNG peripheral enable from the clock/SoC init path to the
Espressif entropy driver init.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This patch enables AVRCP-related configuration options in the shell
test project. These options are required to test AVRCP functionality
in Bluetooth Classic shell environment.
Signed-off-by: Make Shi <make.shi@nxp.com>
Smbus implementation for stm32 lacks of smbus_block_read(), so add the
functionality.
Fix some indentations.
Signed-off-by: Andrew Lewycky <alewycky@tenstorrent.com>
Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
Return `enum wifi_conn_status` after failed connection attempt. Parse
`+CWJAP:` messages to get failure reason.
Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
In several functions, the UART registers are accessed multiple times
through the `get_uart(dev)` inline function. This results in repeated
dereferencing of the device's base address.
This commit caches the UART register struct pointer in a local variable
`uart` at the beginning of each relevant function.
For registers where repeated access is not needed, the value is read once
into a temporary variable. Modifications, if any, are applied to
the temporary copy, and the result is written back once.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
Many boards and SoCs do not belong in any area, group them to correctly
tag PRs and to allow for future sub-grouping.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Consolidate all linters and SCA tooling into one area and separate from
the coding/style guideline documentation.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Kconfig option UDC_DWC2_USBHS_VBUS_READY_TIMEOUT depends on services
exclusively available for nRF54H20, but the option can also be used for
nRF54LM20A, where there are no service dependencies, and VREG can be
accessed by the driver directly. Let depend the option on the SOC
series, as the controller can be used by the different CPUs on the SOC.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
teikheng hasn't reviewed any PRs or engaged in any Zephyr
activity since July 2022.
Recent activities:
- pr: enhance uart ns16550 driver to get clock frequency from clock
manager
https://github.com/zephyrproject-rtos/zephyr/pull/47199
(2022-07-02T17:31:54Z)
- pr: enhance uart ns16550 driver to get clock frequency from clock
manager
https://github.com/zephyrproject-rtos/zephyr/pull/47167
(2022-07-01T15:23:39Z)
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
jackrosenthal hasn't reviewed any PRs or engaged in any Zephyr
activity since Aug 2023.
Recent activities:
- pr: scripts: zephyr_module: Tolerate symlinks
https://github.com/zephyrproject-rtos/zephyr/pull/61352
(2023-08-09T22:27:50Z)
- commit: f959309fd0
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
mnkp hasn't reviewed any PRs or engaged in any Zephyr
activity since March 2023.
Recent activities:
- pr: MAINTAINERS: remove inactive self as GPIO maintainer
https://github.com/zephyrproject-rtos/zephyr/pull/56167 (2023-03-23T20:40:59Z)
- commit: 245b9c666e
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
jc849 has never made any form of contributions to the Zephyr project so
drop from MAINTAINERS.yml file.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
brgl hasn't reviewed any PRs or engaged in any Zephyr
activity since Jan 2023.
Recent activities:
- commit: 2d59430fc0
- pr: maintainers: change lvgl status to "odd fixes"
https://github.com/zephyrproject-rtos/zephyr/pull/53413
(2023-01-02T07:58:09Z)
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Mani-Sadhasivam hasn't reviewed any PRs or engaged in any Zephyr
activity since September 2023.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>