Commit Graph

8538 Commits

Author SHA1 Message Date
Erwan Gouriou
0d42acadb4 boards: nucleo_wb55rg: Use stm32cubeprogrammer as default runner
When playing with PM related applications, stm32cubeprogrammer is
useful to allow flashing even when SoC is in Stop mode.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2023-11-21 14:22:22 +01:00
Adolfo E. García
0bda2169a7 boards: xtensa: add heltec_wireless_stick_lite_v3
Adds support for the Wireless Stick Lite (V3),
a development board from HelTec Automation.

Signed-off-by: Adolfo E. García <aegarcia@cerbo.co>
2023-11-21 14:21:20 +01:00
Andrzej Głąbek
b172e5133b boards: nrf52840dk_nrf52840: Fix reserved GPIO lines
This is a follow-up to commit 7a83724e0f.

There is no reason to mark that many GPIO lines as reserved on this
board. And doing so causes several existing tests to fail as they
are configured to use some of those now unavailable GPIO lines.

Limit reservation to the lines that actually cannot be used as
GPIOs without changes in the default configuration of the board
or its physical modification (via solder bridges), i.e.:
- XL1 and XL2 (connections for the 32.768 kHz crystal)
- NFC1 and NFC2 (NFC antenna connections)
- RESET
- TXD and RXD (lines used by the console UART)
- QSPI lines: CS, CLK, and DIO0-3

Provide names for all the GPIO lines that are described on the board.
Even for the reserved ones, so that it is clear why they are reserved.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-11-21 13:08:42 +01:00
Andreas Sandberg
84d588e013 boards: arm: add support for WeAct STM32G431 Core
Add support for the WeAct Studio STM32G431 Core Board.

Tested with:
 - `samples/basic/blinky`
 - `samples/basic/button`

Flashed samples using dfu-util.

Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
2023-11-21 09:54:02 +01:00
Abderrahmane Jarmouni
053c6b29cc boards: arm: stm32u5a9j-dk: add OpenOCD support
Add support for debugging with OpenOCD and GDB

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2023-11-21 08:44:34 +00:00
Abderrahmane Jarmouni
2df99b10c5 boards: arm: stm32u5a9j-dk: Add initial support
Add initial support of STM32U5A9J-DK discovery kit

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2023-11-21 08:44:34 +00:00
Dmitrii Golovanov
23324fc5ba boards: qemu_xtensa: coredump: Enable coredump
Enable coredump on qemu_xtensa and qemu_xtensa_mmu.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2023-11-20 10:51:35 -06:00
Franciszek Pindel
ad788ad511 gecko: pinctrl: Add missing configuration for Gecko Series usarts
This commit adds missing pinctrl configuration for USARTs in
efm32gg_slwstk6121a, efm32gg_stk3701a and efr32_radio boards
and enables PINCTRL for efr32_radio_brd4180a
and efr32_radio_brd4187c boards.

Signed-off-by: Franciszek Pindel <fpindel@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
2023-11-20 13:03:18 +01:00
Franciszek Zdobylak
1d01f5c6b9 dts: arm: silabs: Move gpio gecko header include
Move the include to places where it is actually used.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
2023-11-20 13:02:49 +01:00
Franciszek Zdobylak
6f91fd858c dts: arm: silabs: Configure hfxo in dtsi
This commit moves configuration of hfxo from headers defined on board level
to device trees of SoCs.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
2023-11-20 13:01:39 +01:00
Benjamin Cabé
3c8333ac10 boards: doc: fix Toradex Verdin iMX8M line length
Documentation .rst files should wrap at 100 characters.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-11-20 11:55:31 +01:00
Benjamin Cabé
bdbf928b62 boards: doc: fix Toradex Verdin iMX8M typos
Several fixes to this board's readme including broken build
instructions.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-11-20 11:55:31 +01:00
Benjamin Cabé
299a10e0db boards: doc: fix Toradex Verdin iMX8M title
The title for this board README was very broken, messing up not only
this board's README but also the boards TOC.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-11-20 11:55:31 +01:00
Iuliana Prodan
5879803d15 board: xtensa: nxp: Add vendor
Add vendor for NXP boards.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-11-20 11:13:44 +01:00
Iuliana Prodan
8446c58777 board: xtensa: imx8m: Enable more tests
Update yaml to run more tests.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-11-20 11:13:44 +01:00
Iuliana Prodan
7c55eb5dfa board: xtensa: imx8m: Remove unnecessary keyword
Remove /omit-if-no-ref/ since it doesn't apply here.
This is used for pre-generated nodes.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-11-20 11:13:44 +01:00
Iuliana Prodan
edc0b7f352 board: xtensa: imx8m: Remove unnecessary configs
Remove unnecessary configs.
Some were moved to Kconfig.series from soc/.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-11-20 11:13:44 +01:00
Daniel Leung
c972ef1a0f kernel: mm: move kernel mm functions under kernel includes
This moves the k_* memory management functions from sys/ into
kernel/ includes, as there are kernel public APIs. The z_*
functions are further separated into the kernel internal
header directory.

Also made a quick change to doxygen to group sys_mem_* into
the OS Memory Management group so they will appear in doc.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-11-20 09:19:14 +01:00
Alberto Escolar Piedras
bc08e801c6 native_sim build: Fix for APPLICATION_BINARY_DIR!=CMAKE_BINARY_DIR
In some cases, the APPLICATION_BINARY_DIR does not match
the CMAKE_BINARY_DIR, in those cases the native simulator
build would not find the zephyr elf file.
Fix it by using the correct variable.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-17 12:42:17 +01:00
Nick Ward
7a83724e0f boards: nrf52840dk_nrf52840: add gpio reserved ranges and line names
Add gpio-reserved-ranges and gpio-line-names properties.

Signed-off-by: Nick Ward <nix.ward@gmail.com>
2023-11-17 12:41:14 +01:00
Alberto Escolar Piedras
65fd7d4246 samples shell/fs docs: Enable for native_sim
Instead of always enabling fuse for native_posix,
let's give users instructions on how to enable it
while building.

In the documentation: replace the references to native_posix
with native_sim, improve the links, mention the flash
simulator, and provide a separate subsection for FUSE access.

Add a separate test for the sample with fuse access enabled
and be sure it is possible to run both this and the basic
one with native_sim (was filtered out before for native_posix)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-17 09:23:48 +01:00
Fabio Baltieri
e87ded3f03 input: it8xxx2: use the generic keyboard code
Split the common keyboard scanning code out of the ITE specific driver
and use the generic code instead.

Note that this changes few timing defaults, the change is not
significant though so I suspect there's no difference in practice.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-11-16 17:54:00 +01:00
Alberto Escolar Piedras
ceba001bad bsim boards doc: Update general bsim boards documentation
Polish and correct the documentation to reflect the use
of the native_simulator, and the fact that we have
now more than one bsim board in tree.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-16 17:53:25 +01:00
Alberto Escolar Piedras
faf8bb0696 boards nrf5340_bsim doc: IPC and MUTEX peripherals are now supported
Update this board docs to reflect that these 2 peripherals
are now supported.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-16 17:53:25 +01:00
Andrej Butok
3b5fd5fc92 boards: arm: LPC55Sx6: Enable LinkServer and PyOCD runners.
Enable LinkerServer and PyOCD runners for LPC55Sx6 EVKs,
where it is supported.
It was tested on a real HW.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-11-16 16:56:07 +01:00
Nazar Palamar
de4fc8bf75 boards: arm: CY8CPROTO-062-4343W: update bias for i2c
Update pin control bias mode for i2c3 pins:
&p6_0_scb3_i2c_scl {
	drive-open-drain;
	input-enable;
};

&p6_1_scb3_i2c_sda {
	drive-open-drain;
	input-enable;
};

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-11-16 16:52:52 +01:00
Alberto Escolar Piedras
9fe225d2b8 doc/connectivity/usb: Replace references to native_posix w native_sim
Replace the references to native_posix with native_sim,
and update link names accordingly.

Background: during this release native_sim is replacing
native_posix as the main host test/development platform.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-16 09:37:59 +01:00
Maximilian Deubel
e7123253a3 boards: arm: nrf9131ek: add docs
This patch adds a readme file for the nRF9131-EK.

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
2023-11-16 09:32:42 +01:00
Andrei Emeltchenko
1af78e0481 boards: up_squared_pro_7000: Update documentation
Add chapter describing serial console connection and cleanup.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-11-16 09:30:45 +01:00
David Brown
8c74583125 boards: stm32h747i_disco: Add Segger JLink support
Add configuration lines to be able to use the jlink debugger with this
board.  The disco board leaves the debug lines tri-stated until connecting
to stlink, so it is safe to just plug in the jlink and use it.

Signed-off-by: David Brown <david.brown@linaro.org>
2023-11-16 09:29:48 +01:00
Xudong Zheng
a13364112e boards: arm: adafruit_feather_nrf52840: add voltage divider for battery
This allows firmware to read the voltage for LiPoly battery.

Schematic:
https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/downloads

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
2023-11-16 09:27:13 +01:00
Gabriel Freitas
eaec581fb9 boards: arm: add toradex verdin imx8m plus board
Add Verdin iMX8M Plus board with i.MX8MP SoC and ARM Cortex-M7 processor.
Add two targets (DDR and ITCM) for the iMX8M Plus board.
Port and documentation are based on NXP MIMX8MM EVK board.
This code is intented to be used with the Cortex-M7.

Signed-off-by: Gabriel Freitas <gabriel.freitas@toradex.com>
2023-11-16 09:25:53 +01:00
Benjamin Cabé
7433a203ef doc: boards: Clean up repeated words
Removed a bunch from repeated words across board READMEs.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-11-15 22:01:07 +01:00
Manuel Argüelles
1a05cfc03a soc: nxp_s32: consolidate part number options
Currently, the NXP S32 SoCs have three redundant Kconfig hidden
options to define the part number. To streamline this, we will
retain `CONFIG_SOC_PART_NUMBER` to store the part number as a
string and `CONFIG_SOC_PART_NUMBER_<part>` that can be selected
by the boards.

Furthermore, for drivers requiring conditional code compilation
based on the target SoC, they should utilize the series or SoC
config option as applicable, instead of the part number config.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-15 10:25:43 -06:00
Manuel Argüelles
8ca4f5b4a1 soc: nxp_s32: s32k3: drop M7 suffix from options
The existing S32K3 Kconfig options employ the `M7` suffix, which is
redundant given that all cores in this series utilize an Arm Cortex-M7
core. Therefore, we should remove it.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-15 10:25:43 -06:00
Andrej Butok
287b30eb78 doc: Fix double 'the'
Fix double 'the' in all .rst documentation.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2023-11-15 14:25:11 +00:00
Jakub Michalski
9265d2de0c drivers: gpio: add rzt2m gpio driver
Add Renesas rzt2m gpio driver with basic functionality.
It supports pin mode configuration and writing/reading to/from gpio ports.
Includes dts changes to build blinky sample.

Signed-off-by: Jakub Michalski <jmichalski@internships.antmicro.com>
2023-11-15 11:41:35 +01:00
Wojciech Sipak
9e44f59e9a drivers: pinctrl: add RZT2M driver
This adds a new driver for Renesas RZ/T2M.
The driver allows configuration of pin direction,
pull up/down resistors, drive strength and slew rate,
and selection of function for a pin.

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
2023-11-15 11:41:35 +01:00
Wojciech Sipak
4e35d0e354 drivers: serial: add RZT2M uart driver
This adds a UART driver for the Renesas RZ/T2M
Serial Communication Interface.
The driver implements:
* Polling API,
* Interrupt-driven API.

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
2023-11-15 11:41:35 +01:00
Wojciech Sipak
b1c83c0335 soc: Add support for RZ/T2M
This adds a new SoC: SOC_RENESAS_RZT2M
and a new board: rzt2m_startek_kit

Signed-off-by: Wojciech Sipak <wsipak@antmicro.com>
Co-authored-by: Roman Dobrodii <rdobrodii@antmicro.com>
2023-11-15 11:41:35 +01:00
Alberto Escolar Piedras
86db699564 docs: native_sim: Polish documentation
Polish the native_sim documentation a bit.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-14 14:38:10 +01:00
Alberto Escolar Piedras
c3d863f864 docs: boards posix: Replace reference to native_posix w native_sim
Let's replace the references to native_posix with native_sim,

Background: during this release native_sim is replacing
native_posix as the main host test/development platform.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-14 14:38:10 +01:00
Alberto Escolar Piedras
c05b81bd9c docs: native_sim/posix: Swap documentation from native_posix to native_sim
During this release native_sim is replacing native_posix
as the main host test/development platform.

Therefore, instead of basing the native_sim documentation
in native_posix's one, let's do it the other way around.

This commit mostly moves documentation from the native_posix
page into the native_sim one, changing the board and renaming
labels.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-14 14:38:10 +01:00
Chekhov Ma
2b6c861f0c imx93: increase mmu region count to 64
The default mmu region count is not enough when more drivers are added.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2023-11-14 07:10:59 -06:00
Chekhov Ma
2c13e53081 imx93: add lpuart1
imx93: add dts node and mmu region for lpuart1

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2023-11-14 07:10:59 -06:00
Chekhov Ma
90aee7d65c imx93: update iomuxc refs to match new pinctrl.dtsi
Update iomuxc references to match the changes of
`mimx9352cvuxk-pinctrl.dtsi` in hal/nxp.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2023-11-14 07:10:59 -06:00
Andrei Emeltchenko
8192365298 boards: up_squared: Correct vendor
Correct vendor name for up_squared board, the same as for UP 7000
board.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-11-14 09:23:18 +01:00
Andrei Emeltchenko
0dab1e8482 doc: x86: Modify x86 TOC include
Modify toctree glob to exclude common directory which keeps rst
helpers. This allows to include several boards documentation from the
common board directory.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-11-14 09:23:18 +01:00
Andrei Emeltchenko
c99fe31f83 boards: up_squared_pro_7000: Add board documentation
Add documentation for UP Squared Pro 7000 board.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-11-14 09:23:18 +01:00
Andrei Emeltchenko
07b5f51cdc boards: up_squared_pro_7000: Add new board definition
Add board definition for UP Squared Pro 7000.
The board is powered by Intel Alder Lake N (N-series Intel Platform).

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2023-11-14 09:23:18 +01:00