Add mention of ARDUINO_HEADER_R3_* constants in binding description for
the Arduino Uno (R3) header.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Make shield overlays less error prone and easier to maintain by
switching to GPIO pin constants defined in arduino-header-r3.h.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
There are a few board overlay files with identical lines describing the
flash disk. Move these lines to a separate overlay file that could be
used for any board with a large enough storage partition. Update the
documentation accordingly.
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
When building in CI for specific SOCs, it's useful to only have `west blobs
fetch` pull a selected set of blob objects. This is especially helpful on
`hal_espressif`, which currently has 78 blob objects.
Add a `--allow-regex` arg to the `west blobs fetch` subcommand to filter
only specified blobs, for example:
```bash
# only download esp32 blobs, skip the other variants
❯ west blobs fetch hal_espressif --allow-regex 'lib/esp32/.*'
```
Also, replace all `str.format()` invocations with f-strings per review
feedback.
Signed-off-by: Noah Pendleton <noah.pendleton@gmail.com>
Currently the workflow is correctly uploading to codecov but all the
paths are prefixed with an extra `zephyr/`.
Use the `working-directory` parameter to ensure the paths are correct,
and also ensure that only the new.info file is ever processed.
Tested locally by doing the equivalent of what the action now does
using the codecov CLI and I was able to both reproduce the bug as well
as confirm the fix.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Increase stack size as support for SHA512 requires more data.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds support for images signed with SHA512.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Add more macros for interacting with controller/data type of
relationships (phandle arrays / cells)
Add macros for arbitrarily iterating cells of phandle specifiers
Add tests for the new macros
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
Add information about the ram_plot and rom_plot build targets to generate
memory usage reports using sunburst charts.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a helper script that can take in a size report in json and render it in
a sunburst chart.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Release DMA channels allocated through dma_request_channel with
dma_release_channel in test_loop, test_loop_suspend_resume and
test_loop_repeated_start_stop.
This prevents channel allocation leaks and enables the tests to still
run even if the utilised DMA driver is configured to only utilise a
subset of implemented DMA channels.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Add a num_of_allocated_channels field to struct dma_mcux_lpc_config. Add
a a capacity check for dma_X_channel_data_arr in dma_mcux_lpc_configure.
Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
Used simple vlanX for vlan interface name. What interface the
vlan interface was attached to could be checked by "net iface"
or "net vlan".
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
There were two problems about vlan interface naming currently.
1. When there were more than 1 vlan interfaces. It's not able to
initialze name for all of them to same name VLAN-<free>.
2. When enabled vlan with tag, the name VLAN-xxx was used.
However we may need to support multiple physical interfaces
in the future. So, it's not able to use same name VLAN-xxx
either for same tag on different physical interfaces.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Add support for setting and getting the bearer provider
name. For now the name will be duplicated by the TBS
implementation, but will be optimizied in the future
so only one copy of the name exists.
Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Add a possibility to specify VID and CID for each MCUboot image and pass
it to the imgtool.
Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
Enable Link-Up and Link-Down interrupts. On the interrupt handling
the monitor work is scheduled to update the link status and calling
corresponding callback routine.
Signed-off-by: Tony Han <tony.han@microchip.com>
Call ksz8081_init_int_gpios() after phy_mc_ksz8081_reset() due to
keep the configurations for interrupt.
Signed-off-by: Tony Han <tony.han@microchip.com>
Update the internal driver flags to avoid setting DO_AUTONEG_FLAG
unconsciously when setting LINK_STATE_VALID.
Signed-off-by: Tony Han <tony.han@microchip.com>
Zephyr Version Compatibility page get moved in sdk-ng project. This
patch updates to URL to match the new page name.
Signed-off-by: David Schneider <schneidav81@gmail.com>
Updated the documentation for the BAP broadcast assistant client shell
commands to include the previously added 'add_by_broadcast_name' command.
Signed-off-by: Babak Arisian <bbaa@demant.com>
Add a stupid binding for doc purposes. Terrible coupling when we have to
configure DT in order to generate documentation properly. At least we
get rid of one of the stupid HAS_MCUX_ kconfigs in the process.
Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
When USDHC_Reset fails, we should be more verbose about it failing. Add
the error prints here so that we can observe the failure in logs.
Signed-off-by: Bas van Loon <bas@arch-embedded.com>
This test covers following test cases:
- test_set_top_value_with_alarmp
- test_valid_function_without_alarm
- test_set_top_value_without_alarm
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
1.Update dts bindings to move clock-source properties from
nxp,ftm-pwm.yaml to nxp,ftm.yaml.
2.Provide counter driver based on FTM driver from NXP mcux-sdk-ng
Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
We only need west, so not go about installing packages using the
scripts/requirements-actions.txt file.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
The following error is issued by clang when building with
SPI_NOR_SFDP_RUNTIME enabled:
error: fields must have a constant size:
'variable length array in structure' extension will never be supported
1379 | uint32_t dw[MIN(php->len_dw, 20)];
Instead, hardcode the array length to 20 32-bit words (it's instantiated
in the stack anyway).
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Move MIPI headers under Display group so that they don't clutter
top-level Device Drivers group.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Product photo from https://learn.adafruit.com/assets/137463
with the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Update Zephyr fork of MCUboot to revision:
aa4fa2b6e17361dd3ce16a60883059778fd147a9
Brings following Zephyr relevant fixes:
- 557f84be bootutil: Move primary/secondary slot definition to
bootutil_public
- 82bd4a76 boot: bootutil: Fix pure image validation check with
offset swap
- fe8f9fc0 bootutil: Fixed security counter overflow detected to
late
- 10a3cffa boot: zephyr: boards: nrf54h20dk cpuapp add chosen
code part
- 86678000 zephyr: use REQUIRED in dt_nodelabel calls to fail
early and with meaningful message
- e0b84a0c zephyr: Fix FLASH_DEVICE_ID for nRF54H20 platform
- 504847e3 bootutil: Fix PureEdDSA when flash base is not 0x0
- aa229135 bootutil: Fix bootutil_aes_ctr_drop memset usage
- 713b98b6 boot/boot_serial: build-time skip of the erasing of
img status page
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Re-configure the registers if they re erased because of a STOP2 low power
mode.
Return the error code when re-initializing the UART after a STANDBY low
power mode.
Fix few typos and comments.
Run clang format on uart_stm32_pm_action()
Signed-off-by: Mickael Bosch <mickael.bosch@linux.com>
The interface descriptor and its associated string descriptor are shared
between different speed configurations. Do not try to add a string
descriptor if it has already been added and the index is not zero.
Similar to commit ec851ba7c7
("usb: device_next: avoid false error logging in CDC ACM").
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>