Splits up partition configuration for nrf5340-based cpuapp board
targets for secure and non-secure versions, the secure version now
has an extra 16KiB per slot which was previously wrongly reserved
for TF-M partitions which the secure board target does not use
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
As the compiling warning "duplicated unit-address" been solved by
using a common parent node, remove the suppress from makefiles.
Signed-off-by: Tony Han <tony.han@microchip.com>
USB host, device, Type-C, and BC1.2 are now all grouped under a
top-level USB entry in the "Device drivers" doxygen group.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add MCUboot variants to RPI Pico / Pico W and SysBuild parititions:
- rpi_pico/rp2040/mcuboot
- rpi_pico/rp2040/w/mcuboot
Add MCUboot variants to RPI Pico 2 / Pico 2 W and SysBuild partitions:
- rpi_pico2/rp2350a/m33/mcuboot
- rpi_pico2/rp2350a/w/m33/mcuboot
Signed-off-by: John Lin <john.lin@beechwoods.com>
Suppress memory leaks detected by valgrind originating from
nct_new_thread(), part of the native_sim CPU thread emulation.
This covers calls to posix_new_thread() as well, since this function simply
calls nct_new_thread (but may be optimized out by the compiler).
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Currently twister requires west to flash a board, either directly using
west-flash or indirectly through the cmake flash target.
Add an option to specify a custom flash script, this is passed a
build-dir and board-id flags so it can be used to implement custom
flashing scripts in a system that does not use west.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Product photo from https://learn.adafruit.com/assets/91687
with the licence CC BY 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/87727
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>
When the SHI driver receives data from the host and finds it is invalid
(due to a checksum error or an unsupported protocol version),
it currently resets the state machine, initializes the output buffer,
and waits for CS de-assertion. Upon CS de-assertion, the driver resets
the state machine and initializes the output buffer again. This commit
removes the first redundant reset and re-initialization in the function
`shi_npcx_bad_received_data()`, improving the driver’s efficiency.
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This change fixes STM32H7xx dma configuration.
PeriphInc and MemInc should be the same for both directions.
MemDataAlignment should be set to DMA_MDATAALIGN_HALFWORD
Signed-off-by: Mario Paja <mariopaja@hotmail.com>
Product photo from https://learn.adafruit.com/assets/89850
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Product photo from https://learn.adafruit.com/assets/123033
with license CC BY-SA 3.0.
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Fix Coverity issue CID 524766: A potential integer overflow could occur
in paj7620_set_sampling_rate() due to multiplication of
sensor_value->val1 instance(which is of type int32_t) with 1000000
without typecasting it to int64_t.
Fixes#90482
Signed-off-by: Aditya Chopra <adityachopra2912@gmail.com>
Product photo from https://learn.adafruit.com/assets/78982
with license CC BY-SA 3.0
Tested with command mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Set mem_block to NULL after the STOPPING command in order to exit
TX callback at the end of the buffer transmission.
Signed-off-by: Mario Paja <mariopaja@hotmail.com>
Product photo from https://learn.adafruit.com/assets/87051
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>
Add configuration overlay file to support observer sample
with Extended Scanning on BBC Micro Bit board.
Due to slow CPU, there will be assertions, and this commit
(for now) validates build-only. And the sample may run for
a duration until it asserts.
Asserts:
- ASSERTION FAIL [start_us == (aux_start_us + 1U)]
@ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
nordic/lll/lll_scan_aux.c:359
This will happen for small aux offset value, definitely
for the 300 us because CPU usage latency to setup such
auxiliary PDU reception on nRF51 is high due to slow CPU.
- ASSERTION FAIL [0]
@ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
nordic/lll/lll_scan_aux.c:592
prepare_cb: Actual EVENT_OVERHEAD_START_US = 579
This will happen due to CPU usage latencies scheduling
the radio events, due to slow CPU.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
Relax the radio packet pointer assignment deadline assertion
until access address being transmitted. The PDU buffer is
probably only needed just after access address is being
transmitted or received by the radio. This will give some
more breathing room for slow CPUs like in nRF51x SoCs.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
The product photo is from https://learn.adafruit.com/assets/88773
with license CC BY-SA 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Check `explorir_m_uart_transceive`'s return value in `explorir_m_init` and
return the value if not 0.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Updated minimal libc to use the type "bool" which was introduced in C23
instead of defining it as a macro.
Link: https://en.cppreference.com/w/c/header/stdbool
Signed-off-by: Daniel Hajjar <daniel.hajjar16@gmail.com>
Product photo from https://learn.adafruit.com/assets/122966
with 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>
rtc_ds3231.h only contains register definitions and bitmasks used
internally by the driver - make this header file private.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Fix CI issues whereby arch.arm.swap.common.no_optimizations test is
failing due to overlapping sections
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Product photo from https://learn.adafruit.com/assets/102984
with the license CC BY-SA 3.0
Tested with the command mentioned on the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Add an example west alias for automatically excluding certain platforms
when running Twister via west.
This is especially useful for excluding the 32-bit native_sim target when
running on hosts systems without a 32-bit host C library
(i.e. Linux/AArch64).
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Product photo from https://learn.adafruit.com/assets/104390
which has the license CC BY-SA 3.0
Tested with the command mentioned in the index.rst file.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Fix compile errors in the sensor documentation for temperature
polling - extra curly braces and unused variable.
Signed-off-by: Alexander Apostolu <apostolu240@gmail.com>
Renamed the static function `rtu_tx_adu` to `modbus_rtu_tx_adu`
for naming consistency with `modbus_rtu_rx_adu`.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
There is a "native" RTC driver for DS3231 now (maxim,ds3231-rtc, one of
the multiple functions implemented as MFD) so do all we can to
discourage the use of the legacy, counter-API based, driver.
Flag the compatible as deprecated.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Tested with the command mentioned on the index.rst page.
The product photo is from https://learn.adafruit.com/assets/95227
with the license CC BY-SA 3.0
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
The firmware subsystem has been around since Zephyr 4.0. Therefore,
add an entry for it in the MAINTAINERS file such that changes will
no longer go unnoticed. For now, nominate myself as its maintainer.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
The Adafruit ESP32 Feather V2 is a board that uses the Feather standard
layout. It uses an ESP32-PICO v3 02 module, and includes a USB-C
connector, LiPo battery charger, NeoPixel RGB LED, and STEMMA QT
connector.
Signed-off-by: Lena Voytek <lena@voytek.dev>