Commit Graph

7879 Commits

Author SHA1 Message Date
Alberto Escolar Piedras ece74b7b7f native_sim: Add new native_sim board
Add the new native_sim board, based on the native simulator.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-05 07:01:19 -04:00
Alberto Escolar Piedras 56dc20eb1d Kconfig: Tidy up dependants of NATIVE_APPLICATION
So they depend or select on the right NATIVE_BUILD
instead of NATIVE_APPLICATION.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-05 07:01:19 -04:00
Jerzy Kasenberg b896ca5771 drivers: counter: Add Smartbond basic support
This adds support for the TIMER1-4 counter.
Each counter has 24bits and can run on LP_CLK (15-32KHz)
or DIVN clock (32MHz) with prescaler 1-32.
Each counter can have one alarm set.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2023-07-05 13:00:50 +02:00
Wilfried Chauveau 690b21718a tfm: Fix the merged hex file name for mps3_an547
This fixes a typo that leads to failure when running `west build` with the
`run` target.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2023-07-04 14:14:51 +00:00
Andrej Valek 9ccf5ae521 boards: arm: nucleo_f756zg: add flash0 partitions
Split flash into partitions (4x256KB). There is no way to make partitions
smaller, because of block size. This feature enables to switch between
2 applications.

Signed-off-by: Andrej Valek <andy@skyrain.eu>
2023-07-04 11:07:31 +00:00
Benjamin Perseghetti fe0efb4ea0 board: MIMXRT1062-FMURT6: Set CANFD bus-speed-data
Set the flexcan3 bus-speed-data to allow for correct CANFD data-speed.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2023-07-03 15:24:00 -05:00
Benjamin Perseghetti 3529de3349 board: MIMXRT1062-FMURT6: correct PWM prescaler
Set the PWM clock prescaler values to 64 for controlling standard servo
50Hz carrier frequency.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2023-07-03 15:24:00 -05:00
Sumit Batra 64c4d4dd5d board: MIMXRT1062-FMURT6: Add pinmux support for I2C3 module Pins
This patch adds the pinmux and pad settings for I2C3 SDA and SCL pins

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2023-07-03 15:24:00 -05:00
Sumit Batra 5315a2e445 board: MIMXRT1062-FMURT6: Add pinmux support for FMU PPM Input
This commit adds the Pinmux and Pad settings for FMU PPM Input Pin

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2023-07-03 15:24:00 -05:00
Sumit Batra c10b4ef301 board: MIMXRT1062-FMURT6: Removing the CONFIG_DISPLAY check in CMakeLists
This patch removes an unncessary message for presence or absence of DISPLAY

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
2023-07-03 15:24:00 -05:00
Sumit Batra 95c2dfce94 board: MIMXRT1062-FMURT6: Add pinmux support for uart ports
used for gps and telemtry.

This patch configures the correct pinmux settings for

lpuart2, lpuart3, lpuart5 ports used for gps and telemetry modules.

It also adds software pull up for the UART console port lpuart7.

Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
Co-authored-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Co-authored-by: Iain Galloway <iaintravelgalloway@gmail.com>
2023-07-03 15:24:00 -05:00
Jiaxuan Weng 33e3ddd4d5 boards: xtensa: Add support for xiao esp32s3
add board support and overlay for seeed xiao esp32s3.

Signed-off-by: Jiaxuan Weng <1391548050@qq.com>
2023-07-03 09:31:27 +02:00
Manimaran A f6eeb9dc84 soc: MEC1701: Removed Microchip MEC1701
Removed MEC1701 SOC specific sources

Signed-off-by: Manimaran A <manimaran.a@microchip.com>
2023-07-01 12:38:07 +02:00
Najumon Ba b3d78de656 arch: x86: updated acpi config macro
renamed x86 CONFIG_ACPI config macro to CONFIG_x86_ACPI.

Signed-off-by: Najumon Ba <najumon.ba@intel.com>
2023-06-30 17:53:01 +03:00
Najumon Ba 90347583ac board: x86: rpl_crb: added acpi support for raptor lake crb
added acpi support for raptor lake crb

Signed-off-by: Najumon Ba <najumon.ba@intel.com>
2023-06-30 17:53:01 +03:00
Daniel DeGrasse d5329d1391 boards: arm: mixmrt1170_evkb: enable display support
Enable display support for RT1170 EVKB, using display sample with
RK055HDMIPI4M display.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Daniel DeGrasse 2ef5eb9772 boards: arm: mimxrt1170_evkb: add support for SPI
Add support for SPI on RT1170 EVKB, verified using SPI loopback sample.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Daniel DeGrasse 903cfc8f15 boards: arm : mimxrt1170_evkb: add support for I2C
Add support for I2C on RT1170 EVKB, verified using I2C target API test.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Daniel DeGrasse 968ba5190d boards: arm: mimxrt1170_evkb: add support for DMA test
Enable DMA test for RT1170 EVKB

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Daniel DeGrasse 74ffb99a72 boards: arm: mixmrt1170_evkb: add support for ADC
Add support for ADC sample and API test on RT1170 EVKB.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Daniel DeGrasse 11bc9b8dca boards: arm: mimxrt1170_evkb: add RT1170 EVKB
Add RT1170 EVKB definition to Zephyr. This board is similar to the
RT1170 EVK, but uses a different quadspi flash chip, and includes
an audio connector as well as an additional display connection.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-29 21:05:56 +02:00
Kevin Wang a9955d3e17 drivers: watchdog: Add Andestech ATCWDT200 driver.
Support the Andes atcwdt200 watchdog driver.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2023-06-29 10:13:05 +00:00
Keith Packard 710422ec5e include/zephyr: Fix linker scripts to define _end after all static RAM data
The Zephyr linker scripts have inconsistent ordering of various chunks of
data which lands in RAM at runtime. This leads to the value of _end not
being consistently defined as the maximum address of static variables used
in the application.

Create a helper linker fragment, zephyr/linker/ram-end.ld, which can be
included after the last possible definition of RAM data, that consistently
sets _image_ram_end, _end and z_mapped_end.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-06-28 08:41:02 +00:00
cyliang tw 51d57f612d drivers: pinctrl: add pin group for NuMaker pinctrl
Update Nuvoton numaker series pinctrl, let support pin group.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2023-06-28 06:49:38 +00:00
Marc Desvaux e86fc5fb75 boards: arm: nucleo_f746zg: add i2c2
Adds i2c2 on nucleo_f746zg to use the i2c_target_api test case
to enables the board.

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-06-27 16:38:43 +00:00
Marc Desvaux 4cc7a841ca boards: arm: nucleo_l073rg: add i2c2
Adds i2c2 on nucleo_l073rg to use the i2c_target_api test case
to enables the board.

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-06-27 16:38:16 +00:00
Manojkumar Subramaniam dc88a20bd7 boards: riscv: Add initial support for titanium_ti60_f225
This FPGA board can be loaded with a RISC-V core and utilized
with Zephyr.

Product link:
https://www.efinixinc.com/products-devkits-titaniumti60f225.html

Signed-off-by: Manojkumar Subramaniam <manoj@electrolance.com>
2023-06-27 12:09:57 +00:00
Tim Lin 3be68bd4fe board: it8xxx2_evb/it82xx2_evb: Fix the dts compatible field of board
The dts compatible field should be corrected to ite.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2023-06-26 12:43:19 +00:00
Ryan Erickson 7e8d94b9d7 boards: bl654_dvk: Fix compatible field
Compatible field should properly represent the manufacturer and board name.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
2023-06-26 02:59:47 -04:00
Ryan Erickson 584aa4fe1a boards: bl652_dvk: Fix compatible field
Compatible field should properly represent the manufacturer and board name.

Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
2023-06-26 02:59:47 -04:00
Iuliana Prodan 6bcc9de7de boards: xtensa: nxp: remove uart overlay
Remove uart overlay and add the node to base dts and config.
Now, it can be used for multiple samples.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-06-24 18:55:24 +02:00
Conor Paxton 05136cde61 boards: riscv: add I2C Controllers to PolarFire SoC Icicle board
Microchip's PolarFire SoC contains two identical I2C peripherals in the
microprocessor subsystem. Enable both by default.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2023-06-23 12:31:36 -04:00
Andy Sinclair e484ab2fa8 boards: shields: npm1300_ek: Specify regulator initial modes
The npm1300_ek overlay has been updated to explictly specify
the initialisation modes for the dual purpose LDO / LDSW outputs.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-06-23 15:43:00 +00:00
Francois Ramu 529f9ed0c2 boards: arm: stm32l475 disco yaml has the quadspi NOR
This commit adds the support of the quadspi to the board
definition .yaml file

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-06-23 10:51:06 +00:00
Francois Ramu a13ccdad9c boards: arm: stm32l496 disco enables the quadspi NOR
This commit enables the 64Mbit quadspi NOR (mx25r6435)
mounted on the stm32l496g_disco kit.
Use the DMA transfer for QSPI: request 7 on channel3 of DMA2.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-06-23 10:51:06 +00:00
Francois Ramu c7b82096a4 boards: arm: stm32h747i disco board enables QSPI interface
The stm32h474i_disco has a twin NOR flash made of two
MT25QL512 64MBytes quad-NOR devices.
Here, the partition is fully adressing the memory size.
The 1st NOR device is selected (U3 on the schematics).

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-06-23 10:51:06 +00:00
Andy Sinclair 198d5b889f boards: shields: npm1300_ek: Added LED support
Updated overlay to include LED support

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-06-23 08:55:13 +00:00
Daniel DeGrasse 8620efe562 boards: arm: mimxrt1040_evk: document M.2 WiFi module debugging issue
Document issue with M.2 WiFi module, where debug connection fails using
external debugger. Current workaround is to remove J80 jumper when using
onboard debugger, or remove M.2 module entirely.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-23 09:22:45 +02:00
Piotr Dymacz d25626c74b boards: arm: efr32_thunderboard: add 'zephyr,bt-c2h-uart'
Include 'zephyr,bt-c2h-uart' in 'chosen' node to make it possible to use
HCI raw mode over UART. This was tested with 'efr32bg22_brd4184b' board
running 'hci_uart' sample with Linux machine as a host (kernel 6.2).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2023-06-23 09:21:13 +02:00
Florian Grandel 897f7789b6 boards: cc1352p1_launchxl: fix antenna mux config
The antenna MUX configuration should explicitly define PULL states as
giving no value will leave the GPIO register in an unspecified state.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2023-06-23 09:20:55 +02:00
Alberto Escolar Piedras f60e4db4b3 posix boards: Refactor common interrupt definitions into common header
The IRQ definition macros are common between the in-tree
POSIX arch boards.
Let's move it to a common (optional) header.
Other POSIX arch boards may still use their own definitions.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-06-23 08:59:21 +02:00
Alberto Escolar Piedras 491f7b460f native_posix: Refactor sdl_events into common folder
The SDL logic is not native_posix specific but can
be reused between posix arch boards.
Move it to a common folder so it can be reused in practice.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-06-23 08:59:21 +02:00
Alberto Escolar Piedras ea19a424c0 posix arch: tracing: Define 3 new vprintf equivalent APIs
In some cases it is necessary to have a va_list version
of the posix tracing functions.
Provide the definitions, and their implementations
for the POSIX arch boards.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-06-23 08:59:21 +02:00
Alberto Escolar Piedras 78e1d6fa5e arch posix: Set C standard version in arch instead of boards
The issue due to which we set the default compiler C std version
to C11 is not specific to any particular POSIX arch board,
but to all. Instead of setting this property for each board,
let's set it at the architecture level.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-06-23 08:59:21 +02:00
Supper Thomas 3a13070dcc boards: arm: Fix the vendor name
Fix the vendor name from st to alientek

Signed-off-by: Supper Thomas <78900636@qq.com>
2023-06-21 09:37:32 +00:00
cyliang tw 246bd7a290 board: arm: add support for nuvoton pfm m467
add support for nuvoton pfm m467 development board

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2023-06-21 09:26:00 +00:00
Chaitanya Tata 54b8044d03 boards: thingy53: Fix missing entry for CPUNET
CPUNET uses a diffetent DTS file and the edge connector entry was
missed, this causes build issue for CPUNET.

Fixes 017ff78466("boards: thingy53: Update DTS files to support
expansion boards").

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2023-06-21 09:34:03 +02:00
Marko Sagadin 54cbf45c74 drivers: uart: add support for serial ports on native posix
Add support for communication with serial ports on native POSIX platform
via UART driver API. Serial port driver supports polling API,
configuration of the serial ports used via devicetree and command line
options, and runtime configuration with `uart_configure`.
Multiple instances of the driver are supported.
Example use and configuration is also demonstrated in the
`samples/drivers/uart/native_tty` sample.

Closes: #56586

Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
2023-06-21 09:27:22 +02:00
Daniel Leung 001795b24c boards: qemu_cortex_a53: move MAX_THREAD_BYTES to Kconfig
This moves CONFIG_MAX_THREAD_BYTES from the board's defconfig
file into the Kconfig file. This is to get rid of the cmake
warning about CONFIG_MAX_THREAD_BYTES being assigned value
but got the value ''. This is due to CONFIG_USERSPACE being
disabled, where some tests explicitly do so. This is simply
done to avoid confusion when running those tests manually.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-06-20 19:41:42 -04:00
Yonatan Schachter a75e9f5a66 boards: arm: rpi_pico: Updated doc
Updated the documentation of the rpi_pico board regarding the
use of OpenOCD.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-06-20 15:15:26 +02:00