Commit graph

5173 commits

Author SHA1 Message Date
Francois Ramu 7806d5b28d boards: arm: stm32f723 disco kit has quadspi NOR flash
Enables the quadspi interface of the stm32f723e_disco board
to access the mx25r512 512Mbits NOR flash
Pins of the bk1 quadspi bus are connected to the external
NOR flash on the board HW.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-03-29 10:04:51 +02:00
Francois Ramu 480f5ca40b boards: arm: stm32h5 disco kit stm32h573i_dk enables peripherals
Add the Watchdog, RNG peripherals for the stm32h573i_dk
disco kit from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-03-29 10:04:39 +02:00
Fabio Baltieri cf1ee6f615 boards: arduino_giga: enable BLE support
Add BLE support to arduino_giga through the on-board Murata-1DX module.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-29 09:03:47 +02:00
Manuel Argüelles 657ed5d522 boards: arm: fvp_baser_aemv8r_aarch32: enable cache management
Build with cache management enabled by default on this board.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-03-29 09:03:37 +02:00
Francois Ramu 418ebc3784 boards: arm: stm32h573 disco kit has runner
Add the STM32CubeProgrammer as a runner for the stm32h5 serie
release 2.13.0 is required.
The OpenOCD runner is not yet available.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-03-28 15:07:51 +02:00
Francois Ramu 1f23bd7cf7 boards: arm: stm32h573i_dk new discovery kit for the stm32h5 device
Introduce the stm32h573i_dk for the stm32h573 device
from STMicrolectronics.
Set the pll at 240MHz sourced by HSE oscillator (25MHz).
Enabling a Minimum set of peripherals.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-03-28 15:07:51 +02:00
Patryk Duda 5ec4aaff5c boards: beagle_bcf: Fix undefined references to pinctrl and gpio device
This patch fixes undefined references when compiling tests/drivers/flash
for beagleconnect_freedom board using following command:

west build -b beagleconnect_freedom tests/drivers/flash

Adding CONFIG_PINCTRL fixes undefined references to
'pinctrl_lookup_state' and 'pinctrl_configure_pins'.

Adding CONFIG_GPIO fixes undefined reference to '__device_dts_ord_13'
from spi_nor and spi_cc13xx_cc26xx drivers.

Fixes #56181

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2023-03-28 09:56:56 +02:00
Alexander Mihajlovic de81c48a24 boards: stm32h747i_disco: Add pmod connector
Add pmod connector dts description.

Signed-off-by: Alexander Mihajlovic <alexander@eub.se>
2023-03-27 09:51:08 +02:00
Alexander Mihajlovic dfaa1d5682 boards: stm32h735g_disco: Add pmod connector
Add pmod connector dts description.

Signed-off-by: Alexander Mihajlovic <alexander@eub.se>
2023-03-27 09:51:08 +02:00
Fabio Baltieri adde272ab7 board: npcx: use templates for the openocd setup
The NPCX boards use the normal openocd setup with custom --cmd-load and
--cmd-verify. This can be done using the normal template instead of
calling board_set_flasher_ifnset and board_set_debugger_ifnset directly

Verified that the runner is indeed being called with the correct
arguments after this commit.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-27 09:49:48 +02:00
Daniel DeGrasse 4629b626c8 samples: drivers: adc: update board overlays for LPADC API change
Update board overlays for boards with LPADC IP present on their SOCs, to
use new LPADC API for channel numbering.

For the RT595 and LPCxpresso55S69 EVKs, additional channels are enabled
to demonstrate the resolution and differential channel features of
the LPADC.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-03-23 08:58:44 +00:00
Pieter De Gendt a47bdf3f02 boards: arm: sam4s_xplained: Enable ADC support
Enable ADC entry in device tree and pinctrl (PB0/PB1).
Update doc/yaml files to include ADC info.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2023-03-23 09:41:00 +01:00
Declan Snyder 67d851fb64 boards: mimxrt101X_evk: Add flash chosen node
RT series now uses flash chosen node, add to RT101X boards

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-03-22 21:21:16 +01:00
Nazar Palamar 8fb4a18667 boards: arm: cy8cproto-062-4343w: enable BLE features
Enable BLE features for CY8CPROTO-062-4343W board.

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-03-22 16:40:55 +01:00
TOKITA Hiroshi 08606eac44 drivers: dma: rpi_pico: add support for RaspberryPi Pico DMA
Adding RaspberryPi Pico DMA driver.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
2023-03-22 09:33:52 +01:00
Gerson Fernando Budke 6951160dd2 drivers: afec: sam: Enable sam4e SoCs
Add support to Atmel SAM SAM4E AFEC feature.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-03-21 14:12:25 -07:00
Gerson Fernando Budke dc45d7a922 drivers: sensors: qdec_sam: Update to use clock control
This update Atmel SAM QDEC driver to use clock control driver.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-03-21 14:12:25 -07:00
Gerson Fernando Budke 9f0255131a drivers: pwm: sam: Enable sam3x and sam4e SoCs
Add support to Atmel SAM SAM3X and SAM4E PWM feature.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-03-21 14:12:25 -07:00
Jason Kridner a57810dc3b boards: arm: add BeagleConnect Freedom
Add support for BeagleConnect Freedom, a TI CC1352P7 based development
board with enclosure and antenna featuring BLE and SubGHz wireless, 2x
mikroBUS sockets, external flash, light, temperature/humidity sensors,
USB-to-UART bridge, buzzer and battery charger.

See https://beagleconnect.org for details.

Previous closed pull requests:
* https://github.com/zephyrproject-rtos/zephyr/pull/38718
* https://github.com/zephyrproject-rtos/zephyr/pull/36703

Cc: Chris Friedt <chris@friedt.co>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Vaishnav Achath <vaishnav@beagleboard.org>
Signed-off-by: Erik Larson <erik@statropy.com>
Signed-off-by: Yadnik Bendale <yadnik22@gmail.com>
Signed-off-by: Baozhu Zuo <zuobaozhu@gmail.com>
2023-03-21 16:03:43 -04:00
Benjamin Björnsson 9e209c8cce boards: arm: nucleo_c031c6: add pwm-led
Add PWM LED node and update documentation.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2023-03-21 09:38:25 +01:00
Krzysztof Chruscinski a7a051801b boards: arm: nordic: Cleanup timers setup
All boards were enabling timer0-2 instances. Git history shows
that it is the result of copy-pasting. It is redundant thus removing.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2023-03-20 16:59:40 +01:00
Emilio Benavente 89ef7614f3 boards: arm: mimxrt1024_evk: Added FlexPWM Docs
Documented the FlexPWM pins for the mimxrt1024_evk

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2023-03-20 16:12:56 +01:00
Emilio Benavente 4235028ab3 boards: arm: mimxrt1024_evk: Added flexpwm pinctrl
Added pinctrl for FlexPWM on the mimxrt1024
Since there is a possible collision with
the ADC driver I have added the devicetree
pixmux example in an overlay file to still
demonstrate how to structure the pwm.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2023-03-20 16:12:56 +01:00
Benjamin Björnsson 991af08e22 boards: arm: nucleo_c031c6: Enable independent watchdog
Enable independent watchdog and update documentation
to include support for independent watchdog and window
watchdog.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2023-03-20 10:19:29 +00:00
Ben Marsh 20dce8c6a8 boards: arm: stm32h735g_disco: Add counter support
Add counter to the supported features of the stm32h735g_disco board

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2023-03-20 09:53:59 +01:00
Benjamin Björnsson 739651b545 boards: arm: nucleo_c031c6: Enable rtc
Enable rtc and update documentation to include counter
support.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2023-03-20 09:53:49 +01:00
Joel Guittet ec6122cd98 wio terminal: add grove headers
Add Grove headers to the Wio Terminal board.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2023-03-19 17:28:05 -04:00
Jamie McCrae e534da007d samples/tests: Add empty prj.conf files
Adds empty prj.conf files as this file is required to configure
a build.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-17 11:49:27 +01:00
Scott Chao 91ea8fa911 samples: blinky_pwm: Add stm32f072b_disco support
This will enable the use of stm23f072b_disco on this sample.
- Set pwm3 as tim3_ch1_pc6 since red led is using PC6/ TIM3_CH1.

Signed-off-by: Scott Chao <scott_chao@wistron.com>
2023-03-17 11:48:52 +01:00
Joel Guittet 0eb7391a63 wio terminal: add raspberrypi gpio header
Add Raspberry Pi header to the Wio Terminal board.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2023-03-15 20:43:07 -04:00
Emilio Benavente c8c859c2cd boards: arm: mimxrt595_evk: Documents SCT pins
Added to the Docs for the mimxrt595_evk
for the added sc_timer pins.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2023-03-15 22:41:06 +00:00
Emilio Benavente e72cdcd4f9 boards: arm: mimxrt595_evk: Added Pinctrl
Adding Pinctrl for SC Timer Support.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2023-03-15 22:41:06 +00:00
Benjamin Björnsson 86e51f69af boards: arm: nucleo_c031c6: Add initial support
Add initial support of the Nucleo C031C6 board.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
2023-03-14 17:35:37 +00:00
Marc Desvaux 08720b0d2a dts: arm: st: nodes moved from <boards>.dts to <soc>.dtsi
stm32l5x/u5x/g4x/l4x/g0x/wlx/wbx power-states node moved
from <boards>.dts to <soc>.dtsi

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-03-14 10:50:09 +01:00
Gerard Marull-Paretas 20d34bdb6e boards: arm: nrf5340_audio_dk_nrf5340: add codec iface gpio hogs
The nRF5340 Audio DK provides a multiplexer circuit that allows to
interface the audio codec by an external master. Use GPIO hogs to
initialize the multiplexers correctly.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-03-13 11:45:53 +01:00
Gerard Marull-Paretas c1a1108ae2 boards: arm: nrf5340_audio_dk_nrf5340: add board id description
nRF5340 Audio DK embeds a voltage divider to identify the "board ID".
Use the existing 'voltage-divider' binding to describe it. Also
configure the ADC channel 0 to read the voltage divider value.
Configuration from
https://github.com/nrfconnect/sdk-nrf/blob/main/applications/
nrf5340_audio/src/utils/board_version.c
has been taken.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-03-13 11:45:53 +01:00
Gerard Marull-Paretas 65512e9445 boards: arm: nrf5340_audio_dk_nrf5340: add bindings for audio codec
The board embeds an audio codec IC, Cirrus CS42L73. While there is no
in-tree driver for it, we need a binding to describe how it is wired in
the board, e.g. for IRQ/RESET lines.

Following Linux binding for the same IC, create one in
dts/bindings/sound. Note that Linux binding is less complete/outdated.

Ref. https://statics.cirrus.com/pubs/proDatasheet/CS47L63_DS1249F2.pdf

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-03-13 11:45:53 +01:00
Kristoffer Rist Skøien ee2c367892 boards: nrf5340_audio_dk: Arduino and mcuboot added
Added definitions for Arduino headers and MCUboot button and LED.

Signed-off-by: Kristoffer Rist Skøien <kristoffer.skoien@nordicsemi.no>
2023-03-11 19:44:52 +01:00
Henrik Brix Andersen 13f9fd2016 boards: arm: lpcxpresso55s36: document the CAN IOs used
List the IOs used for the CAN RXD/TXD lines in the board documentation.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-03-10 12:59:02 -06:00
Henrik Brix Andersen 0d7097292b boards: arm: lpcxpresso55s36: add CAN transceiver
The NXP LPCXpresso55S36 Development Board is equipped with a NXP TJA1044GT
CAN transceiver with a maximum bitrate of 5Mbit/s.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-03-10 12:59:02 -06:00
Henrik Brix Andersen d6a83d32b4 boards: arm: lpcxpresso55s36: fix devicetree status spelling
Change the can0 devicetree node status from "ok" to "okay" to match
recommendations.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-03-10 12:59:02 -06:00
Henrik Brix Andersen 0368642d54 boards: arm: lpcxpress55s36: list CAN as a supported feature
List CAN as a supported feature for the NXP LPCXpresso 55S36 Development
Board.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-03-10 12:59:02 -06:00
Joel Guittet 63e9e37fc3 boards: Add support for Wio Terminal
Add support for the Wio Terminal board, including support of its
sensors, MicroSD and LCD. Tested with samples already available.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2023-03-09 15:18:25 -06:00
Marek Pieta 2d97b86b5c boards: thingy53_nrf5340: Add missing DTS nodelabels for sensors
Change adds missing DTS nodelabels for bh1749 and bme688 sensors.
This is done to simplify referring to the sensors in application.

Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
2023-03-09 17:22:17 +01:00
Carsten Thuesen a2116cde81 boards: nucleo_f031k6: update CONFIG_ISR_STACK_SIZE
The current setting of `CONFIG_ISR_STACK_SIZE=256` in the
`nucleo_f031k6_defconfig` for the `nucleo_f031k6` creates a stack
overflow in the `ISR0` thread. The stack is simply too small.

This can be verified by increasing `CONFIG_ISR_STACK_SIZE=512` and
then build some of the sample applications (fx. `samples/basic/blinky`
and `samples/helloworld`).

As part of the study the `THREAD_ANALYZER` was enabled, to get some
insigt to what a proper new stack size for `ISR0` should be. The used
config is shown below.

```
CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_ANALYZER_USE_PRINTK=y
CONFIG_THREAD_ANALYZER_AUTO=y
CONFIG_THREAD_ANALYZER_AUTO_INTERVAL=5
CONFIG_THREAD_ANALYZER_AUTO_STACK_SIZE=540
CONFIG_THREAD_NAME=y
CONFIG_THREAD_RUNTIME_STATS=y
```

During the tests the following results were recorded for the
`samples/basic/blinky` and `samples/helloworld`. As seen the `ISR0`
stack usage is 80% for the two use cases, which leaves a little
headroom for other samples and applications.

**samples/basic/blinky**:

```
Thread analyze:
 thread_analyzer     : STACK: unused 96 usage 504 / 600 (84 %); CPU: 0 %
      : Total CPU cycles used: 12472939
 idle                : STACK: unused 104 usage 48 / 152 (31 %); CPU: 99 %
      : Total CPU cycles used: 1679934713
 main                : STACK: unused 284 usage 228 / 512 (44 %); CPU: 0 %
      : Total CPU cycles used: 274737
 ISR0                : STACK: unused 100 usage 412 / 512 (80 %)
```

**samples/helloworld**:

```
Thread analyze:
 thread_analyzer     : STACK: unused 40 usage 504 / 544 (92 %); CPU: 0 %
      : Total CPU cycles used: 2634078
 idle                : STACK: unused 104 usage 48 / 152 (31 %); CPU: 99 %
      : Total CPU cycles used: 480004798
 ISR0                : STACK: unused 100 usage 412 / 512 (80 %)
```

As part of the test it was also checked if the stack usage of `ISR0`
could be lowered by setting `CONFIG_UART_INTERRUPT_DRIVEN=n` in the
`nucleo_f031k6_defconfig`. This didn't seem to have any effect on the
`ISR0` stack utilization.

Signed-off-by: Carsten Thuesen <cvt@thucon.dk>
2023-03-09 09:21:28 +01:00
Bartlomiej Fijal ab410807bc dts: arm: st: h7: nucleo_stm32h723zg: add red_led
Add red led to the dts file for the nucleo_stm32h723zg.

Signed-off-by: Bartlomiej Fijal <StaryAnoda@Gmail.com>
2023-03-08 11:08:09 +01:00
Fabio Baltieri 6deee01b4e doc: mec172xmodular_assy6930: fix doc title
Fix document title for mec172xmodular_assy6930. This is adding some
incorrect links to the board list.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-03-08 07:39:35 +02:00
Guillaume Gautier 0dc9d4fafc boards: arm: nucleo_f042k6: add support for nucleo_f042k6
Add support for Nucleo F042K6

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-03-07 15:49:30 +01:00
Maureen Helm 3126556199 boards: arm: Configure sensor devicetree aliases on tdk_robokit1
Configures magnetometer, accelerometer, and die temperature devicetree
aliases on the tdk_robokit1 board to enable generic sensor sample
applications (magn_polling, accel_polling, die_temp_polling) on this
board.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2023-03-07 08:33:23 +01:00
João Dullius 79d9f45296 scripts: runners: bossac: Enable BOSSAC to run on Windows (native)
Fixes #37538 by correctly detecting WSL and blocking bossac from running
on that platform, but allowing it to run on Windows native.

Signed-off-by: João Dullius <joaodullius@bpmrep.com.br>
2023-03-06 13:17:09 -08:00