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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Fix document title for mec172xmodular_assy6930. This is adding some
incorrect links to the board list.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
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>
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>