Use runners_yaml_props_target to set the name of the file to
flash, rather than hard-coding it for each board.
Co-developed-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1. Add counter tag in siwx91x board yaml files
2. Enable sysrtc node for siwx917_rb4342a through overlay
Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
Currently twister complains:
benchmark.kernel.footprints.pm on siwx917_rb4342a/siwg917m111mgtba
error (CMake build failure - warning: SILABS_SLEEPTIMER_TIMER (defined
at soc/silabs/silabs_s2/Kconfig.defconfig:17,
drivers/timer/Kconfig.silabs:4) has direct dependencies
(SOC_FAMILY_SILABS_S2 || SOC_FAMILY_SILABS_SIWX91X) &&
DT_HAS_SILABS_GECKO_STIMER_ENABLED && SYS_CLOCK_EXISTS with value n,
but is currently being y-selected by the following symbols:)
So, SILABS_SLEEPTIMER_TIMER can't be selected because
DT_HAS_SILABS_GECKO_STIMER_ENABLED is not selected.
We just have to enable the proper timer in the DT of rb4342s to fix the
issue.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
The TIMER has 3 PWM channels, allowing all 3 RGB leds to be
controlled by the same PWM controller instance.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Fix board DTS coding style issues to prevent them from spreading when a
new board is introduced and uses an existing DTS as a referance.
Issues addressed from Zephyr devicetree style guidelines [1]:
- Don’t insert empty lines before a deindenting };.
- Insert a single empty line to separate nodes at the same hierarchy
level.
- status is "okay" by default.
- compatible property comes first in node.
- reg property comes second in node.
- status property comes last in node.
- the rest of the properties within are nodes naturally sorted.
- child nodes are sorted by address or alphabetically if there is no
address.
No functional change.
Link: https://docs.zephyrproject.org/latest/contribute/style/devicetree.html [1]
Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
Add rtc tag to the siwg917_rb4338a board to activate testing on the
board.
Also add an overlay for the board in order to run the test correctly.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Thanks to the bootloader, the memory controller is preconfigured when
Zephyr start on RB44342A.
However, this is the opportunity to show how to configure the PSRAM
controller on custom designs.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Radio Board 4342A has 8MB of PSRAM connected to the Quad-SPI memory
controller.
The memory controller of the 4342A is preconfigured by the bootloader.
So, the PSRAM work out of the box without any manual configuration.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Radio Board 4342A is really similar to the 4338A. There are a few
difference on the pinmux, but most of the peripherals and the SoC are
the same.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Silabs Thunderboard EFM32GG12 (OPN: SLTB009A) connects USART0
location 1 to the VCOM pins of the on-board debugger.
US0_TX loc 1 is pin PE7
US0_RX loc 1 is pin PE6
Signed-off-by: Alex Hogen <alex@edt.com>
Some tests (eg. tests/bluetooth/shell) expects to have a
storage_partition defined.
storage_partition is also defined in the DT of most of the boards.
For now, this patch define a very small storage partition to avoid any
conflict with code_partition.
Tested-by: Andras Nyiri <andras.nyiri@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Catch up on some of the boards recently added as well as some that were
missed in the previous batch update.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Configure pinout and frequency for Serial Wire Output to enable use
of the SWO logging backend on Silicon Labs dev kits.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Add .. zephyr:board-supported-runners:: to the Programming and Debugging
section of the documentation for each board that has one such section,
as this is the most natural place to put it.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
The serial pipe driver is required when the Zephyr device acts as the
remote of a host application. Especially, frameworks like BTP rely on
this driver.
Until now, the "zephyr,uart-pipe" attribute was missing. So the serial
pipe driver was unable to start.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Add new tag to xg29_rb4412a.yaml file and remove pm ignore tag in order
to enable more tests for the xg29_rb4412a board.
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.
Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
Add DTS configuration for SPI and I2C buses on the board.
Make use of the new zephyr:board-supported-hw Sphinx directive to
automate the list of supported features in the board documentation.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Replace manually authored hardware features table with the new Zephyr
board supported hardware directive which automatically generates an
up-to-date table based on the boards' Devicetree.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
A follow-up to commit fe87abe0b9
This addresses boards that had pending pull requests
at the time the initial clean-up was done.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
A specific section of the flash on the SiWx917 is reserved for the
Network co-processor (NWP). This zone needs to be delimited in order to
not overwrite it. We then need to use "code-partition" to provide Zephyr
the application code flash location.
Co-authored-by: Martin Hoff <martin.hoff@silabs.com>
Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Report DMA configuration in the board definitions.
Note the addresses of the DMA buffers are hardcoded in the HAL. So,
these areas have to be declared in the linker file.
Co-authored-by: Sai Santhosh Malae <santhosh.malae@silabs.com>
Signed-off-by: Sai Santhosh Malae <santhosh.malae@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
These shouldn't be in the board _defconfig since they cannot be overridden
then. Move them to Kconfig.defconfig instead.
Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>