Commit graph

1175 commits

Author SHA1 Message Date
Cong Nguyen Huu 3533178713 drivers: eth_nxp_s32_netc: use instance-based DT macros
At present, many of the NXP S32 shim drivers do not make use of
devicetree instance-based macros because the NXP S32 HAL relies on an
index-based approach, requiring knowledge of the peripheral instance
index during both compilation and runtime, and this index might not
align with the devicetree instance index.

The proposed solution in this patch eliminates this limitation by
determining the peripheral instance index during compilation
through macrobatics and defining the handler of SI Rx event within
the shim driver itself.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2023-12-11 09:50:08 +01:00
Adam Wojasinski 85b398be65 manifest: hal_nordic: Update revision with fixed workaround in nrfx_qspi
Pulls update in nrfx_qspi driver with fixed order of applying workaround
for anomaly 215 on nRF52840 and anomaly 43 on nRF5340.

Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
2023-12-08 11:18:24 -06:00
Jamie McCrae 22ef2bed33 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  212997395ed34ff1721f5f4461b800e81abeb68d

Brings following Zephyr relevant fixes:
 - 21299739 zephyr: firmware/single_loader: Fix compile warning
 - a88e2293 zephyr: sysflash: Fix if condition for zephyr
   applications
 - 2a74a2b5 zephyr: io: add 'io_led_set()'
 - 8c6c6701 zephyr: io: include 'bootutil_log.h' and declare log
   module membership
 - d99154f4 zephyr: rename 'led_init()' to 'io_led_init()'
 - c43a20fd boot: zephyr: add support for mimxrt1040_evk

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-12-08 10:24:56 +00:00
Manuel Argüelles 0ee6632967 soc: arm: nxp_s32: s32k1: use HAL to init code cache
Use the HAL cache driver to initialize the Code Cache.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-12-08 10:22:12 +00:00
Przemyslaw Bida 8f2b7a121b net: openthread: Openthread upmerge to 4ed44bc
This commit bumps openthread commit to `4ed44bc`
and implements `CONFIG_OPENTHREAD_MULTIPAN_RCP` option.

Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
2023-12-08 10:21:56 +00:00
Abderrahmane Jarmouni 84339bea7d west.yml: hal stm32: Update STM32Cube packages
Update STM32Cube packages:

update stm32l4 to cube version V1.18.0
update stm32f7 to cube version V1.17.1
update stm32wb to cube version V1.18.0
update stm32f1 to cube version V1.8.5
update stm32h7 to cube version V1.11.1
update stm32wba to cube version V1.1.1
update stm32u5 to cube version V1.4.0

Update of lib/stm32/stm32wb package to version V1.18.0

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
2023-12-06 12:10:08 +00:00
Laurentiu Mihalcea 0dab59ab8e manifest: Bump up hal_nxp revision
Bump up hal_nxp revision to contain the IRQ_STEER-related
changes.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-12-04 09:52:38 -06:00
Marcio Ribeiro 47d9bad962 manifest: esp32: update hal_espressif
Update hal to cover latest features and fixes.

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2023-12-04 14:32:09 +01:00
Alberto Escolar Piedras c4e1807cdf manifest: Update nrf hw models to latest
* Update the HW models module to
9b985ea6bc237b6ae06f48eb228f2ac7f6e3b96b

Including the following:
* 9b985ea nrf_ccm: Add RATEOVERRIDE subscribe support
* 8592230 nrf_hack: Add comments
* 5775f4c docs: Very minor typo and grammar fixes

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-12-04 14:20:17 +01:00
Manuel Argüelles 91293187d8 soc: nxp_s32: introduce support for S32K1 devices
Introduce support for NXP S32K1 family of 32-bit MCUs, and
particularly for S32K146 devices. S32K1 share a fair amount of
similarities with Kinetis family, so most of the peripheral drivers
can be reused.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-30 11:21:59 -05:00
Bartosz Bilas 052f0994d4 west: bump hal_espressif
It contains a fix for a typo within emac_hal module.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2023-11-30 10:02:31 +01:00
Seppo Takalo ef1bcb7aee manifest: Update net-tools
* Few fixes in net-tools scripts
* Fixed release URI for Leshan demo server

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-11-29 19:15:18 -05:00
Jamie McCrae 7d567438b2 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  05d11942774fc15b90af101232ec5305051216ec

Brings following Zephyr relevant fixes:
 - 215345f7 zephyr: Add firmware loader MCUboot operation style
 - 433b8480 zephyr: Move IO functions out of main to separate
   file
 - 5e6cffbf boot: boot_serial: Fix single slot encrypted image
   list
 - 3f0b89d6 boot: zephyr: add support for mimxrt101x_evk

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-11-29 13:38:17 +01:00
Manuel Argüelles d2ea187228 drivers: mdio: add support for NXP S32 GMAC
MDIO controller is part of GMAC and it requires GMAC ethernet driver to
initialize first because it will reset the whole GMAC hw block during
initialization. Both C22 and C45 APIs are supported.

Co-authored-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2023-11-28 08:07:44 -06:00
Sylvio Alves ca346ba216 soc: esp32: call reset cause reason init
Reset cause reason was not initalized properly, making
hwinfo feature not to work as expected.

Fixes #65634

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-11-27 19:59:45 +01:00
Maciej Baczmanski c2f1ff7f5f net: openthread: upmerge to 75694d2
Regular OpenThread upmerge to commit `75694d2`.

Move CONFIG_OPENTHREAD_PLATFORM_KEY_REFERENCES_ENABLE
from header file to Kconfig.

Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
2023-11-27 19:59:04 +01:00
Jamie McCrae 2a6cec0687 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  47b34362552835621bc289d53d2127691088cb7c

Brings following Zephyr relevant fixes:
 - 47b34362 zephyr: kconfig: Prevent MBEDTLS selection when
   tinycrypt is used
 - cd82f8bf boot: zephyr: add support for lpcxpresso55s28

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-11-22 17:32:33 +01:00
F. Ramu 4ddbf51042 west.yml: update modules/hal/stm32/hal_stm32 for stm32h503
Update the stm32h5xx/drivers/include/
to enable the SAI, DelayBlock and DCACHE only if the instance
exists in the soc. Which is not the case for stm32h503x device
https://github.com/zephyrproject-rtos/hal_stm32/pull/181/

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-11-22 09:52:07 +01:00
Andrzej Głąbek 23cf38934c manifest: Update hal_nordic revision
Pull in a fix in the watchdog driver initialization.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-11-21 11:09:29 +01:00
Keith Packard 35e83d20e4 west: Update picolibc to version 1.8.5
Picolibc version 1.8.5 offers additional memory savings and new long-long
and minimal printf variants which can be selected from either the SDK or
module version of the library.

This needed a patch to the Zephyr cmake support bits to enable one of the
new picolibc 1.8.5 features.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-11-20 06:07:58 -05:00
Cong Nguyen Huu e59991abfe drivers: spi_nxp_s32: update StateIndex configuration
Set Spi StateIndex equal to index of DT Spi node.
Because number of State array is set base on
number of DT Spi node used. If StateIndex is set
equal to Spi instance, StateIndex can be over array.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2023-11-16 09:28:16 +01:00
Fabian Blatz 92560ac095 manifest: update LVGL to add Kconfig guard
Related to zephyrproject-rtos/lvgl#48

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-11-15 14:54:24 +01:00
Jiafei Pan 5b99d826b2 west.yml: update hal_nxp commit
Update to 03bd989de4d2de151470e8b6068bc5686f3fc84c

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2023-11-15 11:42:06 +01:00
Eduardo Montoya b406024148 net: openthread: implement otPlatRadioSetRxOnWhenIdle
OpenThread upmerge to commit `193e77e`.

Implement `otPlatRadioSetRxOnWhenIdle` radio platform API.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2023-11-15 09:59:17 +01:00
Chekhov Ma 90aee7d65c imx93: update iomuxc refs to match new pinctrl.dtsi
Update iomuxc references to match the changes of
`mimx9352cvuxk-pinctrl.dtsi` in hal/nxp.

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2023-11-14 07:10:59 -06:00
Chekhov Ma 85888c673d manifest: Bump up hal_nxp revision
Bump up hal_nxp revision to contain the clock frequency array
initialization code of i.MX 93

Signed-off-by: Chekhov Ma <chekhov.ma@nxp.com>
2023-11-13 10:51:12 -06:00
Eduardo Montoya 3508cd609c net: openthread: upmerge to 6edb06e
Regular OpenThread upmerge to `6edb06e`.

Also add `OPENTHREAD_CSL_RECEIVER_LOCAL_TIME_SYNC` config.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2023-11-09 18:21:41 +01:00
Laurentiu Mihalcea 5e7a9e5e9f manifest: Bump up hal_nxp revision
Bump up hal_nxp revision to contain the
HAL headers for i.MX8QM's and i.MX8QXP's DSP.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-11-09 18:21:05 +01:00
Laurentiu Mihalcea d45d323da2 manifest: Bump up hal_xtensa revision
Bump up hal_xtensa revision to contain the overlays
for i.MX8QM and i.MX8QXP.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-11-09 18:21:05 +01:00
Dong Wang 2938856cac west.yml: update hal_intel to latest
It contains changes from ISH code base:
 - Switch IPC/SPI SEDI drivers to use OSXML header files.
 - Enhance SEDI debug functions.
 - I2C and SPI drivers' bug fix and enhancements.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2023-11-09 15:33:31 +01:00
Nazar Palamar 4fd732a738 drivers: wifi: added Infineon AIROC WIFI driver
Added initial version of Infineon AIROC WIFI  driver

Added initial version of binding file for Infineon AIROC WIFI
driver

Rename CONFIG_ABSTRACTION_RTOS_COMPONENT_ZEPHYR to
CONFIG_USE_INFINEON_ABSTRACTION_RTOS

Exclude cy8cproto_062_4343w platform from
drivers.modem.esp_at.build test

Change revision hal_infineon to
69c883d3bd9fac8a18dd8384624b8c472a68d06f

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-11-08 15:07:37 +00:00
Jamie McCrae 5d3ae7690a west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  0c0470e294dcfb52aab92299356a5f3caa0aa52b

Brings following Zephyr relevant fixes:
 - e9fccef5 boot_serial: Fix missing response if echo command
   disabled
 - 013c9e76 boot: zephyr: board: various: Remove size optimisation
 - 0a8bbbf4 boot: zephyr: Fix USB configs
 - d5c963c5 boot: zephyr: serial_adapter: Add error if main thread
   not preemptible
 - 822b6cb7 boot: zephyr: serial_adapter: Fail if USB CDC enabled
   with console

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-11-08 10:09:13 +01:00
Alberto Escolar Piedras 56816ceb52 manifest: Update nrf hw models to latest
* Update the HW models module to
a715dcc179f1a71f51c574165958b72fe932ae3f

Including the following:
* a715dcc irq_ctrl: Fix interrupt name getter
* b9e1f00 Makefile: For 5340 build both HAL versions as separate libraries
* 68aa50b Makefile: Set default target to compile and fix makefiles rules
* 0cf5ea9 nrfx_glue: Provide a stubbed NRFX_DELAY for builds without Zephyr
* b0d95c2 doc: Update required Nordic nrfx version to 3.2

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-08 10:08:50 +01:00
Aaron Ye 12eac1ea9a manifest: Update hal_ambiq revision.
This commit adds am_hal_mcuctrl.c for wide usage.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2023-11-07 09:42:25 +01:00
Marcin Niestroj 14dccd772d manifest: update cmsis to 5.9.0
This includes updates in:
 * Core-M (with added support for Cortex-M85)
 * Core-A

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2023-11-07 09:41:14 +01:00
Manuel Argüelles c777ef255b spi: nxp_s32: use instance-based DT macros
At present, many of the NXP S32 shim drivers do not make use of
devicetree instance-based macros because the NXP S32 HAL relies on an
index-based approach, requiring knowledge of the peripheral instance
index during both compilation and runtime, and this index might not
align with the devicetree instance index.

The proposed solution in this patch eliminates this limitation by
determining the peripheral instance index during compilation
through macrobatics and defining the driver's ISR within the shim
driver itself.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-11-06 19:02:32 -05:00
Daniel DeGrasse 29ab2b13f6 drivers: ipm: Remove CONFIG_IPM_IMX_REV2
Remove CONFIG_IPM_IMX_REV2, as this Kconfig is no longer needed. The
driver can now be enabled with CONFIG_IPM_IMX.

Update NXP HAL to remove this Kconfig as well.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-11-06 10:09:59 +01:00
cyliang tw 8ba8c188a0 drivers: ethernet: support for Nuvoton numaker series
Add Nuvoton numaker series EMAC controller feature.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2023-11-03 12:11:33 +00:00
Jamie McCrae dd4472c26a west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  4a1effbc301fc302ecbaf40d4eb2be520b53010d

Brings following Zephyr relevant fixes:
 - 4a1effbc zephyr: Remove deprecated ZEPHYR_TRY_MASS_ERASE option
 - 2b924da4 samples: zephyr: Use the default MCUBoot PEM key file
 - 25b7c7a8 imgtool: make "align" command line parameter optional
 - 301d5655 readme: update for next dev release
 - e0bdcdec Update version files for 2.0.0
 - 9b92ee91 boot: zephyr: add support for LPC55Sxx

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-11-03 09:56:50 +01:00
Johan Hedberg c92c7ab873 manifest: Update to latest ACPICA Zephyr fixes
There are a couple of important fixes without which ACPICA doesn't work
on all supported platforms.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-31 09:01:50 +01:00
Flavio Ceolin e7340282a7 west.yml: update hal_intel
Update hal_intel to include a power management fix.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-27 13:41:04 -05:00
Iuliana Prodan b2eade6bcb west: update open-amp repo
Update open-amp repository with new sha.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-10-27 13:39:31 -05:00
Alberto Escolar Piedras 4b88aa9dc1 manifest: Update nrf hw models to latest
* Update the HW models module to
90f4484cbaec986ed253b4fe9649aa75e632de15

Including the following:
* 90f4484 nrf_dppi & dppi_hack: Add support for NRF_DPPI_ENDPOINT_

Note: This update requires hal_nordic/nrfx release 3.2

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-26 17:33:16 +02:00
Flavio Ceolin 9b200410d0 modules: mbedtls: Bump to 3.4.1
Bump mbedTLS to the 3.4.1

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-26 16:47:57 +02:00
Jukka Rissanen f9035a24fc manifest: Add hostap module
Add new hostap module that will support Wi-Fi supplicant
functionality.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2023-10-26 09:48:47 +02:00
Henrik Brix Andersen 7579eadaaf modules: canopennode: make the CANopenNode module optional
Make the CANopenNode module, which provides a CANopen protocol
implementation, optional.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-10-26 09:48:26 +02:00
Ioannis Karachalios 40620e1ce4 west.yml: Update hal_renesas revision
Adds new HAL to be used by existing and upcoming drivers.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2023-10-26 09:47:23 +02:00
Sylvio Alves 3f5ea785f2 linker: esp32: fix linker to enable proper MMU usage
ESP32 flash_mmap() function requires `_rodata_reserved_start` address
to be at the beginning of RODATA. This allows adding memory-mapped flash
areas.

Fixes #52764

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-10-25 09:57:48 +02:00
Alberto Escolar Piedras a042203117 manifest: Update libmetal to latest including POSIX arch support
Update libmetal to the latest version which includes
support for the POSIX architecture.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-24 15:26:10 +02:00
Alberto Escolar Piedras 214178ab4b manifest: Update nrf hw models to latest
* Update the HW models module to
f7842d717c73aaeb0354f9e70e6d5ad275106f52

Including the following:
* f7842d7 INT CNTLR: Bugfix for more than 32 interrupts
* 903f643 MUTEX: Add nrf5340 MUTEX peripheral model
* e84fca4 IPC: Add nrf5340 IPC peripheral model
* dacbaa0 EGU: Minor: Use new irq ctrl API
* 9a4e0ba Templates: Add intenset/clr template for multi instance per
* c77ba72 nrf_dppi_hack: Add extra nrf like APIs meant for simulation
* 99ae791 RTC: Fix subscribe prototypes and calls from HAL
* ca554e9 FICR (53): Fix links to documentation
* d3758a2 docs: Fix links to HW sources
* 693a36c doc: Implementation status: Change checkmarks

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-24 15:26:10 +02:00