doc: Add sections about zcbor 0.9.0

to release notes and migration guide.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
Øyvind Rønningstad 2024-08-27 14:59:02 +02:00 committed by Anas Nashif
commit 4fa098f5d0
2 changed files with 35 additions and 0 deletions

View file

@ -45,6 +45,27 @@ Trusted Firmware-M
LVGL
====
zcbor
=====
* Updated the zcbor library to version 0.9.0.
Full release notes at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/RELEASE_NOTES.md
Migration guide at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/MIGRATION_GUIDE.md
Migration guide copied here:
* `zcbor_simple_*()` functions have been removed to avoid confusion about their use.
They are still in the C file because they are used by other functions.
Instead, use the specific functions for the currently supported simple values, i.e.
`zcbor_bool_*()`, `zcbor_nil_*()`, and `zcbor_undefined_*()`.
If a removed variant is strictly needed, add your own forward declaration in your code.
* Code generation naming:
* More C keywords are now capitalized to avoid naming collision.
You might have to capitalize some instances if your code was generated to have those names.
* A fix was made to the naming of bstr elements with a .size specifier, which might mean that these elements change name in your code when you regenerate.
Device Drivers and Devicetree
*****************************

View file

@ -353,6 +353,20 @@ Trusted Firmware-M
LVGL
****
zcbor
*****
* Updated the zcbor library to version 0.9.0.
Full release notes at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/RELEASE_NOTES.md
Migration guide at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/MIGRATION_GUIDE.md
Highlights:
* Many code generation bugfixes
* You can now decide at run-time whether the decoder should enforce canonical encoding.
* Allow --file-header to accept a path to a file with header contents
Tests and Samples
*****************