Commit Graph

723 Commits

Author SHA1 Message Date
Lukasz Maciejonczyk bc9bc7702e manifest: openthread upmerge to commit: 5cfbcfc
Regular OpenThread upmerge.

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
2022-06-23 15:52:34 -05:00
Sylvio Alves 5a7585a387 west.yml: esp32c3: update hal to enable built-in jtag
ESP32C3 has built-in USB JTAG interface and this PR enables it
in HAL.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-06-23 15:51:31 -05:00
Rubin Gerritsen 0f84a57705 manifest: Update nrf_hw_models revision
Mostly includes minor maintainability updates:
- ci: Add building the HW models as a github workflow
- irq_sources: Remove unneeded irq_sources.h
- irq_ctrl: Define IRQ names inside HW models
- HW_models: NRF_RADIO: Set missing NRF_RADIO states
- HW_models: NRF_RADIO: Disable radio state while RXDISABLE
- HW_Models: NRF_PPI: Enable ppi task and event for TIMER0 CH3

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2022-06-23 14:35:26 +02:00
Krzysztof Chruscinski 59a0e5e645 manifest: Update lvgl
Update lvgl after removal of log_strdup function.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-06-23 13:42:23 +02:00
Andrzej Głąbek 2ddc0a6c17 manifest: Update hal_nordic revision
Pull in a fix in the nrfx_qspi driver for a problem with incorrect
status returned by `nrfx_qspi_mem_busy_check()`.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-23 11:49:10 +02:00
Keith Packard 0984aedf68 libc/picolibc: When !TLS, use zephyr errno
For targets without thread local storage, we need to use the builtin
per-thread errno support provided by Zephyr as the multi-thread errno
support provided in picolibc relies on TLS.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-23 09:16:32 +02:00
Martí Bolívar f49d11d310 civetweb: remove obsolete code
This code has gone unmaintained and bugs continue to be reported
against it. We do not have the resources as a project to maintain this
in "odd fixes" mode, and nobody has stepped up to maintain it [1], so
sadly this must be removed for now.

If anyone would like to see civetweb supported in upstream Zephyr
again, they are welcome to add it back, as long as they promise to
maintain it going forward.

Many thanks to everyone who has contributed to civetweb support in
Zephyr while it was here. So long and thanks for all the fish.

Fixes: #45807
Fixes: #43910
Fixes: #34226
Fixes: #46743

[1] https://lists.zephyrproject.org/g/devel/message/8466

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-22 08:26:13 -07:00
Keith Packard d0c75f3b96 lib/libc: Add picolibc support (aarch32, aarch64 and RISC-V) [v21]
Picolibc is a fork of newlib designed and tested on embedded systems. It
offers a smaller memory footprint (both ROM and RAM), and native TLS
support, which uses the Zephyr TLS support.

By default, the full printf version is included in the executable, which
includes exact floating point and long long input and output. A
configuration option has been added to switch to the integer-only
version (which also omits long long support).

Here are some size comparisons using qemu-cortex-m3 and this application
(parameters passed to printf to avoid GCC optimizing it into puts):

void main(void)
{
    printf("Hello World! %s %d\n", CONFIG_BOARD, 12);
}

                       FLASH    SRAM
    minimal             8696    3952
    picolibc int        7600    3960
    picolibc float     12304    3960
    newlib-nano int    11696    4128
    newlib-nano float  30516    4496
    newlib             34800    6112

---

v2:
	Include picolibc-tls.ld

v3:
	Document usage in guides/c_library.rst and
	getting_started/toolchain_other_x_compilers.rst

v4:
	Lost the lib/libc/picolibc directory somehow!

v5:
	Add PICOLIBC_ALIGNED_HEAP_SIZE configuration option.
	Delete PICOLIBC_SEMIHOST option support code

v6:
	Don't allocate static RAM for TLS values; TLS
	values only need to be allocated for each thread.

v7:
	Use arm coprocessor for TLS pointer storage where supported for
	compatibility with the -mtp=cp15 compiler option (or when the
	target cpu type selects this option)

	Add a bunch of tests

	Round TLS segment up to stack alignment so that overall stack
	remains correctly aligned

	Add aarch64 support

	Rebase to upstream head

v8:
	Share NEWLIB, NEWLIB_NANO and PICOLIBC library configuration
	variables in a single LIBC_PARTITIONS variable instead of
	having separate PICOLIBC_PART and NEWLIB_PART variables.

v9:
	Update docs to reference pending sdk-ng support for picolibc

v10:
	Support memory protection by creating a partition for
	picolibc shared data and any pre-defined picolibc heap.

v11:
	Fix formatting in arch/arm/core/aarch64/switch.S

v12:
	Remove TLS support from this patch now that TLS is upstream
	Require THREAD_LOCAL_STORAGE when using PICOLIBC for architectures
	that support it.

v13:
	Merge errno changes as they're only needed for picolibc.
	Adapt cmake changes suggested by Torsten Tejlmand Rasmussen

v14:
	Update to picolibc 1.7 and newer (new stdin/stdout/stderr ABI)

v15:
	Respond to comments from dcpleung:
	* switch kernel/errno to use CONFIG_LIBC_ERRNO instead of
          CONFIG_PICOLIBC
	* Add comment to test/lib/sprintf as to why the %n test
	  was disabled for picolibc.

v16:
	Switch picolibc to a module built with Zephyr. This eliminates
	toolchain dependencies and allows compiler settings for Zephyr
	to also be applied to picolibc.

v17:
	Provide Zephyr-specific 'abort' implementation.
	Support systems with MMU

v18:
	Allow use of toolchain picolibc version.

v19:
	Use zephyr/ for zephyr headers

v20:
	Add locking
	Use explicit commit for picolibc module

v21:
	Create PICOLIBC_SUPPORTED config param. Set on arc, arm, arm64,
	mips and riscv architectures.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-22 13:15:55 +02:00
Gerard Marull-Paretas 9d08e4fba0 manifest: update hal_gigadevice
Pull latest changes that include common HAL headers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-06-22 18:41:19 +09:00
Glauber Maroto Ferreira 7e1baee44b west.yml: hal_espressif: updates to latest revision
Updates hal_espressif's revision to include:
- latest pinctrl definitions.
- support for building ESP32C3 USB driver

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-06-16 11:27:49 +02:00
Artur Hadasz 2094bfa183 drivers: ieee802154: nrf5: Fix DRX_ADJUST workaround
This PR introduces a fix for DRX window being triggered to early during
CSL. Fixes were also introduced in the nrf 802154 radio
driver, so removed the unneeded DRX_ADJUST constant.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2022-06-13 12:09:57 +02:00
Bartosz Bilas 53768606da manifest: hal_nxp: update hal revision to pull in adc etc driver
It includes ADC External Trigger Control driver.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2022-06-10 09:48:50 +02:00
Andrzej Puzdrowski 0b9f0a45ab manifest: MCUboot update
bring fix from mcu-tools/mcuboot:

- espressif:esp32: Move app entry point call back to
  iram_loader_seg region

fixes #45349
fixes #46093

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-06-05 14:48:08 +02:00
Yuriy Vynnychek d0e07b6552 west.yml: updated hal_telink to new commit (BLE controller)
Updated hal_telink to new commit with B91 BLE controller suport.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-06-05 14:45:10 +02:00
Andrzej Puzdrowski afceecb2d3 manifest: MCUboot update
bring fixes from mcu-tools/mcuboot

- disables CONFIG_USB_DEVICE_REMOTE_WAKEUP as it is unsupported by MCUboot
- fix CONFIG_MCUBOOT_INDICATION_LED usage
- bootutil: zephyr: Fix not including tinycrypt path when needed
- bootutil: zephyr: Fix not linking with mbedtls when needed
- boot: zephyr: add Kconfig for arm cortex-m that implements a cache

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-05-27 15:21:57 -07:00
Erwan Gouriou ce0b918b50 west.yml: hal_stm32: Use remap info in stm32f1 pinctrl nodes names
Fixes #45916

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-05-25 11:20:21 -07:00
Gerard Marull-Paretas 8b8d7b99ce manifest: update lvgl revision
Latest revision fixes compilation of LVGL when
CONFIG_LEGACY_INCLUDE_PATH=n.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-25 14:19:18 +02:00
Sylvio Alves e8b5e05d51 west.yml: fix bluetooth adapter variable definition
When newlibc is enabled, memcpy_chk fails due to
overflow when testing destination address length.
This updates the source and destination range defintion
so that it works as expected.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-05-24 08:51:21 -07:00
Kevin Townsend 2dc866fa48 manifest: zscilib: Update zscilib for 3.1
Updates zscilib to support recent changes in zephyr
3.x, such as the `zephyr/` prefix on include files.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2022-05-19 09:46:26 -05:00
Henrik Brix Andersen 4c504d3f5a manifest: update espressif HAL to not require ZEPHYR_BASE in env var
Update the espressif HAL to allow building without having ZEPHYR_BASE set
in the environment.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-05-18 11:02:26 -07:00
Sylvio Alves 799ec29420 west.yml: update hal_espressif for bugfixes
Fix build warnings and proper libc linking.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-05-17 18:11:50 +02:00
Nazar Palamar 2fe6f74e09 west: Update hal_infineon and hal_cypress
- Update revision hal_infineon to 4af06965f57ba1e7d170e6a97d24c33785543a8c
- Remove hal_cypress

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2022-05-13 21:34:59 +02:00
Eduardo Montoya 6fe9ab07df manifest: openthread upmerge up to commit `130afd9`
Regular OpenThread upmerge.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2022-05-13 13:22:48 +02:00
Jimmy Brisson 2e6cd2550c modules: Update dependencies for TFM 1.6 release
This includes updates for the tfm deps:
 * tf-m-tests
 * psa-arch-tests

Signed-off-by: Jimmy Brisson <jimmy.brisson@linaro.org>
2022-05-12 10:33:52 +02:00
Gerard Marull-Paretas 645911f18a manifest: pull more <zephyr/...> include changes in modules
The following modules contain code that include Zephyr headers:

- fatfs
- littlefs
- hal_espressif

They have all been update with the <zephyr/...> include prefix.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-12 09:22:22 +02:00
Przemyslaw Bida 796e108816 manifest: openthread: Openthread upmerge to d9dd34e.
This commit bumps openthread version.

Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
2022-05-12 09:20:14 +02:00
Sylvio Alves 20fbaaccc4 boards: esp32: added ignore tags
Espressif boards cannot have ble and wifi
CI build tests due to binary blobs policies.
This removes refered tests.

west.yml: update hal repository to get updates
that allows building using Zephyr's SDK.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-05-11 10:47:27 +02:00
Gerard Marull-Paretas 9516eb49c0 manifest: update HALs ported to <zephyr/...> prefix
The following HALs contain code that makes use of Zephyr headers, so
they have been updated with the <zephyr/...> prefix:

- Altera
- NXP
- STM32
- TI

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-10 17:25:56 -04:00
Gerard Marull-Paretas 76e7164456 manifest: update hal_ti
Pull latest changes from the TI HAL module: migration to <zephyr/...>
includes.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-09 17:15:37 +02:00
Gerard Marull-Paretas f8ea769b81 manifest: update lvgl
Pull latest changes from the LVGL module: migration to <zephyr/...>
includes.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-09 17:15:25 +02:00
Gerard Marull-Paretas 6c547229dc manifest: update hal_stm32 revision
Pull latest pinctrl changes:

- Updated to CubeMX 6.5.0 database
- All nodes are prefixed with /omit-if-no-ref/

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-05 14:33:06 -05:00
Stephanos Ioannidis e814a203aa west.yml: Update CMSIS to pull in MVE fixes
This commit updates the west.yml to pull in the the M-Profile Vector
Extension (MVE) fixes.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-05-05 11:58:11 +09:00
Nikodem Kastelik de8057f745 modules: hal_nordic: Update nrfx to fix atomic doc
Building documentation in .rst format causes warnings due to
missing nrfx_atomic which is not used in hal_nordic.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2022-05-04 23:13:18 +09:00
Jordan Yates 10c063b351 manifest: update CMSIS with missing function
Update the CMSIS fork to import a function required for correct
operation of the CMSIS-NN tests.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-05-04 21:07:15 +09:00
Jan Peters 9ac06660fa manifest: hal_nxp: update hal revision to pull in mcux_qtmr driver
In preparation of mcux_qtmr counter driver.

Signed-off-by: Jan Peters <peters@kt-elektronik.de>
2022-05-03 20:41:23 -05:00
Armando Visconti 1b07c9ed47 modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.01
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v2.01.

Requires https://github.com/zephyrproject-rtos/hal_st/pull/9
(merged as 52a522ca4a8a9ec1e9bb5bb514e1ab6f102863fe)

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2022-05-03 08:36:50 -05:00
Sylvio Alves 6c6b688b91 driver: spi: esp32: update flash driver to use hal
This modification is required to enable flash encryption.
Using hal implementation of spi_flash calls maintains
compability amongs different socs while offering
latest esp-idf enhancements.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-05-02 10:30:24 -05:00
Daniel DeGrasse b21359d078 manifest: hal_nxp: update NXP hal to include new LPC pin control headers
update NXP hal to include pin control headers for all LPC socs.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-05-02 09:41:42 -05:00
Carlo Caione 66c89e521c libmetal: Bump to v2022.04.0
Bump libmetal to v2022.04.0

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-05-02 08:45:37 -05:00
Carlo Caione 55dc21ffb9 openamp: Bump to v2022.04.0
Bump OpenAMP to v2022.04.0 and fix Zephyr terminology linked to OpenAMP.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-05-02 08:44:17 -05:00
Carlo Caione 69b28bfd07 pm: policy: Consider substates for state lock functions
Extend the current pm_policy_state_lock_*() functions to support
substates.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-04-28 16:32:23 +02:00
Bartosz Golaszewski 18453017ae west.yml: bump the lvgl revision
This update introduces several bug fixes and improvements:
- correctly handle kscan inputs outside of range
- don't be too verbose with spurious kscan events
- fix the whene param in lvgl's filesystem seek callback

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
2022-04-25 13:23:34 -05:00
Mahesh Mahadevan 154a297f99 west.yml: Get NXP HAL changes to link SDK symols in ramfunc
Pull in the NXP HAL changes to link SDK CodeQuickAccess symbols
to Zephyr ramfunc region

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-04-22 13:33:29 -05:00
Aastha Grover 7141c8763f sample: syst: Add intel_adsp_cavs support
Adding configurations for enabling this sample project on cavs
platforms. This patch also contains a fix to mipi_syst library
which resolves the memory alignment issue across different
architectures.

Fixes #43344

Signed-off-by: Aastha Grover <aastha.grover@intel.com>
Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2022-04-20 10:25:16 -04:00
Glauber Maroto Ferreira 095d90cb32 west.yml: update hal_espressif's revision
update hal_espressif's revision to latest
HAL pinctrl support

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-04-20 13:27:47 +02:00
Anas Nashif 1eb3446fbc manifest: update to sof 2efc3ea41c007
Update to commit <2efc3ea41c0074c6dab5f376fafaa26f52c25c75> ("topology2:
dmic-generic: add support for 4ch capture" from upstream SOF.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-04-20 09:50:26 +02:00
Daniel DeGrasse 916c059f3d drivers: pinctrl: update lpc pin control implementation to use offsets
update pin control implementation to use offsets for pin registers
instead of pin/port combination, to permit additional flexibility for
lpc devices with non contiguous register layouts. Update LPC55s69 pin
control names to align with newly generated pin control header.

This change also requires an update to the NXP HAL to use the new pin
control headers with offsets.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-04-19 15:53:50 -05:00
Yuval Peress aaf0c6e827 modules: chre
Add initial build rules for CHRE. This change includes a Kconfig and
CMakeLists.txt to begin compiling code from the CHRE module.
Additional files are included to bridge the APIs from CHRE's to
Zephyr's. These can be found in modules/chre/include and
modules/chre/src.

Additionally, add a sample to make sure that the module builds. It can
be built via:

```
$ west build -b native_posix -p=always samples/application_development/chre
```

Signed-off-by: Yuval Peress <peress@google.com>
2022-04-18 13:21:52 -05:00
Ederson de Souza c0b7864840 arch/xtensa: Enable backtrace on panic on Intel ADSP platforms
Platform specific functions necessary to enable this feature were
implemented (z_xtensa_ptr_executable() and
z_xtensa_stack_ptr_is_sane() for Intel ADSP platforms.

Current implementation just ensures stack pointer and program counter
are within relevant areas defined in the linker scripts, without going
too fine grained.

Also, `.iram1` section, used by the backtrace code, also added to
Intel ADSP linker script.

Finally, update west manifest to use up-to-date SOF, which contains a
patch to fix build issues related to the linker changes.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2022-04-14 11:03:40 -04:00
Conor Paxton 9a297ae376 manifest: update hal_microchip
update hal_microchip revision, which includes mpfs_hal
for Microchip's PolarFire-SoC Icicle Kit.

Signed-off-by: Conor Paxton <conor.paxton@microchip.com>
2022-04-11 10:20:01 -05:00