In case of nRF TWIS i2c shim, SoC header include is needed
for memory region property presence checker macro.
Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
Ethernet TX should not handle bridge forwarding. The bridge layer
had already handled forwarding.
Current code is causing duplicated TX if sending is via bridge
interface, or causing needless TX on other bridge ports if sending
is via one bridge port.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
There were several problems of pkt management during forwarding.
1. No need to do net_pkt_ref/net_pkt_unref around net_if_queue_tx.
2. Finally when completed forwarding, there was a net_pkt_unref for
pkt using cloning. However it also applied to pkt not using
cloning. This was causing pkt was released before sending.
3. Whether pkt cloning used or not, should not be decided by bridge
interfaces count. It's should be decided by interface count to
forward.
An example was sending pkt via bridge interface. If there were
two interfaces attached to bridge, cloning was needed but current
code won't.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
To avoid conflicts between the C library's `time.h` and signal.h use an
"override" header (when necessary) for C libraries that do not themselves
provide POSIX definitions in `time.h` or `signal.h`.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Create a header for satisfying POSIX conformance requirements of signal.h
that is named posix_signal.h rather than signal.h.
The primary reason for doing so, is that the de-facto owner of signal.h is
the C library.
This new header only defines required POSIX symbols that form a strict
superset over the ISO C signal.h symbols.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Create a header for satisfying POSIX conformance requirements of time.h
that is named posix_time.h rather than time.h.
The primary reason for doing so, is that the de-facto owner of time.h is
the C library.
This new header only defines required POSIX symbols that form a strict
superset over the ISO C time.h symbols.
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Add overlay property node and configs to support on MCK_RA8T2
- tests/subsys/fs/ext2
- tests/fs/fat_fs_api
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
This commit adds testing support for CAN ISO-TP on MCK_RA8T2
- tests/subsys/canbus/isotp/conformance
- tests/subsys/canbus/isotp/implementation
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
on Renesas RA mck_ra8t2 board
Add support for test app on Renesas RA mck_ra8t2:
- tests/drivers/can/api
- tests/drivers/can/timing
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
on mck_ra8t2 board
Add support for test app on Renesas mck_ra8t2:
- tests/drivers/counter/counter_basic_api
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Add support for test apps on Renesas mck_ra8t2:
- tests/drivers/pwm/pwm_api
- tests/drivers/pwm/pwm_loopback
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
If stream->ep is NULL, which is really shouldn't be,
then we should not attempt to dereference it.
Add simple NULL check to ensure behavior, and make
Sonarcloud happy.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Extend test to check simple sequential use of BT specific API and
standard onoff API. Test case added as it was initially failing on
nrf54l15. Additionally, increased startup time for nRF54LX were
HFCLK start is combined with tuning and it takes longer.
Added nrf54l15dk//cpuapp to the test.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
804e502484 fix got reverted as it introduced a bug where callback
with HFCLK started indication was not called because state is not
correctly indicated. BT-dedicated API does not set state and does
not expect to get the callback when HFCLK is started. 804e502484
was intended to fix the bug that was visible on nrf54lx. It was not
visible on nrf52 because of a errata workaround which was calling
HFCLK started callback only when state was set to STARTING and that
was not the case when BT-dedicated API was used. Applying this
`workaround` approach to all cases.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit adds multicore support to copy CM33 CPU1 image
from flash to RAM where it will boot from.
Also added NXP_IMXRT_BOOT_HEADER=y for CPU0 so it can be booted
from FlexSPI Flash.
Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
This commit moves common DTS entries into common file
dts/arm/nxp/nxp_rt7xx_common.dtsi.
This way there is not duplication between cpu0 and cpu1.
Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
Sets the default of this Kconfig for the SoC itself as a default,
rather than each board setting it, which minimises the change
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Requesting/releasing TWIM device may be ISR safe, but
it cannot be reliably known whether managing its power
domain is. Is is then assumed that if power domains are used,
device is no longer ISR safe. This macro let's us check if
we will be requesting/releasing power domains and determines
PM device ISR safety value.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Requesting/releasing SPIM device may be ISR safe, but
it cannot be reliably known whether managing its power
domain is. Is is then assumed that if power domains are used,
device is no longer ISR safe. This macro let's us check if
we will be requesting/releasing power domains and determines
PM device ISR safety value.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Requesting/releasing QDEC device may be ISR safe, but
it cannot be reliably known whether managing its power
domain is. Is is then assumed that if power domains are used,
device is no longer ISR safe. This macro let's us check if
we will be requesting/releasing power domains and determines
PM device ISR safety value.
Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Fixes the on-chip flash write-block-size for
MCXA platforms to 16 Bytes.
It was set to 128 Bytes, but the MCXA Flash ROM-API
supports 16-byte writes.
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
11431a80 changed the node name of the FlexSPI node, breaking the LMA
calculation. This fixes the LMA to store the CM7 image at the correct
address in flash.
Signed-off-by: Derek Snell <derek.snell@nxp.com>
1. the MCXA family use MRCC to reset peripheral
2. MRCC register, 0: hold in reset, 1: release from reset
3. usage as blow
syscon: syscon@xxx {
...
reset: reset {
compatible = "nxp,mrcc-reset";
#reset-cells = <1>;
};
};
Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
Change 4c86a5cc8d moved a select
from Kconfig.asc to Kconfig.bap (amongst some other changes
from select to depends), but inverted the PAC_{SRC,SNK} from
ASCS_ASE_{SRC,SNK} condition.
Signed-off-by: Mike J. Chen <mjchen@google.com>
(NUM_IRQS-1) IRQ is taken on this soc, so set CONFIG_TEST_IRQ_NUM to a
different available IRQ to avoid test failure.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>