Commit graph

5782 commits

Author SHA1 Message Date
Carles Cufi e83a13aabf kconfig: Rename the TEST_EXTRA stack size option to align with the rest
All stack sizes should end with STACK_SIZE.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-02-22 08:23:05 -05:00
Carles Cufi 4b8f1c04ab kconfig: Rename the ZTEST stack size option to align with the rest
All stack sizes should end with STACK_SIZE.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-02-22 08:23:05 -05:00
Jan Zyczkowski c7295aa6a6 board: thingy53_nrf5340: Add option to set PMIC to PWM mode
Add dts node for thingy53 board to forcibly set
PMIC to PWM mode by setting GPIO pin high.

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
2022-02-22 10:20:58 +01:00
Carlo Caione 18ffcdcf74 linker: Introduce zephyr,memory-region compatible
Introduce a new "zephyr,memory-region" compatible to be used when a new
memory region must be created in the linker script from the devicetree
nodes using the compatible.

Remove also the LINKER_DT_REGION_FROM_NODE macro and add a new
LINKER_DT_REGIONS macro to cycle through all the compatible regions.

In the same PR modify the DTS files and the linker scripts.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-02-21 22:02:04 -05:00
Marc Herbert 39b69f8d75 boards: xtensa: fix cAVS name: connected -> converged
cAVS is defined as "converged Audio, Voice and Speech" by the cAVS
team itself.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2022-02-21 21:58:34 -05:00
Evgeniy Paltsev bb139c1309 ARC: nSIM: fix missing core numbers for mdb-hw runner args
We don't set core numbers for mdb-hw runner for nSIM
board, so it defaults to 1, so mdb-hw runner doesn't work with
SMP boards.

Fix that.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2022-02-21 21:57:00 -05:00
Jun Lin 25e39625a4 board: npcx_evb: add the status of vsby-psl-in-list to okay
This commit add status = "okay" to vsby-psl-in-list node for npcx_evb.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2022-02-21 21:55:54 -05:00
Jose Alberto Meza 994f08bd54 boards: arm: mec172xevb_assy6906: Reduce SPI image size
Reduce SPI size to maximum FLASH ram size supported
This also speed up flashing process.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2022-02-21 21:54:19 -05:00
Tom Burdick 1e9ada4eb9 dma: cavs: Add gpdma derivative of dw dma for cavs
Intel's adsp needs to set, at a minimum, a clocking bit before the driver
can initialize the designware dma controller. In many ways it is the
designware dmac IP but with additional registers and functionality added
on top of it. So the code structure here follows how the hardware
appears to be designed, layered on top of the designware driver.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-02-21 20:59:08 -05:00
Katsuhiro Suzuki feaf0070fc boards: riscv: hifive_unleashed: add GPIO support
This patch adds GPIO and 96board LS (Low Speed)iexpansion  connector
support for SiFive HiFive Unleashed and also enables GPIO basic test.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2022-02-21 20:46:47 -05:00
Benjamin Björnsson 4e39cf8a65 boards: arm: arduino_nano_33_ble: Add green and blue leds to the dts
This adds the green and blue leds to the dts of the
Arduino Nano 33 BLE board.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2022-02-21 20:45:25 -05:00
Ruibin Chang 5f3bba54e8 ITE drivers/pwm: support tests/drivers/pwm/pwm_api
Add pwm-0 to support tests/drivers/pwm/pwm_api.

Solve tests code runtime error on it8xxx2_evb:
1.If the pwm channel target frequency is < 1, then we will
  return an error code.

2.If the target_freq is <= 324Hz, we will configure that this pwm
  channel need to output in EC power saving mode.
  In test_pwm_cycle() case, the period is 64000, then the
  target_freq is 8000000 / 64000 = 125Hz and <= 324Hz, so we will
  switch the prescaler clock source from 8MHz to 32.768kHz.
  Then the target_freq is 32768 / 64000 = 0.512Hz and < 1Hz,
  this will return an error code. In order to get the same
  target_freq, we always return PWM_FREQ in
  pwm_it8xxx2_get_cycles_per_sec().

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2022-02-21 20:44:41 -05:00
Jay Vasanth f6394e0d54 Microchip: MEC172x: kscan driver
Update keyscan driver to support MEC172x device

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-02-21 20:44:17 -05:00
Henrik Brix Andersen 87f8b090ab shields: mcp2515: add support for Keyestudio CAN-BUS shield
Add support for the Keyestudio CAN-BUS shield (KS0411). This shield is
very similar to the DFRobot CAN-BUS shield v2.0.

Rename the MCP2515 devicetree nodes in order not to conflict with
on-chip CAN controllers and switch to specifying the sample point
instead of time quantas.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-02-21 20:41:00 -05:00
Perry Hung ad28a79915 boards: sam_v71_xult: add support for CAN-FD
CAN1 is connected to an onboard ATA6561 transceiver on the SAM V71
Xplained Ultra board. This changeset adds the required DTS plumbing.

Tested with:
  - samples/drivers/can

Signed-off-by: Perry Hung <perry@genrad.io>
2022-02-21 20:40:42 -05:00
BJ Chen 59cd9fd551 ITE: drivers/peci: Add PECI driver module of ITE IT8xxx2
Added the PECI driver tested with the samples/drivers/peci.

Signed-off-by: BJ Chen <bj.chen@ite.com.tw>
2022-02-21 19:43:40 -05:00
Andrei-Edward Popa 681a57cd47 dts: arm: rpi_pico: added I2C support for Raspberry Pi Pico board
added I2C device tree nodes
based on I2C designware chip

Signed-off-by: Andrei-Edward Popa <andrei_edward.popa@upb.ro>
2022-02-21 19:42:07 -05:00
Yuriy Vynnychek dfd82a025c boards: riscv: tlsr9518adk80d: doc: improved Build and Flash info
Updated Build and Flash chapters with new information.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-02-21 19:41:44 -05:00
Yuriy Vynnychek 851599080d boards: riscv: tlsr9518adk80d: doc: improved Build and Flash info
Updated Build and Flash chapters with new information.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-02-21 19:41:44 -05:00
Sylvio Alves 6ba6894580 drivers: wdt: esp32: code refactor to use hal calls
Update WDT driver to use hal calls, which
brings proper unification among socs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-02-21 19:40:17 -05:00
Gerard Marull-Paretas 736a62b4d3 boards: arm: bl654_usb: move Kconfig definition to Kconfig
A Kconfig option was defined in the Kconfig.defconfig file. Move it to
the board Kconfig file since definitions are not allowed in defconfig
files, just change default values.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-21 19:35:21 -05:00
Gerard Marull-Paretas aa69fe5ec9 boards: arm: qemu_cortex_m0: move Kconfig definition to Kconfig
A board-level Kconfig option was defined in the Kconfig.defconfig file.
Move it to a board-level Kconfig file.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-21 19:35:21 -05:00
Gerard Marull-Paretas a9f7891c14 boards: riscv: rv32m1_vega: remove redundant Kconfig comment
The defconfig files are just used to change defaults, not to define any
new Kconfig nodes.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-21 19:35:21 -05:00
Gerard Marull-Paretas 300fda03c2 soc: arm64: xenvm: move Kconfig option to soc
The XEN_INITIAL_DOMAIN option was defined at board level, however, some
drivers such as the XEN serial driver has dependencies on
XEN_INITIAL_DOMAIN, meaning any new board has to define its own copy of
XEN_INITIAL_DOMAIN. Move the option to SoC Kconfig.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-21 19:35:21 -05:00
Gerard Marull-Paretas 684089b6b9 boards: shields: ls0xx_generic: remove redefined Kconfig prompts
Kconfig entries used for changing an option default value should not
re-define the option prompt. We should probably introduce a check for
that (any option has a single prompt and help).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-21 19:35:21 -05:00
Maureen Helm 63712fb024 boards: xtensa: Add XCC to list of toolchains for intel_adsp boards
This eliminates the need to use the "--force-toolchain" flag when
running twister with the XCC toolchain on intel_adsp.* boards.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-02-14 09:30:30 -05:00
Xabier Marquiegui 28ee0683b5 boards: mimxrt: enable pps output
Enable pps output for mimxrt1050 and mimxrt1060 based boards for gptp
sample application validation.

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
Co-authored-by: Seb Laveze <sebastien.laveze@nxp.com>
Signed-off-by: Xabier Marquiegui <xmarquiegui@ainguraiiot.com>
2022-02-11 10:03:05 -06:00
Maureen Helm bd6df93204 boards: xtensa: Align testcase tags for intel_adsp boards
Aligns intel_adsp boards to be consistent about which testcase tags to
ignore or apply. This reduces the number of tests for intel_adsp_cavs15
because we now ignore networking and Bluetooth tests.  It increases the
number of tests for intel_adsp_cavs20 because we're no longer limited to
only kernel and sof tests.

intel_adsp_cavs18 and intel_adsp_cavs25 already had these tags and don't
need to be modified.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-02-08 07:26:45 -05:00
Johann Fischer 9e4968bb90 boards: bl654_usb: use CDC ACM UART as serial backend
This patch adds new board specific Kconfig option
BL654_USB_SERIAL_BACKEND_CDCACM, which is enabled by
default except USB_DEVICE_BLUETOOTH class is used.
Applications that depend on usb_enable() or do not
require composite configuration cannot be used
with BL654 USB board without user intervention.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-02-07 13:06:35 +01:00
Andrei-Edward Popa 817e4066dd boards: arm: rpi_pico: added UART interrupt driven config
enabled UART interrupt driven

Signed-off-by: Andrei-Edward Popa <andrei_edward.popa@upb.ro>
2022-02-05 06:18:44 -05:00
Andrei-Edward Popa 044594e14a boards: arm: rpi_pico: added zephyr shell
added zephyr shell to be used on uart0 instance

Signed-off-by: Andrei-Edward Popa <andrei_edward.popa@upb.ro>
2022-02-05 06:18:44 -05:00
Daniel DeGrasse ed5e06420e boards: mimxrt1170_evk_cm7: Reduce DAT3 power toggle delay
dat3 power toggle delay was unreasonably long. Reduce it to a more
reasonable amount of system clock cycles.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-02-02 16:59:30 +01:00
Daniel DeGrasse 2355fe86da boards: teensy41: Enable DAT3 pull detection for USDHC
teensy41 has no chip detect signal for SD slot. Use DAT3 pull card
detection. Remove software defined chip detect IOMUXC selection that was
used as a dummy pin.

Fixes #42227

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-02-02 16:59:30 +01:00
Yonatan Schachter efa170f480 soc: rp2040: Added UF2 output file support
Added support for the UF2 file format for the RP2040 SoC

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-02-02 16:23:35 +01:00
Yonatan Schachter 3266e82055 boards: Added support for the Raspberry Pi Pico board
Added support for Raspberry Pi's Pico board, using
the RP2040 SoC.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-02-02 16:23:35 +01:00
Gerard Marull-Paretas 1b1b61f8cf boards: cc26x2r1_launchxl: remove unnecessary openocd workaround
The workaround doesn't seem to be necessary when using latest XDS110
firmware (3.0.0.13).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-01 16:14:19 -05:00
Gerard Marull-Paretas 0d30c4f4f2 boards: cc1352r1_launchxl: remove unnecessary openocd workaround
The workaround doesn't seem to be necessary when using latest XDS110
firmware (3.0.0.13).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-02-01 16:14:19 -05:00
Joakim Andersson e4260ac03f boards: nrf53: Fix board pin MCU selection with TF-M enabled
Fix board pin MCU selection not working with TF-M enabled.
This fixed no log output from the network core when TF-M is enabled.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2022-02-01 11:31:36 +01:00
Erwan Gouriou ad12eef3f6 boards: nucleo_wl55jc: Fix openocd configuration
'connect_assert_srst' is preventing openocd to
connect to the board in debug mode.

To enable debug, fix openocd configuration to propose
two configurations:
- Debug compatible (default)
- Sleep mode compatible (commented)

Sleep mode compatible configuration should be used
when flashing over board's stock firmware.
A note has been added in board documentation to detail
this.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-01-31 14:37:11 -06:00
Gerard Marull-Paretas 3a38359f12 boards: xtensa: intel_s1000_crb: enable gpio0
gpio0 is used by the tlv320dac310x reset-gpios, however, it was not
enabled. In general, UART and GPIO are enabled by default as they fall
into the category of minimal peripherals. An alternative solution would
be to add an overlay to the sample.

The intel_s1000_crb board sample was actually broken, however, it got
unnoticed because it uses device_get_binding(), meaning the error would
show up at runtime.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-01-31 15:25:42 -05:00
TOKITA Hiroshi 45995212ab boards: riscv: longan_nano: Add BOARD definition
Define missing definition BOARD_LONGAN_NANO to defconfig.
And cleaning up some verbose comments.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2022-01-31 14:23:45 -06:00
Enjia Mai b374dc6a7f boards: intel_adsp_cavs18: add test coverage
Increase the test coverage for intel_adsp_cavs18. To keep its
test coverage as the same as cavs15 and cavs25.

Currently only one test sutite failed , See #42157.
with #42158 expend the time of ringbuffer testing, it can reach
100% pass rate.

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-01-29 05:21:04 -05:00
Sylvio Alves f1e26219d0 soc: esp32c3: prepare kconfigs and cmake to support mcuboot
This modifies esp32c3 SOC configuration to support MCUBoot.

CmakeLists is moved from board to soc specific. It also
includes MCUBoot changes.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-01-22 16:55:00 -05:00
Sylvio Alves 8ee785c54e boards: esp32c3_devkitm: update device tree to add new partitions
This adds mcuboot slot0, slot1 and scratch partition

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-01-22 16:55:00 -05:00
Andy Ross cd5302fa00 boards/intel_adsp_cavs15: Remove ancient tooling
There were several generations of loader/logger tooling in this
directory, several of which no longer work.  They have all been
replaced by just one pythong script in the soc directory.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-01-21 14:48:36 -05:00
Tom Burdick b5d9c047d3 boards/intel_adsp_cavs25: Improve test coverage
Remove the only_tags filter for the board and add ignore_tags for net
and bt.

Adds a filter to a userspace sample that didn't correctly filter on
usermode being Kconfiged.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-01-21 14:36:49 -05:00
Julien Massot ff930df4b1 boards: arm: rcar_h3ulcb: do not set default options
Just enable minimal options to run hello_world and
blinky sample.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
2022-01-21 14:25:25 -05:00
Erwan Gouriou 5edd510c1b boards: h747/h745: Update dual core flash and debug instructions
Review flashing and debugging instructions on these dual core boards.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-01-21 13:18:22 -05:00
Sylvio Alves e745962b8f dts: esp32: clean up unused pin defintions
This removes a few uart pins currently no necessary
for this board.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-01-21 13:16:55 -05:00
Hake Huang 230c6d511c document: board: mimxrt1170_evk add SAI support
add information for SAI module

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2022-01-21 11:26:45 -06:00