Commit graph

1143 commits

Author SHA1 Message Date
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
Nikodem Kastelik f4fcc1dc4c manifest: tf-m: update revision to have atomics defined for nrfx port
Refactored nrfx_uarte driver uses atomic types internally,
so glue layer in TF-M needs to include them.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2023-10-24 11:13:53 +02:00
Nikodem Kastelik ec978348c5 manifest: hal_nordic: Update hal_nordic revision
Pull in nrfx 3.2.0 release

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2023-10-24 11:13:53 +02:00
Joakim Andersson 33a44d0ed8 tfm: nordic_nrf: Add generic SoC support for nordic SoCs
Add generic SoC support for the supported nordic SoCs:
- nrf5340
- nrf9160
- nrf9120

Add generic SoC support by taking board specific configurations from
zephyr devicetree and kconfig.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-10-24 09:40:16 +02:00
Aron Lander aa2879a397 modules: Updated the Percepio module to v4.8.1.hotfix1
This synchronizes the percepio module with the upstreams
repository.

Signed-off-by: Aron Lander <aron.lander@percepio.com>
2023-10-23 20:58:41 -05:00
Andrzej Kuros fd8f6bd7e6 manifest: hal_nordic: Update nrf_802154 driver
This commit brings latest changes to the nRF 802.15.4 Radio Driver.

Signed-off-by: Andrzej Kuroś <andrzej.kuros@nordicsemi.no>
2023-10-23 10:32:54 +02:00
Bjarki Arge Andreasen f9874ca046 west.yaml: Bump hal_atmel to commit #120
This commit bumps the hal_atmel module to
revision 942d664e48f7a2725933a93facc112b87b1de32b, which is
commit number 120 on master.

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-10-22 19:23:22 +02:00
Sylvio Alves ac67f245e7 west.yml: update esp32s3 to enable all flash ranges
Current hal only enable up to 16MB flash size in esp32s3 SoC.
This updates hal_espressif to include 32MB, 64MB and 128MB.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-10-13 10:13:56 +01:00
Peter Mitsis 86ed4c0ae8 west.yml: Pull in latest percepio updates
Pulls in the latest percepio updates that removes references to
the defunct k_pipe_block_put() routine (and k_mem_block too).

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2023-10-13 09:56:02 +03:00
Seppo Takalo 5dcaf267fb net: lwm2m: Add Docker based test script
Add Docker based test script for LwM2M interoperability test.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-10-06 16:14:39 +03:00
Yonatan Schachter de66defa44 west.yml: Update hal_silabs to pull request #45
Update hal_silabs to pull request #45, fixing a file that
was copied from a wrong version.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-10-06 14:39:20 +03:00
Jamie McCrae fed8115733 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  13767d0b72eb14ce42eb8aad1e5a133ef66afc54

Brings following Zephyr relevant fixes:
 - bootutil: Disable MCUBOOT_BOOT_MAX_ALIGN assert for
   non-swap modes

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-10-06 09:17:06 +02:00
Johan Hedberg dee64613c2 samples: tracing: Reenable the percepio test case
Update to a fixed percepio tree, which allows the build to pass for valid
version numbers with 0 being one of the version number components.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-02 16:17:10 +03:00
Jerzy Kasenberg 2c6fd67d59 manifest: hal_renesas: Update hal with runtime crash fixes
hal has to simple corrections:
- One of the asserts were obviously checking wrong condition.
  It resulted in crash when asserts were enabled
- pdc module was using calloc in PRE_KERNEL_1 stage which is
  not allowed. Latest Zephyr changes of default c library
  triggered crash. Before calloc returned NULL and that was handled,
  but now it simple returns some random data.
  Now static buffers are utilized instead.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
2023-10-02 13:59:11 +02:00
Anas Nashif f30f08a3ce manifest: move optional modules to a submanifest and make them optional
Move optional modules to a submanifest and make them optional by
default.
This is just a POC, might require some more thought. The idea is to look
at the optional manifest as an area for modules that work with Zephyr,
but not needed directly by zephyr. This could be documented somewhere
for discovery purposes allowing users to enable such modules in their
downstream if desired.

See #54276

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-01 09:21:50 +03:00
Peter Mitsis a956f7aef1 west.yml: Pull in latest percepio updates
Pulls in the latest percepio module updates that alter how it
accesses the k_mem_slab structure (due to changes from this PR).

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2023-09-30 08:04:14 +03:00
Jamie McCrae 76e58af542 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  4fe28b3cf6d30c3e57d6a4f7ee3dba8617aa9a0a

Brings following Zephyr relevant fixes:
 - 4fe28b3 Update zephyr version files for 2.0.0-rc1
 - 6a6de4b scripts: imgtool: update to 2.0.0-rc1 release

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-09-29 20:37:24 +03:00
Dat Nguyen Duy 2aded4006f tests: pwm_loopback: enable test for mr_canhubk3
Enable PWM loopback testing for mr_canhubk3

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2023-09-29 15:40:04 +02:00
Jamie McCrae 636c4ab796 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  bf8cf46b348eb8c8c10a1f1e4a7c24cdef52acf0

Brings following Zephyr relevant fixes:
 - 2929a975 bootutil: Show error if flash area open fails

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-09-29 14:45:53 +02:00
Manuel Argüelles d212e50eaf soc: nxp_s32: enable RTU.PIT timers for S32ZE
Each RTU includes one PIT instance that can be used by any
of the cores.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-09-29 09:47:35 +02:00
Alberto Escolar Piedras d1ada164a4 nrf_hw_models: Update HW models to latest and align with them
* In Zephyr:
  * The HW models now include N fake timers, and N
  bst timers.
  The embedded code needs to target the one for its
  CPU specifically.

* Update the HW models module to
  f4595802d32d103718bf50b3d390b7a450895843

  Including the following:
  * f459580 TEMP & ECB: Fix INTEN sideeffect prototypes
  * 50c2abe nrfx_common: Fix build error with clang
  * 5f0ae29 FICR: Add nrf53 variants
  * 82ee9bd DPPI: On initialization, set all registers to their reset value
  * 1472c34 NVMC & UICR: Readied for nrf53
  * f425c08 NVMC & UICR: Refactor
  * 3a4cfc2 RADIO: Parametrize ED_RSSIOFFS
  * a20e9fc nrfx_get_irq_number() Add missing CCM peripheral for nrf5340net
  * c199715 DPPI: Bugfix
  * 93806ac Zephyr cmake: Align with nrf53 board rename
  * 51f26a3 VREQCTRL: Add register stub and definitions for nrf53
  * 802e0cf RADIO: Switch to level interrupts, readied for nrf53
  * 49bcea2 Templates: Added shortcut check & event signaling version for s
  * a880cd6 Template: Move static out of signal handler definition
  * 709f82b TEMP: Switched to level interrupts, readied for nrf53
  * 6ef0069 AES_CCM: Switched to level interrupts, readied for nrf53
  * eaa89da RNG: Use common templates
  * 75a6cb4 AAR: Switched to level interrupts, readied for nrf53
  * fbf58f3 AES_ECB: Switched to level interrupts, readied for nrf53
  * d084647 RNG: Bugfix in STOP subscription
  * 8007318 Templates: Added template code for the most common models logic
  * bab6a54 int ctrl: Added new API
  * daaaaa0 config: Fix nrf53 Net core EGU instance HAL mapping
  * 54570a0 nrf5340 RTC int mapping fix
  * 043af26 nrfx_common: Provide nrfx_get_irq_number() for 5340 cores
  * ecd7b9b SWI: Add SWI pseudo peripheral
  * a70c73b CLOCK: Add missing TASK sideeffecting prototypes, and fix typo
  * 56c7581 nrf5340: Split HAL files in net and app sets
  * 3892d3e Add API to get the MCUs/domains names
  * 8f485bc RADIO: Prevent clang build warning
  * 5aac1c2 hal: Build weak version of the HAL for the 53 series also
  * f18422d standalone nrfx_config: Provide needed definitions for nrf53
  * 4015d5a nrfx_glue_bsim: Provide 2 trivial definitions for standalone bu
  * 4af80d5 cmsis stubs: Provide trivial macro to replace ISB
  * b6c2769 cmsis replacements: Fix for other Zephyr bsim targets
  * 8316930 zephyr CMakefile: Set HAL version based on Kconfig
  * 4404106 RNG: Rename functions to match new naming convention
  * a3dbb38 RTC: Rename functions to match new naming convention
  * 886dc73 CLOCK: Rename functions to match new naming convention
  * bcb2b99 EGU: Rename functions to match new naming convention
  * 50af67e TIMER: Rename functions to match new naming convention
  * 8120224 CLOCK/POWER/RESET: Add DPPI connections, generalize to N instan
  * 450337c RTC: Add DPPI connection, nrf53 support and new functionality
  * 2918ce6 DPPI common subscription: Minor API change
  * ec1c2a7 TIMER: Add DPPI connection, nrf53 support and functionality
  * e6f9860 EGU: Add DPPI connection, nrf53 support and generalize
  * c8a4368 bst_ticker: Generalize to N instances
  * 093deee fake timer: Generalize to N instances
  * 302da8d DPPI: Typo fix

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-29 10:42:29 +03:00
Alberto Escolar Piedras 0a8500e79f manifest: hal_nordic: Update to enable 15.4 on simulated nrf53
Take in a minor fix necessary to run 15.4 on the
incoming simulated nrf53 targets.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-09-29 09:57:46 +03:00
Keith Packard 477bf558de west: Pull in espressif linker alignment fix
This PR fixes the espressif esptool to deal with ELF section alignment
which would otherwise create holes in the resulting binary.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-09-28 16:15:27 +02:00
Jamie McCrae 86763727f0 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  ae2aeedfe8bb66f7fdddc25271689144d3579959

Brings following Zephyr relevant fixes:
 - 268433e zephyr: Allow user-defined boot serial extensions
 - 50f8b5f bootutil: Add shared data support for XIP with revert
   mode
 - 8d0b35a bootutil: Add mode for XIP with revert

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-09-28 14:10:56 +02:00
Zoltan Havas 3cc9fa4512 gecko: Fix sdid for xg27 part
Please see the original slcc sdid value:
https://github.com/SiliconLabs/gecko_sdk/blob/gsdk_4.3/platform/Device/component/efr32bg27c140f768im40.slcc#L70

Signed-off-by: Zoltan Havas <zoltan.havas@silabs.com>
2023-09-28 09:35:06 +02:00
Dat Nguyen Duy b4f390e880 boards: arm: mr_canhubk3: enable dma support
Enable dma support for mr_canhubk3 board

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2023-09-27 14:02:09 -05:00
Marc Desvaux a49720ab08 west.yml: use latest STM32 HAL to get PTP to work
In the HAL_ETH_ReadData function where it checks for the last
descriptor, I added a checked if the TSA bit was set in DESC1
If the TSA bit is set then have a peak at the context descriptor
which should be the one after the last descriptor
If the CTXT bit is set in the context descriptor then extract
the timestamps


Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-09-27 11:57:59 -05:00
Sylvio Alves bdda8ac48e soc: esp32s3: add esp32s3_appcpu for AMP support
Adds esp32s3_appcpu SoC and update default esp32s3 SoC
to support AMP feature.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-09-27 12:07:21 +02:00
Jamie McCrae 7c0137afa6 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  6c8c76fc37f10d7f3ce44474dc2a450f61ff46e0

Brings following Zephyr relevant fixes:
 - 4da51013 zephyr: Add shared data support
 - 9bef51ce bootutil/crypto: Do not include import key with PSA
 - db2024eb espressif: update secure boot and flash encryption

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-09-27 11:25:54 +02:00
Iuliana Prodan b16220916e manifest: update hal_xtensa
Update hal_xtensa for NXP RT500 overlay support.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2023-09-27 09:53:42 +02:00
Jordan Yates 16b0a7ba68 manifest: update loramac-node to v4.7.0
Update loramac-node to release v4.7.0 from v4.6.0. The `v4.7.0-zephyr`
branch contains the same 4 additional commits as `v4.6.0-zephyr`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2023-09-26 15:08:24 +02:00
Tomasz Moń c796e1bee2 manifest: hal_nordic: update to prevent USBD bad DMA
The bad DMA request was observed as SPU FLASHACCERR when building for
nrf5340dk_nrf5340_cpuapp_ns target. The bad DMA request would manifest
itself as device failing to reconnect after USB cable was reconnected.
The issue was especially visible with CDC ACM sample because SET LINE
CODING request has 7 bytes payload.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-09-25 12:13:10 +02:00
Ryan McClelland d2f82648cd modules: tflite-micro: update to latest
Update tflite-micro to use the latest. This also updates to use
the cmsis-nn module.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2023-09-25 09:46:33 +02:00