MAX32657 introduces changes for registers named (master, slave) to
(controller, target) this causes build issues
Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Some architectures use pseudo instructions in assembly.
Introduce an option that allows forcing raw instruction mnemonics.
Currently implemented for GNU binutils.
Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
Commit 64149e4df6 added an "#if defined()"
for configuring DMA channels differently depending on SOC family of the
STM32 HAL, but did not include the STM32H7 family in the same group as
STM32F7. Fix it by adding the STM32H7 in the same #ifdef filter.
Fixes#92015
Signed-off-by: Josuah Demangeon <me@josuah.net>
This change adds two macros that allow the user to specify the section
the memslab buffer should be allocated from. This is useful for systems
where memory must reside in DMA-able memory like USB.
Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
Allow overriding puncover default host and port. Using
PUNCOVER_HOST/PUNCOVER_PORT it is possible now to set the host and port
to something else other than the default.
example:
export PUNCOVER_HOST=10.0.1.1
export PUNCOVER_PORT=8088
will start puncover on 10.0.1.1:8088 and make it available over the
local network.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Add driver for Microchip PolarFire SoC (MPFS) peripheral clock and soft
reset control.
Normally, the peripheral clocks and reset state are controlled by the
Hart Software Services (HSS) running on the Monitor processor. As an
alternative to using HSS services, applications can now enable the reset
controller in a device tree overly, for example:
&reset {
status = "okay";
};
&uart4 {
resets = <&reset MSS_RESET_ID_MMUART4>;
};
Embedded the reset controller node in system controller node.
Signed-off-by: Frank Kühndel <frank.kuehndel@embedded-brains.de>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
Avoid accessing tx_bufs or rx_bufs when they are NULL by adding proper
conditional checks before dereferencing. This addresses Coverity issue
CID 516225 (CWE-476).
Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
1. Increased interfaces count as there are 6 MACs on i.MX943.
2. Increased NETC ring length as extended BD will be used.
3. Enabled monitor for gPTP sync status.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
- fixes is25wp064 flash size in DTS. It must be 8 MBytes (64MBits).
- uses DT_SIZE_M() macro instead of an absolute value.
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This set of changes adds support for QSPI-based external flash and
Bluetooth to the device tree. This make it possible to correctly build and
execute the fatfs and several Bluetooth samples out of the box.
Also added a function to read the external flash OTP to extract
information about the Opta model and hardware features and a second
function to retrieve the "official" Opta serial number.
Signed-off-by: Federico Di Gregorio <fog@dndg.it>
Floating-Point System ID register (FPSID) = 0x41033094
AArch32 Media and VFP Feature Register 0 (MVFR0) = 0x10110222
AArch32 Media and VFP Feature Register 0 (MVFR1) = 0x1111111
MVFR1 SIMDFMAC, bits [31:28] = 0; FMAC is not supported
Signed-off-by: Simon Maurer <mail@maurer.systems>
Recent changes to net_link_addr structure to not use pointers
have made it necessary to update the modem_cellular driver
to ensure compatibility with the new structure definition.
Otherwise, an assertion failure occurs in subsys/net/l2/ppp/ipv6cp.c:40.
This commit updates that link address is set to NET_LINK_ADDR_MAX_LENGTH
least significant bytes of IMEI instead of IMEI total length.
Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no>
According to the C standard it is undefined behavior to use preprocessor
directives inside macro invocations.
Cppcheck stops when it see this UB with an error message, and so this
change will improve Cppcheck analysis
This is a refactoring to fix UB, no logical change is intended.
Signed-off-by: Daniel Marjamäki <daniel.marjamaki@cppchecksolutions.com>
This commit adds the following:
* Sensor related usage IDs in the Sensors' page of the HID standard.
* A HID usage macro that works with IDs of 2 bytes.
* A macro to define the exponent in a report descriptor.
The values and naming came from the following document: https://www.usb.org/sites/default/files/hutrr39b_0.pdf
Signed-off-by: Zak Essadaoui <zak0@meta.com>
struct init_entry may point to a struct device or a struct service,
each ones belonging to device or service iterable section.
Service section being newly added, handling it in cmake relevantly.
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
check_init_priorities.py does no longer output any information about any
initialization function pointer as such pointer has been removed from
struct init_entry.
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
As the pointer has been removed from struct init_entry, there is no point
to look for it nor to display any information about it (obviously).
Fixing the test script as well.
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
Since the addition of deinit operation in device, init and deinit have
been within each device, rendering their init entry's init function
useless.
In order to save ROM space, let's remove the init function from
init entry altogether, and introduce a new object called "service"
which owns an init function to go along with SYS_INIT/SYS_INIT_NAMED.
Signed-off-by: Tomasz Bursztyka <tobu@bang-olufsen.dk>
Addition of a shield st_mb1897_cam embedding a GC2145 CSI
sensor which can be connected to the STM32MP135F-DK via a 15pins FFC.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
The STM32MP135F-DK board embeds a ST-MIPID02 CSI to DVP
bridge allowing to connect a CSI 15pins FFC cable enabled
sensor to the DCMIPP in parallel interface.
Add the ST-MIPID02 node and its dependency MCO clock as well
as partially filled DCMIPP node.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
MCP230XX IO expander is interfaced via i2c hence it is
suffisant to align its init priority to the i2c one.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Following the addition of USB Video Class, this adds a sample that makes
use of the zephyr,camera chosen node of any board to stream the video
source to the host. A snippet video-sw-generator can be used to test
and debug devices without a zephyr,camera chosen node.
Signed-off-by: Josuah Demangeon <me@josuah.net>
Introduce a new USB Video Class (UVC) implementation from scratch.
It exposes a native Zephyr Video driver interface, allowing to call the
video_enqueue()/video_dequeue() interface. It will query the attached
video device to learn about the video capabilities, and use this to
configure the USB descriptors. At runtime, this UVC implementation will
send this device all the control requests, which it will send to the
attached video device. The application can poll the format currently
selected by the host, but will not be alerted when the host configures
a new format, as there is no video.h API for it yet.
Signed-off-by: Josuah Demangeon <me@josuah.net>
The Arduino Nicla Vision board supports the new device_next USB stack
and can be used for testing USB Device features such as UVC.
Signed-off-by: Josuah Demangeon <me@josuah.net>
Always return exit code 0 when cmd_uart_read stopped reading
data from UART. Instead, return with a error code in case
reading from the UART interface failed.
Currently, this command might return with exit code -1 because
uart_poll_in didn't return data and the read duration expired.
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Update Zephyr fork of MCUboot to revision:
07222c1929e1d79d303baa8fde7f977a79e48e9a
Brings following Zephyr relevant fixes:
- 07222c19 boot_serial: Avoid re-initializing state in
boot_image_validate_encrypted
- a18f635a boot: Remove now superfluous start_off parameters
- c62c19db boot_serial: Use flash sectors from bootloader state
when possible
- 13edc5fb boot_serial: Use flash area from bootloader state when
possible
- f1aa499c boot_serial: Initialize a bootloader state for bs_list
and bs_set
- f1efd483 bootutil: loader: Expose routine to determine sector
layout
- 72166868 bootutil: loader: Expose routine to open/close all
flash areas
- 0319e91c boot: bootutil: Fix encryption/decryption size
during copy
- a36f9513 imgtool: Add support for HMAC/HKDF-SHA512 with
ECIES-X25519
- 37719169 zephyr: Support for HKDF/HMAC with SHA512
- 1d83177c bootutil: Add support for HAMC-SHA512 with ECIES-X25519
- 7de064ea boot: zephyr: add support for booting ARC processors
- 72459ec0 boot: zephyr: stm32n6570_dk: define
CONFIG_MULTIPLE_EXECUTABLE_RAM_REGIONS
- be8b3abc boot: Zephyr: Add a Kconfig for
MULTIPLE_EXECUTABLE_RAM_REGIONS define
- c5011f2b zephyr: Improve logging
- 11f9c6f2 bootutil: Improve logging coverage
- adbe1cfb boot: stm32n6: Define specific executable region
- 93c2b50a boot: zephyr: boards: Add configuration for
stm32n6570_dk
- fca80b41 boot: zephyr: defines FLASH device for external NOR
- 78d94cf4 imgtool: bump minimal required version to 2.2.0
- af602f81 bootutil: Replace local identifiers with common
definitions
- e5756df5 bootutil: Remove redundant ALIGN definitions
- e3a271c9 bootutil: Move all encryption TLV helper identifiers
into one place
- 68a4c962 boot: bootutil: avoid full erase on BOOT_MAGIC_BAD
in boot_set_next
- 1ed0218c scripts: imgtool: Add hash for ECDSA256P1Public
- a90ddfc7 zephyr: Fix pinreset trigger
- e56cecc4 bootutil: Small cleanup in image.h
- 402d3f7f boot: zephyr: Refactor DFU entry logic
- 687dc8c5 bootutil: boot_decrypt_key: Only one
bootutil_hmac_sha256_drop needed
- a0065f8f bootutil: Fix boot_scramble_region escaping flash
area
- bb644c7c bootutil: loader: overwrite-only mode fix for
trailer erase
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
use DT_INST_PROP_OR for local-mac-address, so
that it is not required to be set in dt, as there are
other ways to se the mac address.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
make sure, that zephyr,random-mac-address
has a higher prio, than local-mac-address, as
documented in ethernet-controller.yaml.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
make sure, that zephyr,random-mac-address
has a higher prio, than local-mac-address, as
documented in ethernet-controller.yaml.
Also make sure, that no vaild mac address
doesn't lead to init fail, as it can still be
set later via set_config.
Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
increase value of the adc-prescaler to avoid ADC
overrun.
adc driver related error log:
"E: ADC overrun error occurred ..."
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Extend tests/boot/with_mcumgr with BLE configuration.
Updated sample to use the source code from smp_svr.
Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>