From 324f5749dcc0aa256de2f414a48da511b540e33a Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Mon, 4 Nov 2019 09:54:01 -0600 Subject: [PATCH] doc: dt: Add note about deprecation of generated_dts_board.conf Note that generated_dts_board.conf is now deprecated and that users should utilize functions to access DT related information that was coming from generated_dts_board.conf. Signed-off-by: Kumar Gala --- doc/releases/release-notes-2.1.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/releases/release-notes-2.1.rst b/doc/releases/release-notes-2.1.rst index c4db7fffdc4..134ec685e9b 100644 --- a/doc/releases/release-notes-2.1.rst +++ b/doc/releases/release-notes-2.1.rst @@ -96,6 +96,17 @@ Build and Infrastructure Use new functions that utilize eDTS info such as dt_node_reg_addr. See :zephyr_file:`scripts/kconfig/kconfigfunctions.py` for details. +* Deprecated direct use of the ``DT_`` Kconfig symbols from the generated + ``generated_dts_board.conf``. This was done to have a single source of + Kconfig symbols coming from only Kconfig (additionally the build should + be slightly faster). For Kconfig files we should utilize functions from + :zephyr_file:`scripts/kconfig/kconfigfunctions.py`. See + :ref:`kconfig-functions` for usage details. For sanitycheck yaml usage + we should utilize functions from + :zephyr_file:`scripts/sanity_chk/expr_parser.py`. Its possible that a + new function might be required for a particular use pattern that isn't + currently supported. + * Various parts of the binding format have been simplified. The format is better documented now too.