This commit adds the rtc_api overlay file for the brd4342a board,
enabling rtc support and also updates the rtc tag in
siwx917_rb4342a.yaml.
Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
This commit adds the counter_basic_api overlay file for the
brd4338a board,enabling counter support.
Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
This commit adds the pwm overlay file for the brd4342a board,
enabling pwm support and also updates the pwm tag in
siwx917_dk2605a.yaml.
Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
This commit adds the DMA overlay and config file for the brd4342a board,
enabling chan_blen_transfer support in Zephyr.
Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
The 'common' folder is under 'soc/microchip/sam' which contains both MCU
and MPU devices. Currently all the files in 'common' is for MPU. Adding
if(foo) in 'CMakeLists.txt' to make more obvious of where the files are
used.
Update soc/microchip/sam/common/CMakeLists.txt with combining the .c
files with the same usage into one 'zephyr_source' call.
Signed-off-by: Tony Han <tony.han@microchip.com>
Select MMU and CACHE_MANAGEMENT in 'config SOC_FAMILY_MICROCHIP_SAMA7'.
Replace 'config' with 'configdefault' for items in defconfig file.
Remove duplicated linker script in CMakeLists.txt in sama7d6 and sama7g5
directories, use the one in sama7 directory.
Signed-off-by: Tony Han <tony.han@microchip.com>
Add SAMA7G5 series System-in-Package (SiP) MPUs to Kconfig.soc and
soc.yml, update the header files for them too.
Signed-off-by: Tony Han <tony.han@microchip.com>
Update directory structure to the following hierarchy for MPU devices:
Product Architecture
|__ SOC Series
|__ Product Group
Move directory 'soc/microchip/sama7g5/' into 'soc/microchip/sama7/'.
Add sama7g5 to 'soc/microchip/sam/sama7/soc.yml'.
Remove the files under soc/microchip/sam due to they became useless
with the reorganization.
Signed-off-by: Tony Han <tony.han@microchip.com>
If `period_ms` is 3 or less `tmp` is 0. Since `tmp` is type `uint32`
subtracting 1 from 0 will wrap around to `UINT32_MAX` and is then clamped
to `UINT8_MAX`.
Fix the issue by changing `tmp` and `1` to signed types.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
To support mocking we cannot rely on the default
Kconfig options and values. The required Kconfig options
to satisfy dependencies are overridden in the Kconfig
file and the necessary Kconfig files are sourced.
We cannot enable e.g. CONFIG_BT as that would attempt
to pull in a lot of files we do not want in this test.
This commit also removes unused includes in the CMakelists
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
To support mocking we cannot rely on the default
Kconfig options and values. The required Kconfig options
to satisfy dependencies are overridden in the Kconfig
file and the necessary Kconfig files are sourced.
We cannot enable e.g. CONFIG_BT as that would attempt
to pull in a lot of files we do not want in this test.
This commit also removes unused includes in the CMakelists
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
To support mocking we cannot rely on the default
Kconfig options and values. The required Kconfig options
to satisfy dependencies are overridden in the Kconfig
file and the necessary Kconfig files are sourced.
We cannot enable e.g. CONFIG_BT as that would attempt
to pull in a lot of files we do not want in this test.
This commit also removes unused includes in the CMakelists
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
To support mocking we cannot rely on the default
Kconfig options and values. The required Kconfig options
to satisfy dependencies are overridden in the Kconfig
file and the necessary Kconfig files are sourced.
We cannot enable e.g. CONFIG_BT as that would attempt
to pull in a lot of files we do not want in this test.
This commit also removes unused includes in the CMakelists,
and cleans up the code.
Since the kernel is actually running, we also need to support
that e.g. k_work items are actually scheduled, and that we have
to wait for them to finish. test_drain_syswq has been implemented
as a way to drain the system workqueue before we check for
callbacks or perform subsequent actions.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.
To support mocking we cannot rely on the default
Kconfig options and values. The required Kconfig options
to satisfy dependencies are overridden in the Kconfig
file and the necessary Kconfig files are sourced.
We cannot enable e.g. CONFIG_BT as that would attempt
to pull in a lot of files we do not want in this test.
This commit also removes unused includes in the CMakelists,
and moves the mock bap_broadcast_source.c file to the
correct location.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Enable test for s32z270 hash crypto.
Enable samples for cipher cryptoEndable samples for EBC, CBC,
CTR mode of cipher crypto.
Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Add device tree node for MU instances that will be used by HSE and RTU
for s32z270.
Add support hash crypto for NXP S32 with Algo 2:
SHA224, SHA256, SHA384 and SHA512.
Add support cipher crypto with ECB, CBC and CTR mode by using ram key
catalog.
Add support 128/256 bits ram key length.
Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
The INA232 is another device in the INA2XX family and is very similar
to the already implemented INA230 and INA236. The main difference
between the INA232 and the INA236 is that the INA232 does not have a
Device ID register. Because of these similarities, it is implemented
in the ina230.x files in the same way as the IN236. Modifications to
the corresponding tests are included as well.
Signed-off-by: Johannes Meyer <johannes.meyer@intego.de>
Add CONFIG_SAMPLE_TFLM_ETHOSU_PMU to collect PMU counters per inference
in the sample. Disabled by default.
Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
NRF54H20 cpuflpr and cpuppr do not share common interrupts
(VEVIF TASKS) that can be used in this test, so they need
to be separated.
Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
The 250745e198 OT stack upmerge pulled upstream commit 079852b67e9b
("[uptime] enforce `UPTIME` feature for MTD and FTD builds (#11354)")
which made `OPENTHREAD_CONFIG_UPTIME_ENABLE` mandatory for MTD builds.
Update the module configuration accordingly to fix a build failure with
CONFIG_OPENTHREAD_MTD=y.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
auto negotiation might already be finished when we
check the link status, therefore check directly
instead of waiting 100 ms.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
The latched bits are defined in the ethernet specification,
as the only latched bit, that we use, is the link status, improve
the code for it.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
Add JarmouniA as collaborator to MIPI-DSI area.
Add JarmouniA and VynDragon as collaborators to MIPI-DBI area.
Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
Add a SAMPLE_USBD_VID Kconfig to allow changing the USB VID on samples
using the common code. Can be handy for testing things against code that
expects a specific vid.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Doxygen 1.15.0 is now available and a bug previously impacting
STRIP_FROM_INC_PATH handling has been fixed. Update the list of
paths accordingly to have headers from lib/libc/minimal/include/
covered.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Update to Doxygen 1.15.0 version (html build uses doxygen from the
docker image but PDF build uses vanilla Ubuntu runner from GitHub
so installation is done manually).
Replace MD5SUM by SHA256SUM since Doxygen project now conveniently makes
the checksums available on their Github releases page.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Adjusting sleep times as core is to slow too run
the test with the default system clock frequency,
and fixing outdated comment in the test manifest file.
Signed-off-by: Paweł Pelikan <pawel.pelikan@nordicsemi.no>
Starting with nrfx 4.0.0, the nrfx_err_t, NRFX_SUCCESS and NRFX_ERROR_*
have been deprecated. Most of them were removed here:
https://github.com/zephyrproject-rtos/zephyr/pull/99399
but a few were missed.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Added new target nrf54h20/cpuflpr/xip to counter basic
api tests. Only XIP is supported for cpuflpr since
RAM memory for this cpu is too small to fit whole
counter basic test code and data.
Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
- When we are a peripheral we want to be able to start a stream
from the stream_connected_cb, given that we are in an enabling state
and the stream is in the sink direction
Signed-off-by: Alexander Svensen <alexander.svensen@nordicsemi.no>
Fix config dependency between MMU KERNEL_VM_SUPPORT and KERNEL_DIRECT_MAP
This fix following build issue:
warning: KERNEL_DIRECT_MAP (defined at kernel/Kconfig.vm:83) has direct
dependencies MMU && KERNEL_VM_SUPPORT with value n, but is currently
being y-selected by the following symbols:
- SOC_SERIES_STM32MP13X (defined at soc/st/stm32/stm32mp13x/Kconfig.soc:6,
soc/st/stm32/stm32mp13x/Kconfig:6), with value y, direct dependencies y
(value: y), and select condition SOC_FAMILY_STM32 (value: y)
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Add a page with information on how ethernet drivers can be assigned a MAC
address, using the MAC address configuration mechanism.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Replaces the legacy SDFW compatible board configuration with the
IronSide SE compatible one, thus removing support for running samples
and tests on nRF9280 devices with the old firmware.
Signed-off-by: Ville Kujala <ville.kujala@nordicsemi.no>
wid 145 requests handle of a UUID of a long characteristic. wid 167
requests to remove the characteristic by handle requested in wid 145.
2 new commands are added to support these wids:
- BTP_GATT_GET_HANDLE_FROM_UUID to request handle of a certain UUID
- BTP_GATT_REMOVE_HANDLE_FROM_DB to remove attribute by handle.
Signed-off-by: alperen sener <alperen.sener@nordicsemi.no>
Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
There are two ways in the current implementation to join a network,
either with an association request or a via MLME-SET(macShortAddress) to
rejoin a previously associated network.
The coordinator address needs to be valid in the rejoin case. It can be
lost, for example if the device power cycles. This commit fixes that gap
with new MLME GET/SET for:
- macCoordShortAddress
- macCoordExtendedAddress
Signed-off-by: Simon Piriou <spiriou31@gmail.com>
This commit prefixes "0x%x" debug logs with the entity, and prints the
"set" parameter when updating a filter.
Signed-off-by: Simon Piriou <spiriou31@gmail.com>
Trying to remove filter with NOT_ASSOCIATED parameter results in noisy
warning logs in most of the radio drivers. It's safe to ignore it as
this is an invalid operation.
Signed-off-by: Simon Piriou <spiriou31@gmail.com>
Add openamp_rsc_table support for STM32MP257F EV1 and DK boards to
enable communication between the Cortex-M33 and Cortex-A35 (running Linux).
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Add the support of the mailbox IPCC1 for communication between
the Cortex-M33 and the Cortex-A35
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>