Commit graph

117 commits

Author SHA1 Message Date
Gerard Marull-Paretas 9a7cb2194c doc: release-notes: inform about COMPILER_TRACK_MACRO_EXPANSION
This option is relevant enough to appear in the release notes, since it
is helpful to ease the debugging of a frequent issue.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas 88c0f64b2e doc: release-notes: add PM changes
Add relevant power-management changes.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas a5937cdd4e doc: release-notes: add device model changes
Inform about relevant changes to the device model.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas 3e505737c6 doc: release-notes: add regulators release notes
Add relevant changes to the regulator driver class.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas 6ceb802f84 doc: release-notes: add pinctrl changes
Add new driver additions for pinctrl.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas 57f21993a6 doc: release-notes: inform about pinmux removal
Pinmux API has been removed in favor of pin control.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Gerard Marull-Paretas c502a119e9 doc: release-notes: remove dead TF-M entry
TF-M changes are documented in another section of the document, this is
likely a merge mistake.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-30 08:58:48 -04:00
Eivind Jølsgard 0ce3e20bfb boards: arm: nrf9160dk: change order of buttons on IO expander
Change order of buttons and switches on the nRF9160DK IO expander to
match the configuration without the IO expander.

Follow-up to commit d565aa2.

Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
2023-05-29 13:05:25 +02:00
Jamie McCrae d8d119fd9c doc: release: 3.4: Add auxdisplay addition node
Adds a note on unstable auxiliary display support being added,
alongside 3 drivers.

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2023-05-26 23:05:58 +02:00
Gregers Gram Rygg 8ea9fcead2 boards: nrf9160dk: Enable external flash switch in board controller
Enable the external_flash_pins_routing switch in the board controller
overlay for nRF9160 DK revision 0.14.0 and newer. This is to match the
behaviour of the factory shipped borad controller on board revisions
that have external flash.

Signed-off-by: Gregers Gram Rygg <gregers.gram.rygg@nordicsemi.no>
2023-05-26 13:54:05 -04:00
Gregers Gram Rygg 9751ad7db1 boards: nrf9160dk: Change default revision to 0.14.0
Change the default revision of the nRF9160 DK to 0.14.0 to make it
easier to use external flash.

Signed-off-by: Gregers Gram Rygg <gregers.gram.rygg@nordicsemi.no>
2023-05-26 13:54:05 -04:00
Fabio Baltieri 5f68ea686d doc: release: 3.4: add a note about build time priority checking
Add a release note entry about the new build time priority check option.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-05-26 09:54:41 -04:00
Jamie McCrae b4f5559f87 doc: release: 3.4: Add note on fs_mgmt MCUmgr changes
Adds a note on changes made to fs_mgmt hooks.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-26 10:20:39 +02:00
Yuval Peress 64c41022e2 twister: Add support for gTest as a harness
Some 3P logic (Pigweed for example) is already heavily invested in
gTest as a testing framework. Adding the `gtest` harness enables
running the existing 3P tests on various Zephyr platforms and configs.

Signed-off-by: Yuval Peress <peress@google.com>
2023-05-24 19:39:10 -04:00
Jamie McCrae e3413fde16 doc: release: 3.4: Add note on MCUmgr being marked as stable API
Adds a note that MCUmgr is now a stable API.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-23 17:05:24 +02:00
Torsten Rasmussen 6f9e86a5a8 doc: release: 3.4: add note about EXTRA_<VAR> Zephyr build variables
Update release notes 3.4 with description of
EXTRA_CONF_FILE, EXTRA_DTC_OVERLAY_FILE, and EXTRA_ZEPHYR_MODULES.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2023-05-23 16:40:21 +02:00
Benedikt Schmidt 940ddba8bd drivers: dac: make output buffer for STM32 DAC configurable
If an operational amplifier is used on the DAC output it is
preferrable to disable the DAC output buffer.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
2023-05-23 13:02:25 +02:00
Mykola Kvach 0913f8e83d doc: release: 3.4: add note about adding FS_LITTLEFS_FMP_DEV
Update release notes 3.4 with the new Flash Map Kconfig option
for LittleFS.

Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>

# Conflicts:
#	doc/releases/release-notes-3.4.rst
2023-05-19 15:53:29 +02:00
Carles Cufi 837245fcec mcuboot: move the MCUboot kconfig file to modules/
After the MCUboot configuration options were moved out of the main
Kconfig.zephyr they were placed in a new Kconfig.mcuboot in the root of
the repo. This is not right, and the file belongs in the modules/
folder.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2023-05-18 14:09:00 -04:00
Fabio Baltieri 77c210b72e doc: release: add a note about nuvoton,npcx-kbd migration
Add a note about the nuvoton,npcx-kbd driver migration from kscan to
input.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-05-18 09:32:33 +02:00
Jamie McCrae c54b71d3b0 doc: release: 3.4: Add note on MCUmgr SMP transport changes
Adds a note that transports now need to set up the struct
themselves prior to calling the registration function.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-15 10:23:35 +02:00
Jamie McCrae 0e1a1f4899 doc: release: 3.4: Add note on new SMP MCUmgr protocol version
Adds a note on the new version of the SMP MCUmgr protocol.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-15 09:27:16 +02:00
Robert Lubos ff0fd2d7a7 net: iface: Improve thread safety of net_if_ipv*_maddr_* functions
Provide an extra struct net_if * iface parameter to
net_if_ipv*_maddr_join/leave functions, so that the corresponding
interface context, the mcast address belong to, can be locked for the
operation.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-05-10 11:06:15 +02:00
Andrzej Głąbek 0b573a1f38 drivers: spi_flash_at45: Fix erasing of first two sectors
Most available AT45 flash chips have their first two sectors shorter
than the consecutive ones. Usually, the first sector is marked as 0a
and has its size equal to eight pages (one block) and the second one
(usually 0b) is the complement to the size of a regular sector.
This commits modifies the driver so that erasing of these first two
sectors is performed correctly. This modified behavior is configurable
with a new DT property so that it is still possible to also use legacy
AT45 chips that do not feature such sector split. Such legacy chips
usually also do not support the chip erase and sector erase commands,
so two more DT properties are introduced to cover that.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-05-09 12:22:15 +02:00
Maurits Fassaert 11863028c1 storage: updated release notes for flash_map list labels
The new CONFIG_FLASH_MAP_LABELS and its effect is described.

Signed-off-by: Maurits Fassaert <maurits.fassaert@sensorfy.ai>
2023-05-05 10:02:19 +02:00
Laczen JMS d496a17bb6 flash_simulator: add ability to use memory region
Add the ability for the flash simulator to store its contents in a
memory region.

This allows filesystems on the flash simulator to survive a reboot.
And allows subsystems (e.g. coredump) to store their info on ram while
using the (existing) flash partition backend.

Add a example (for nucleo_f411re) that shows how to configure the flash
simulator for hardware (cfg discussion #54166).

Signed-off-by: Laczen JMS <laczenjms@gmail.com>
2023-05-04 20:49:57 +02:00
Jamie McCrae 9a5e9e412f doc: release: 3.4: Add note on build system changes.
Adds a note that *_ROOT variables are now supported properly on an
image basis when using sysbuild, and that sysbuild_cache_set has
been added, and that zephyr_get has had a MERGE option added.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-05-03 14:25:33 +02:00
Declan Snyder ef697e5c4f doc: release 3.4: update doc for LPADC DT change
Update 3.4 release notes to bring awareness to the
shifted values of voltage-ref and power-level
properties of the LPADC node

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-04-25 19:59:23 +02:00
Gerard Marull-Paretas d2917610a5 doc: release-notes: inform about SPI CS changes
Inform about the cs field change in struct spi_config. Also mention what
drivers must use from now on.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-04-24 21:29:55 +02:00
Pawel Osypiuk 4b7f156403 IPC: rpmsg: Changed method of checking bounded endpoints
Initially that was checked by presence of name and now is changed
to check the flag.

Signed-off-by: Pawel Osypiuk <pawelosyp@gmail.com>
2023-04-24 15:45:09 +02:00
Sihyun Noh 7d730ff0a7 doc: releases: Update File systems
Added updates to the file system.

Signed-off-by: Sihyun Noh <awake_noh@naver.com>
2023-04-24 13:34:37 +02:00
Jamie McCrae 20e142cb34 doc: release: 3.4: Add retention subsystem and boot mode entries
Adds details on the newly introduced retention subsystem and boot
mode APIs to the release notes.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-04-24 13:27:53 +02:00
Jamie McCrae 1369bcec3f doc: release: 3.4: Add nRF51/nRF52 sys_reboot deprecation note
Adds a note that the old behaviour of setting the GPREGRET register
to the parameter of sys_reboot() is no longer the default as the
boot mode interface has replaced it.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-04-24 13:27:53 +02:00
Bjarki Arge Andreasen 20bbb538c9 tests/drivers/rtc/rtc_api_helpers: Test for more archs
The test suite was limited to the native_posix board,
now it is built and run for any board supported by CI.

The native_posix yaml files for both 32 and 64 bit
boards have been expanded to support rtc, allowing CI
to build and test the rtc_api test suite against the
native_posix and native_posix_64 boards.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
2023-04-20 11:43:35 +02:00
Bjarki Arge Andreasen 95751328f5 doc/release/release-notes-3.4.rst: Added RTC API entry
Added entry for new RTC API in new APIs section of
release notes.

Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
2023-04-20 11:43:35 +02:00
Peter Mitsis 1621376b80 docs: release: 3.4: List removed absolute symbols
Updates the release notes to document which absolute symbols
(generated via GEN_ABSOLUTE_SYM) have been removed.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2023-04-18 10:51:28 -04:00
Øyvind Rønningstad d587343248 west.yml: Update zcbor to point to 0.7.0
Among other things, this update brings:

* C++ improvements
* float16 support
* Improved docs
* -Wall and -Wconversion compliance

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2023-04-18 15:22:02 +02:00
Andrzej Głąbek 8fba8aa535 drivers: flash: nrf_qspi_nor: Add custom API function to allow XIP
Normally, the driver deactivates the QSPI peripheral for periods when
no QSPI operation is performed. This is done to avoid increased current
consumption when the peripheral is idle. For the same reason, the base
clock on nRF53 Series SoCs (HFCLK192M) is configured for those periods
with the default /4 divider that cannot be used otherwise. However,
when XIP accesses are used, the driver must be prevented from doing
both these things as that would make XIP to fail. Hence, a function
is provided so that applications can inform the driver that XIP is
needed and the above idle actions should be suppressed.
This function (`nrf_qspi_nor_xip_enable()`) replaces the old one
(`nrf_qspi_nor_base_clock_div_force()`) that was intended for similar
purpose but after deactivation of the peripheral was introduced in
commit 95d867e8ed it became useless.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-04-17 16:43:16 +02:00
Keith Packard 7d4a7d79a8 doc/releases: Note "main" return type change for 3.4
Add a paragraph explaining the change from void main(void) to int
main(void) and the requirement for main functions to return zero.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-14 07:49:41 +09:00
Gerard Marull-Paretas c1a46e21b1 doc: release-notes: inform about SYS_INIT changes
Inform about SYS_INIT callback signature change. Also mention the
provided utility script to automatically migrate existing projects.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-04-12 14:28:07 +00:00
Jamie McCrae 65101ec683 doc: release: 3.4: Add note on nRF RTC system timer stop support
Adds a note that the system timer stop function has now been
implemented for the nRF RTC timer driver.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-04-11 12:02:47 +02:00
Yuval Peress 80d70b4e96 rtio: Add cqe per each sqe in transaction
Update the policy such that every completed sqe has a parallel cqe.
This has the primary purpose of making any reads in the sqe visible
to the consumer (since they might have different buffers).

Signed-off-by: Yuval Peress <peress@google.com>
2023-04-10 18:34:43 -04:00
Fabio Baltieri 14df8fa88f docs: release: 3.4: add input subsystem notes
Add the release notes covering the input subsystem work so far.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-04-07 11:30:14 +02:00
Manuel Arguelles 7bdf6479bf doc: release-notes: fix fs_mount() return code
Document fixes done for #56378.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2023-04-04 18:22:10 +02:00
Jamie McCrae 992986eb5e doc: release: 3.4: Add note on MCUmgr fs_mgmt improvements
Adds details on the update fs_mgmt features for faster
uploads/downloads and new Kconfig entries added.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-04-04 11:51:43 +02:00
Chris Friedt 56e1a39703 doc: release: 3.4: note removal of beaglev_starlight_jh7100
This board unfortunately did not make it to production.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2023-03-30 17:31:27 -04:00
Jamie McCrae 37c1e79f70 doc: release: 3.4: Add note on west signing extending
Adds a note that the west signing file can now be replaced.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-29 15:53:50 +00:00
Jamie McCrae fc683e568f docs: release: 3.4: Add MCUmgr shell input timeout note
Adds details of the new MCUmgr shell transport input expiration
functionality.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-29 11:30:55 +02:00
Dominik Ermel 0d95e1684c doc/release-notes/3.4: Note on CONFIG_MCUBOOT_CMAKE_WEST_SIGN_PARAMS
Note on addition of Kconfig option
CONFIG_MCUBOOT_CMAKE_WEST_SIGN_PARAMS.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-03-24 09:04:49 +01:00
Daniel DeGrasse 69ef610c03 doc: release/3.4: add note about LPADC API change
Add note highlighting change to LPADC channel selection setup, so that
users will be aware they need to change their devicetree configuration

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-03-23 08:58:44 +00:00
Sebastian Panceac 2e7c02bef6 Bluetooth: pairing: OOB: Separate LE SC OOB from legacy OOB logic
Some systems can support only legacy OOB pairing while others only
LE SC OOB pairing.

The existent API function "bt_set_oob_data_flag" was removed.

Two new API functions were added:

 * "bt_le_oob_set_legacy_flag" to signal that legacy OOB pairing is used
 * "bt_le_oob_set_sc_flag" to signal that LE SC OOB pairing is used

The code will now advertise the presence of OOB flag depending
on the type of pairing method(SC vs legacy)

Signed-off-by: Sebastian Panceac <sebastian.panceac@ext.grandcentrix.net>
2023-03-20 16:13:18 +01:00
Jamie McCrae 44a7a75b19 doc: release: 3.4: Add retained_mem driver
Adds details on the new retained memory driver.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-20 15:02:09 +01:00
Jamie McCrae c18e7f3ec1 docs: release: 3.4: Add note on prj_<board>.conf deprecation
Adds a note that this method of configuration is now deprecated.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-20 10:18:32 +01:00
Krishna T 65aae9cbfb net: wifi: Use micro seconds for precision for TWT intervals
In order to take granular input use micro seconds as input for TWT
intervals, this helps us in providing inputs such as 65.28ms without the
need of using floating points.

This also expands the TWT wake interval range to 262.144ms, earlier as
we want to use uint8, limited to 256ms.

Also, remove the units from the variable names, this is unnecessary and
also avoids doing breaking changes.

Update release notes as this is a breaking change, both type and
variable names are changed.

Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
2023-03-20 09:53:02 +01:00
Maureen Helm 99ebc9f4a5 doc: release: Document sensor driver API clarification for v3.4
Updates the release notes to document a clarification to the sensor
driver API on sensor triggers.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2023-03-20 09:52:35 +01:00
Jamie McCrae 6d4e31d3f1 docs: release: 3.4: Add note on prj.conf requirement
Adds a note that the prj.conf (or equivalent) file is mandatory
for applications.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-17 11:49:27 +01:00
Patryk Duda 73d0118c06 doc: release-notes: Update release notes 3.4
Add information about Flash API changes.

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2023-03-14 11:17:13 +01:00
Nicola Ochsenbein 516b6730c6 doc: release-notes: Update release notes 3.4
Update release notes 3.4 with the new FatFs reentrant Kconfig option.

Signed-off-by: Nicola Ochsenbein <Nicola.Ochsenbein@husqvarnagroup.com>
2023-03-13 11:58:57 +01:00
Joel Guittet 031b294c91 doc: release_notes v3.3: Add new board wio terminal
Add new board Wio Terminal from Seeed Studio

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2023-03-09 15:18:25 -06:00
Jamie McCrae 6f4a077bc6 docs: release: 3.4: Add note on sysbuild mcuboot checksum fix
Adds a note that images are now bootable when built using sysbuild
with mcuboot in checksum only mode.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-09 09:44:54 +00:00
Jamie McCrae e253dc94a1 docs: release: 3.4: Fix extra word
Removes an extra word which was repeated

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-09 09:44:54 +00:00
Pavel Vasilyev eef9553669 docs: release: 3.4: Add exp support for new Bluetooth mesh draft specs
Add a note about added experimental support for new Bluetooth mesh
specifications.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2023-03-06 13:52:15 +01:00
Jamie McCrae 297b99d9b6 doc: release: 3.4: Add note on fixed Zephyr SDK toolchain issue
Adds a note on a fixed issue whereby the latest Zephyr SDK
toolchain was not used depending upon hash values in the cmake
registry.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-06 13:51:36 +01:00
Jamie McCrae ddd8f3e2dc doc: release: 3.4: Add not on Kconfig mgmt changes
Adds a note that FLASH_MAP and STREAM_FLASH now also need to be
selected to be able to enable the mcuboot image manager Kconfig
option, to avoid a cmake dependency loop, and Kconfigs required
for other mgmt subsystems.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-03 10:49:32 +01:00
Jamie McCrae d5ae8cdb19 doc: release: 3.4: Add MCP7940N BBRAM support note
Adds a note that a driver for the Microchip MCP7940N battery
backed RTC SRAM has been added.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-03-01 08:55:39 +01:00
Bartosz Bilas 2b4a6e52d5 drivers: i2c: eeprom_target: switch to dedicated driver compatible
Create and use a new `zephyr,i2c-target-eeprom` compatible
within I2C  eeprom target driver that allows to use
that driver along with real atmel at24 EEPROM simultaneously.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2023-02-21 18:03:11 -05:00
Jamie McCrae 8b27889c7f doc: release: 3.4: Add working release notes file
Adds a base working release notes file for the Zephyr 3.4 release.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-02-20 10:54:36 +01:00