5
5
Migration guide to Zephyr v3.6.0 (Working Draft)
6
6
################################################
7
7
8
- This document describes the changes required or recommended when migrating your
9
- application from Zephyr v3.5.0 to Zephyr v3.6.0.
8
+ This document describes the changes required when migrating your application from Zephyr v3.5.0 to
9
+ Zephyr v3.6.0.
10
10
11
11
Any other changes (not directly related to migrating applications) can be found in
12
12
the :ref: `release notes<zephyr_3.6> `.
13
13
14
- Required changes
15
- ****************
16
-
17
14
Build System
18
- ============
15
+ ************
19
16
20
17
* The deprecated ``prj_<board>.conf `` Kconfig file support has been removed, projects that use
21
18
this should switch to using board Kconfig fragments instead (``boards/<board>.conf ``).
@@ -34,7 +31,7 @@ Build System
34
31
instead use the new ``-DFILE_SUFFIX `` feature :ref: `application-file-suffixes `.
35
32
36
33
Kernel
37
- ======
34
+ ******
38
35
39
36
* The system heap size and its availability is now determined by a ``K_HEAP_MEM_POOL_SIZE ``
40
37
define instead of the :kconfig:option: `CONFIG_HEAP_MEM_POOL_SIZE ` Kconfig option. Subsystems
46
43
being disabled).
47
44
48
45
Boards
49
- ======
46
+ ******
50
47
51
48
* The deprecated Nordic SoC Kconfig option ``NRF_STORE_REBOOT_TYPE_GPREGRET `` has been removed,
52
49
applications that use this should switch to using the :ref: `boot_mode_api ` instead.
55
52
``mimxrt1020_evk ``, ``mimxrt1015_evk ``
56
53
57
54
Optional Modules
58
- ================
55
+ ****************
59
56
60
57
The following modules have been made optional and are not downloaded with `west update ` by default
61
58
anymore:
@@ -67,7 +64,7 @@ name>`` command, or ``west config manifest.group-filter -- +optional`` to
67
64
enable all optional modules, and then run ``west update `` again.
68
65
69
66
Device Drivers and Device Tree
70
- ==============================
67
+ ******************************
71
68
72
69
* Various deprecated macros related to the deprecated devicetree label property
73
70
were removed. These are listed in the following table. The table also
@@ -361,7 +358,7 @@ Device Drivers and Device Tree
361
358
for the boards which are based on ST BlueNRG-MS.
362
359
363
360
Shell
364
- =====
361
+ *****
365
362
366
363
* The following subsystem and driver shell modules are now disabled by default. Each required shell
367
364
module must now be explicitly enabled via Kconfig (:github: `65307 `):
@@ -405,14 +402,14 @@ Shell
405
402
also has to be enabled in order to use the asynchronous serial shell (:github: `68475 `).
406
403
407
404
Bootloader
408
- ==========
405
+ **********
409
406
410
407
* MCUboot's deprecated ``CONFIG_ZEPHYR_TRY_MASS_ERASE `` Kconfig option has been removed. If an
411
408
erase is needed when flashing MCUboot, this should now be provided directly to the ``west ``
412
409
command e.g. ``west flash --erase ``. (:github: `64703 `)
413
410
414
411
Bluetooth
415
- =========
412
+ *********
416
413
417
414
* ATT now has its own TX buffer pool.
418
415
If extra ATT buffers were configured using :kconfig:option: `CONFIG_BT_L2CAP_TX_BUF_COUNT `,
@@ -495,7 +492,7 @@ Bluetooth
495
492
496
493
497
494
LoRaWAN
498
- =======
495
+ *******
499
496
500
497
* The API to register a callback to provide battery level information to the LoRaWAN stack has been
501
498
renamed from ``lorawan_set_battery_level_callback `` to
@@ -504,7 +501,7 @@ LoRaWAN
504
501
(:github: `65103 `)
505
502
506
503
Networking
507
- ==========
504
+ **********
508
505
509
506
* The CoAP public API has some minor changes to take into account. The
510
507
:c:func: `coap_remove_observer ` now returns a result if the observer was removed. This
@@ -552,7 +549,7 @@ Networking
552
549
removed.
553
550
554
551
zcbor
555
- =====
552
+ *****
556
553
557
554
* If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
558
555
regenerate the files using zcbor 0.8.1. Note that the names of generated types and members has
@@ -579,7 +576,7 @@ zcbor
579
576
:c:func: `zcbor_trace_file ` and :c:func: `zcbor_trace `, both of which take a ``state `` parameter.
580
577
581
578
Other Subsystems
582
- ================
579
+ ****************
583
580
584
581
* MCUmgr applications that make use of serial transports (shell or UART) must now select
585
582
:kconfig:option: `CONFIG_CRC `, this was previously erroneously selected if MCUmgr was enabled,
@@ -596,7 +593,7 @@ Other Subsystems
596
593
and :kconfig:option: `ZBUS_MSG_SUBSCRIBER_BUF_ALLOC_STATIC ` options should be used.
597
594
598
595
Userspace
599
- =========
596
+ *********
600
597
601
598
* A number of userspace related functions have been moved out of the ``z_ `` namespace
602
599
and into the kernel namespace.
@@ -633,7 +630,7 @@ Userspace
633
630
* ``z_dynamic_object_aligned_create `` to :c:func: `k_object_create_dynamic_aligned `
634
631
635
632
Xtensa
636
- ======
633
+ ******
637
634
638
635
* :kconfig:option: `CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC ` no longer has a default in
639
636
the architecture layer. Instead, SoCs or boards will need to define it.
@@ -656,14 +653,3 @@ Xtensa
656
653
* ``z_xtensa_irq_disable `` to :c:func: `xtensa_irq_disable `
657
654
658
655
* ``z_xtensa_irq_is_enabled `` to :c:func: `xtensa_irq_is_enabled `
659
-
660
- Recommended Changes
661
- *******************
662
-
663
- * New macros available for ST sensor DT properties setting. These macros have a self-explanatory
664
- name that helps in recognizing what the property setting means (e.g. LSM6DSV16X_DT_ODR_AT_60Hz).
665
- (:github: `65410 `)
666
-
667
- * Users of :ref: `native_posix<native_posix> ` are recommended to migrate to
668
- :ref: `native_sim<native_sim> `. :ref: `native_sim<native_sim> ` supports all its use cases,
669
- and should be a drop-in replacement for most.
0 commit comments