Merge branch 'feature/update_unity' into 'master'

feat(unity): upgrade to 2.6.0-RC1

See merge request espressif/esp-idf!27456
This commit is contained in:
Ivan Grokhotkov
2023-11-30 17:12:12 +08:00
13 changed files with 78 additions and 16 deletions

View File

@@ -71,7 +71,7 @@ These third party libraries can be included into the application (firmware) prod
* `CMock`_ Mock/stub generator for C, Copyright (c) 2007-14 Mike Karlesky, Mark VanderVoord, Greg Williams, is licensed under MIT license as described in :component_file:`LICENSE file <cmock/CMock/LICENSE.txt>`.
* `Unity`_ Simple Unit Testing library, Copyright (c) <year> 2007-23 Mike Karlesky, Mark VanderVoord, Greg Williams, is licensed under MIT license as described in :component_file:`LICENSE file <unity/unity/docs/license.txt>`.
* `Unity`_ Simple Unit Testing library, Copyright (c) 2007-23 Mike Karlesky, Mark VanderVoord, Greg Williams, is licensed under MIT license as described in :component_file:`LICENSE file <unity/unity/LICENSE.txt>`.
Documentation
-------------

View File

@@ -6,4 +6,19 @@ System
Power Management
-----------------------
* ``esp_sleep_enable_ext1_wakeup_with_level_mask`` is deprecated, use ``esp_sleep_enable_ext1_wakeup_io`` and ``esp_sleep_disable_ext1_wakeup_io`` instead.
* ``esp_sleep_enable_ext1_wakeup_with_level_mask`` is deprecated, use :cpp:func:`esp_sleep_enable_ext1_wakeup_io` and :cpp:func:`esp_sleep_disable_ext1_wakeup_io` instead.
Unit Testing
-----------------------
In the past versions of Unity framework, it was possible to omit a semicolon at the end of a ``TEST_ASSERT_*`` macro statement. This is no longer the case in the newer version of Unity, used in IDF v5.3.
For example, the following code:
.. code-block:: c
TEST_ASSERT(some_func() == ESP_OK)
will now result in a compilation error. To fix this, add a semicolon at the end of the statement:
TEST_ASSERT(some_func() == ESP_OK);