Commit graph

1069 commits

Author SHA1 Message Date
Dat Nguyen Duy b92ad4b56a boards: mr_canhubk3: enable NXP S32 EMIOS PWM
In this board, there are eight PWM channels from
EMIOS 0 CH0 --> EMIOS 0 CH7 that can be used to
generate PWM pulse to outside of the board.

Moreover, there are three RGB leds that can use
PWM pins for blinking, faded leds

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2023-09-06 11:44:00 +02:00
Fabio Baltieri eee426742b manifest: update loramac-node
Update loramac-node to include one more shadow variable fix.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-09-06 11:32:19 +02:00
Joakim Andersson aa608d016d manifest: Update TF-M with shared boot data fix
Update TF-M version with fix for build with shared boot data enabled,
i.e. CONFIG_TFM_MCUBOOT_DATA_SHARING=y.

Regression from: 485fa940aa

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-09-06 09:33:24 +02:00
Francois Ramu 6bf26a1590 west.yml: update modules/hal/st with new sensor/vl53l1x version
Update the ../modules/hal/st/sensor/vl53l1x to version 2.4.5

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-09-05 10:13:23 -05:00
Alberto Escolar Piedras 0c55710040 nrf52_bsim: Update HW models to latest and align with them
* In Zephyr: The HW models now include N interrupt controllers
The interrupt handling code needs to target one controller
specifically.

* Update the HW models module to
  57b61a9a2da75c860f15ca79522b24d57992df2c

  Including the following:
  * 57b61a9 INT CNTRL: Generalize to N controllers
  * 1ea8194 nrf_bsim_redef.h: Add first definitions for nrf5340
  * 5f81ee9 irq_ctrl: Lower a bit HW event priority
  * 0986acc RNG: Add nrf53 variant in model
  * 09345da RNG: Generate level interrupts instead of pulse ones
  * f9b7c7a DPPI: Add first version
  * 62dabd3 HW models: Initial peripheral adaptation for multi-int_cntr
  * f54b59d HW models: Adding initial nrf5340 structure
  * fb1edd9 HW models: Use HW types definitions only where neded
  * 2744f4c Add basic support for variants
  * a5f79cd nrf_bsim_redef.h: Remove unnecessary redefinitions
  * 2c781dd HW_models: Improve includes
  * bdb0a08 minor: Remove non-ASCII characters from source
  * b5e95bd RADIO: Corrected note about MAXLEN and CRCINC behaviour

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-04 13:18:01 +02:00
Sreeram Tatapudi 09a07e42c0 drivers: cat1: Updates to support latest version of HAL/PDL
- Refactoring to support latest versions of HAL/PDL

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2023-09-01 09:52:25 +02:00
Fabio Baltieri 46fcaa388a manifest: update loramac-node
Update loramac-node to point back to the zephyr branch and include a
shadow variable fix.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-31 20:19:48 +02:00
Daniel DeGrasse d411a02c4f dts: arm: nxp: rt11xx: update snvs pin names to align with new pin data
Update SNVS pin names in RT11xx DTSI files to align with new pin data
generated for the RT1176 and RT1166 processors. This pin data is stored
within the NXP HAL, so the SHA of the HAL is also updated by this
commit.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-08-31 11:37:44 -05:00
Dong Wang 1bfd5a9ecc manifest: hal_intel: update to latest
- fix i2c hang issue
- switch hpet/i2c/uart/gpio to use osxml generated header files for
  IP registers
- spi dma support

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2023-08-30 15:18:30 +02:00
Dominik Ermel 5b1df1936c west.yaml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  11ecbf639d826c084973beed709a63d51d9b684e

Brings following Zephyr relevant changes and fixes:
 - 11ecbf63 zephyr: use cmsis_core.h header
 - da65db00 zephyr: Provide slot definitions for three images
 - 2c61caf6 bootutil: Move flash_area_id_to_image under ifdef
 - 904d0c46 bootutil: Add DirectXIP version of boot_set_next
 - 2a874b6e zephyr: Do not build in debug mode
 - 258a6c7d bootutil: Fix support for more than 2 flash areas

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-08-29 10:25:14 +02:00
Daniel Leung 84b27d7cd5 manifest: update Xtensa HAL
The Xtensa HAL has been updated with the following changes:
* Removed intel_s1000 overlay files as it is no longer needed.
* Fix uninitialized variable warning in xthal_v2p()
* Add config and overlay files for dc233c core so we can use
  QEMU with this core to test MMU code.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-26 16:50:40 -04:00
Mateusz Sierszulski 2b74109f20 drivers: spi: Add Ambiq SPI driver
This commits adds SPI master driver for Apollo4 SoCs.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-08-25 10:31:58 +02:00
Alberto Escolar Piedras 3a4bebacb1 nrf52_bsim: Convert to use the native simulator
Convert the nrf52_bsim board, to use the native simulator
as its engine.
This means some of the functionality the board included
before is now handled by the native simulator, including
the overall program main and CPU/HW scheduling.

Note that this board remains separate from the native_sim
board, even if both use the native simulator.

Also update the nRF HW models component to a new version
which has been converted into an extension for the
native simulator.

After this change, it becames also possible to build
the nrf52_bsim with an embedded C library, and to
use with it the Zephyr POSIX API shim.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-08-24 15:40:00 +02:00
Gerard Marull-Paretas 9c961571a2 modules: cmsis: move glue code to modules/cmsis
The CMSIS module glue code was part of arch/ directory. Move it to
modules/cmsis, and provide a single entry point for it: cmsis_core.h.
This entry header will include the right CMSIS header (M or A/R).

To make this change possible, CMSIS module Kconfig/CMake are declared as
external, allowing us to add a new Zephyr include directory.

All files including CMSIS have been updated.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-08-24 13:20:21 +02:00
Alberto Escolar Piedras dac864bba3 manifest: Update nRF HW models to latest
The nRF HW models have been updated to include the following
fixes and improvements:
* RADIO: Handle MAXLEN and other related improvements
* PPI: Added 2 notes about status and shortcommings

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-08-22 20:14:33 +02:00
Armando Visconti e1ca18e757 modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.3
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v2.3

Requires https://github.com/zephyrproject-rtos/hal_st/pull/16

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2023-08-22 18:12:27 +02:00
Eric Holmberg 526ff047cc soc: xtensa: espressif_esp32: add SPIRAM heap offset and size
The existing heap starts at the beginning of SPIRAM which is also occupied
by the WiFi stack if CONFIG_ESP32_WIFI_NET_ALLOC_SPIRAM is enabled.  This
results in memory corruption.

Update the linker description to add a _spiram_heap_start symbol and add a
KConfig size option to allow the SPIRAM stack to be correctly located and
sized.  Requires matching commit in hal_espressif.

Fixes: 61359

Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
2023-08-22 14:44:16 +02:00
Jerzy Kasenberg f9329ed2ff manifest: hal_renesas: RC32K trim during calibration
This incorporates changes in hal_renesas that use trimming
during RC32K calibration.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2023-08-22 12:16:16 +02:00
Andrzej Kuros 69ae6cee26 manifest: hal_nordic: update 802.15.4 Radio Driver
This commit brings in hal_nordic with nRF 802.15.4 Radio Driver.

Signed-off-by: Andrzej Kuroś <andrzej.kuros@nordicsemi.no>
2023-08-20 19:31:21 +02:00
Leifu Zhao d0bfc2544d soc: ish: add pm service support for ish
This enables the power management for Intel ISH. It supports D0i1,
D0i2, D0i3 power saving modes for ISH.

Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
2023-08-18 12:24:31 +01:00
Yves Vandervennet 9ec936a2ea hal: nxp: manifest update to reflect a change in the NXP HAL
The change is to update the location of the NXP HAL license file (BSD-3)
to the root of the NXP HAL repo.

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2023-08-17 13:26:47 -05:00
Mateusz Sierszulski 47d0e79444 drivers: i2c: Add Ambiq I2C driver
This commit adds I2C master driver for Apollo4 SoCs.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-08-17 15:15:45 +02:00
Mateusz Sierszulski 171285140c drivers: watchdog: Add Ambiq wdt driver
This commits add watchdog driver for Apollo4 SoCs

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
2023-08-16 13:03:33 +02:00
Fabian Blatz 2e2163c1bc modules: lvgl: Move gluecode back to zephyr main repo
Moves back the module specific gluecode into the main repository

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-08-16 10:57:12 +02:00
Manuel Argüelles acbdf1f53c modules: rename S32 to NXP_S32
Rename module from `S32` to `NXP_S32` to avoid ambiguity.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-08-16 10:21:26 +02:00
Gerard Marull-Paretas 3118a8c05c soc: riscv|xtensa: esp32: add support for sys_poweroff
Implement the sys_poweroff hook for all ESP32 SoCs based on the previous
SOFT_OFF implementation.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2023-08-15 10:15:38 -07:00
Alberto Escolar Piedras b42331476d manifest: Update nRF HW models to latest
The nRF HW models have been updated to include the following
fixes and improvements:
* TIMER: Fix bogus events/interrupts if shorts where used
* PPI: Handle well an event triggering a task twice

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-08-14 13:37:47 +00:00
David Brown 3b3e28aeda manifest: Upgrade to trusted-firmware-m 1.8.0
Update trusted-firmware-m to 1.8.0, mbedtls to 3.4.0, and tf-m-tests to
1.8.0.  Includes minor cmake changes due to file renames and such, as well
as adjusting the return type of a callback function that has changed since
the previous version of trusted-firmware-m.

Signed-off-by: David Brown <david.brown@linaro.org>
2023-08-10 08:11:59 +00:00
Anas Nashif 498f294b27 west: update sof ref in manifest
Sync with upstream and set ee40f61b5
in west manifest.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-08-09 16:08:33 +00:00
Jamie McCrae 485fa940aa west.yaml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  fc658eb5a22b7b1721c3b7d0853a7115fae08939

Brings following Zephyr relevant fixes:
 - c9fa608 boot: boot_serial: Fix issue with encrypted second slot
           images
 - 25d2f2c zephyr: encryption: Improve Kconfig and key generation
 - 99613c6 bootutil: fix downgrade prevention
 - 5b1d511 boot: bootutil: Add optional boot info shared data
           saving
 - ea88860 bootutil: Add bootloader info TLV entries
 - 3016d00 bootutil: Add active slot number and max app size to
           shared data
 - 0540d0f bootutil: Fix for flash_area_id_to_image
 - f17b005 bootutil: Fix boot_set_next passing wrong image number
 - fefc398 fix: update zephyr CONFIG_BOOTLOADER_MCUBOOT
 - 61898da boot: boot_serial: Add updated SMP header
 - 36ae4fd boot: zephyr: split esp32 to
           esp32_devkitc_{wroom,wrover}
 - 2c86755 boot: zephyr: Fix indication LED not selecting GPIO

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-08-09 13:48:25 +00:00
Markus Fuchs 27af62603c drivers: counter: gecko: Add SYSRTC stimer support
SiLabs' sleeptimer driver supports several hardware peripherals, of
which the counter driver so far only supports the RTCC-based variant.

This patch adds support for the SYSRTC-based sleeptimer implementation,
which is required for Gecko SoCs that do not have an RTCC module.

Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
2023-08-09 08:24:52 +00:00
Maciej Sobkowski 9bc3ee67be drivers: counter: Add Ambiq counter driver
This commit adds Ambiq counter driver for Apollo4p SoCs.

Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
Signed-off-by: Maciej Sobkowski <msobkowski@antmicro.com>
2023-08-07 16:12:58 +02:00
Florian Grandel 6262304125 tracing: segger-sysview: conf include fix
The Zephyr-specific Segger SystemView configuration was not used as
the same file was available inside the external Segger module with
higher import priority.

Fixes the regression by moving the SystemView configuration to the same
place in the external module where RTT configuration already resides and
thereby creates a canonical include path to avoid further regressions of
the same kind.

Fixes: #61133

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2023-08-06 07:44:06 -04:00
Maciej Sobkowski 8f02832bc0 west.yml: add Ambiq HAL module
Add the Ambiq HAL module to the West manifest.

Signed-off-by: Maciej Sobkowski <msobkowski@antmicro.com>
2023-08-04 10:48:58 +02:00
Dong Wang 55f284ecf8 manifest: intel_hal: update to latest to better support SEDI i2c driver
there's a patch to expose i2c isr handler as a formal sedi api.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2023-08-04 10:46:24 +02:00
Aron Lander 6f62768492 modules: Updated Percepio TraceRecorder to version 4.8.0.hotfix2
This version introduces support for the syscalls extension,
which greatly reduces the amount of bandwidth being used
for tracing syscalls.

Signed-off-by: Aron Lander <aron.lander@percepio.se>
2023-08-03 07:28:12 -04:00
Manuel Argüelles 36f11627ce drivers: eth: add support for NXP S32 GMAC
Add initial support for NXP S32 GMAC/EMAC:
- it's a copy-implementation with DMA data buffers and buffer
  descriptors in non-cached memory (buf len and ring size configurable)
- PHY interface selection only implemented for S32K3 devices as it is
  SoC-specific
- no PHY driver integration, it works as a fixed link with speed/duplex
  configured through devicetree
- supports multicast hash filtering, promiscuous mode, MAC loopback

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-08-03 10:28:20 +02:00
Alberto Escolar Piedras a419f9b473 manifest: Update nRF HW models to latest
The nRF HW models have been updated to include the following
fixes and improvements:

* TIMER: Add missing HAL function override
* TIMER: Added notes about minor differences

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-08-02 17:46:43 +02:00
Alberto Escolar Piedras 71b132ecdc manifest: Update nRF HW models to latest
The nRF HW models have been updated to include the following
fixes and improvements:

* RADIO: Bugfix if DISABLE or STOP during first us of TxStart
* File opening: Create folders if missing
* TIMER: Completed, including all count functionality

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-08-02 14:04:03 +02:00
Ioannis Karachalios 4092b9c1d8 west.yml: Update hal_renesas revision
Update revision SHA.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2023-08-02 14:00:39 +02:00
Robert Lubos f602c72773 modules: uoscore-uedhoc: Update to the latest version
Update uoscore-uedhoc repository to the latest revision.
Align uoscore tests with the API changes.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-08-02 10:38:11 +02:00
Piotr Dymacz e4eadfa784 boards: arm: add initial support for efr32bg22_brd4184b
This adds basic support for 'B' revision of the Silicon Labs EFR32BG
BRD4184 (Thunderboard BG22) board. Due to missing drivers, some of the
on-board peripherals are currently unsupported:

- Silicon Labs Si7021 relative humidity and temperature sensor
- Vishay VEML6035 ambient light sensor
- Knowles SPK0641HT4H-1 MEMS microphones
- TDK InvenSense ICM-20648 6-axis inertial sensor

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2023-08-01 08:22:25 +00:00
Dong Wang fb03964a26 manifest: west.yml: add Intel HAL as a new HAL module
It provides a low level Hardware Abstraction Layer for Intel
specific hardware, like Intel ISH

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2023-07-28 17:49:09 +02:00
Cong Nguyen Huu 19f33b8ecb samples: drivers: adc: enbale test for mr_canhubk3
Enable all channels that available connector on board.
ADC0 channel 6 on precision group with normal end chain
callback.
ADC1 channel 2 on precision group with normal end of
conversion callback.
ADC2 channels 3, 4, 5 on precision group with normal end
of conversion callback.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2023-07-28 08:55:38 -05:00
Cong Nguyen Huu b77d40d1fe tests: drivers: enable tests eeprom and i2c for mr_canhubk3
Enable tests: tests/drivers/eeprom/api,
tests/drivers/i2c/i2c_target_api.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2023-07-27 12:32:07 -05:00
Cong Nguyen Huu 36d63e132d boards: arm: mr_canhubk3: enable support for FlexCAN
Reuse existing MCUX-based shim driver for FlexCAN.
Enable flexcan0 for Zephyr canbus to run tests.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2023-07-27 11:06:45 -05:00
Adam Wojasinski f53041cb79 manifest: hal_nordic: Pull PWM driver fix for nrfx_pwm_stopped_check()
When `nrfx_pwm_stopped_check()` was called multiple times it was
returning incorrect value after second and next calls.

Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
2023-07-27 12:12:11 +02:00
Alberto Escolar Piedras b89ff1b3d6 manifest: Update nRF HW models to latest
The nRF HW models have been updated to include the following
fixes and improvements.

* RADIO: Improve T_IFS support, and fix for low latency mode
* docs: Miscelaneous improvements

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-07-27 11:23:01 +02:00
Iuliana Prodan 3945988ac1 west: update open-amp repo
Update open-amp repository with new sha.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-07-26 14:33:36 +02:00
Jamie McCrae ca7e8c6854 west.yaml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  76d19b3b8885ea7ae25a6f4f5d8501f7ec646447

Brings following Zephyr relevant fixes:
 - 76d19b3 boot: bootutil: Fix missing packed attributes, add hash
           size define
 - 018b770 imgtool: Fix getpriv error return with private key
 - 9fad4c1 boot: boot_serial: Fix wrong cbor type for confirm

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-07-26 14:32:20 +02:00