This is for using the Raspberry Pi Debug Probe as a general purpose
microcontroller board, not for using it in its original debugging role.
Product photo from https://www.raspberrypi.com/products/debug-probe/
Tested with the samples mentioned in the index.rst page.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
Previously the ETHOS_U_LOG_LEVEL choice and int symbol only existed
when STDOUT_CONSOLE was enabled. This caused build and compile issues
if logging was disabled, since CONFIG_ETHOS_U_LOG_LEVEL would be
undefined and C code using LOG_MODULE_REGISTER() would fail.
- Replace dependency on STDOUT_CONSOLE with LOG.
- Ensure ETHOS_U_LOG_LEVEL is always defined, even when LOG is off.
In that case default to 0 (NONE).
This guarantees a valid CONFIG_ETHOS_U_LOG_LEVEL is present in all
configurations and allows clean builds regardless of console settings.
Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
WPA Auto security adds support for WPA/WPA2/WPA3 PSK security.
Supports auto security mode, enabling STA to select the most secure mode
among WPA, WPA2, and WPA3 based on the capabilities of the AP.
Signed-off-by: Gang Li <gang.li_1@nxp.com>
When the external AP is in WPA/WPA2 mixed mode, the group cipher uses
TKIP, the group cipher mismatches, so the connection fails.
Fix: set the WPA2 group cipher to TKIP + CCMP by default.
Signed-off-by: Gang Li <gang.li_1@nxp.com>
Product photo from https://learn.adafruit.com/assets/101892
with the license CC BY-SA 3.0
Tested with the samples mentioned in the index.rst file.
Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
ARM CMSIS 6 has different ITM and TPI register definition comparing
with CMSIS 5. Update the swo initialization to use CMSIS 6 defines.
For the Cortex-M cores which are higher than Cortex-CM7, the LAR
has been removed from ITM.
Signed-off-by: Aaron Ye <aye@ambiq.com>
Provide a map from RTS5912_GPIO_NUM_000 to RTS5912_GPIO_NUM_131
for appication call be easier read.
For example:
Used: <&gpiog 6 (GPIO_OUTPUT)>
Now: <RTS5912_GPIO_NUM_102 (GPIO_OUTPUT)>
Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
Disable the shadow registers bypass in init function before RTC
deinitialisation to avoid infinite loop as the bit cases the RSF bit
to be kept in 0. The systick is not working in PRE_KERNEL_1 so it will
never timeout.
Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
Enables low power stop mode for C0.
Code is taken from F4 family, tested on nucleo-c71rb with
samples/basic/blinky.
Power consumption in run mode 3.7 mA, in stop mode ~87 uA.
Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
Test the received byte against the byte sent depending on the speed
selected, not the standard-speed mode byte every time.
Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
dts improvement for MXCHIP - AZ3166 IoT Dev kit.
I added accel0 alias for compatibility with the accel_polling sample.
Signed-off-by: Alexandre Francoeur <afrancoeur@uzinakod.com>.
fix a typo in board name (mixm... instead of mimx...) and actually use
a proper board name anyway since it looks like this was still using
a HWMv1 name.
Fixeszephyrproject-rtos/zephyr#95015
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Ensure all top-level device driver headers have a Doxygen @file tag and
put the @file in the same group as the driver API.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Move MSPI devicetree macros documentation under MSPI group to not
clutter top-level device drivers page.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Basically just fixing the comment style to use javadoc-style comments
so that doxygen picks these up
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
The group dedicated to transport layers for MCUmgr ended up being
orphan, probably due to a bad rebase in the recent past. This commit is
fixing it.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
The current test result merge command uses artifacts/*/*/twister.xml as
an argument but that directory hierarchy only works if there's >1
runners. If twister decies to only schedule one, then the only file is
going to be in
artifacts/twister-out/twister.xml
and the current command is going to fail with a file not found error.
Using a ** glob for finding the files.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Take a repo and org argument to the do_not_merge.py script so it can be
used in the testing repository.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Add test for sys_bitarray_alloc and sys_bitarray_free with 32 bit
bitarray which is using an optimized algorithm.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
When bitarray is limited to a single 32 bit word then bitmask_find_gap
can be used which is much faster than bit by bit search which is
used in bitarray spanning across multiple 32 bit words. Tests shows
that allocation and freeing is 2-3 times faster.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add function which finds contiguous number of bits which are not set
in the 32 bit mask.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
According to the datasheet, one page is made of 64 bytes
and one row is made of 4 pages, that is 256 bytes.
This MR fixes the incorrect page write size for sam0
and sets it to 64 bytes.
Signed-off-by: Taras Zaporozhets <zaporozhets.taras@gmail.com>
Add a HWINFO driver for native_sim with support for getting the device
ID. Default device ID will be that returned from gethostid(), but the ID
can be overriden via the -hostid command line option.
Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
Adding configuration to facilitate the testing of
stdby BLE feature for stm32wbax nucleo boards
Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
Reworking pm implementation in stm32wba ble hci driver.
Enabling "no-reset" quirk for stm32wba ble hci driver to
maintain specific configuration required for pm.
Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
system clock at 32MHz (nucleo_wba55cg and nucleo_wba65ri).
32 Mhz is the lowest value to manage radio events.
lsi clock disabled (nucleo_wba55cg).
Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
This is variation of the PR to handle phantom events and hopefully
this get merged into the PR to land.
See-also: https://github.com/zephyrproject-rtos/zephyr/pull/89624
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
Fixeszephyrproject-rtos/zephyr#92663
Disabled LFXO via devicetree allows pin 0.00 and 0.01 to work correctly
as gpio by assigning it to the app core instead of peripheral. Removed
deprecated Kconfig options so DT is the only config path now.
Signed-off-by: Ivynya Lu <ivy.lu@level.co>
Add support for running the APU ELF on QEMU using the
`west build -t run_qemu` target. QEMU integration is now wired through
west and Twister for the `versalnet_apu` board.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Introduce a generic board configuration for the APU on the Versal Net SoC,
which is based on the ARM Cortex-A78 processor.
This board setup provides a baseline environment for enabling and testing
Cortex-A78 features and peripheral integration on the APU subsystem.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Add initial support for the Versal Net SoC APU, which is based on
the Arm Cortex-A78 processor. It includes basic wiring for memory
regions, UART, interrupt controller, and timer.
The versalnet_apu.dtsi file defines peripherals shared across the SoC,
while versalnet_a78.dtsi captures peripherals private to the Cortex-A78
processor. These device trees lay the groundwork for further APU-based
development on the Versal Net platform.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Add CPU bindings for the Cortex-A78 to enable reading CPU device tree
properties in Kconfig. This is required to correctly configure and
use CPU-specific settings based on the device tree.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>