freertos: remove FREERTOS_ASSERT option

Freertos asserts are now configured the same way as all other asserts in IDF,
i.e. by configuring COMPILER_OPTIMIZATION_ASSERTION_LEVEL.
This commit is contained in:
Marius Vikhammer
2021-12-28 12:54:31 +08:00
parent 4bf67afd0a
commit 7255497146
16 changed files with 16 additions and 68 deletions

View File

@@ -5,7 +5,7 @@
#include "test_utils.h"
/* If assertions aren't set to fail this code still crashes, but not with an abort... */
#if CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER && CONFIG_FREERTOS_ASSERT_FAIL_ABORT
#if CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER && !CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE
static void mutex_release_task(void* arg)
{