mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-16 09:52:22 +00:00
unity: separate common and IDF specific functionality
New unity component can be used for testing other applications. Upstream version of Unity is included as a submodule. Utilities specific to ESP-IDF unit tests (partitions, leak checking setup/teardown functions, etc) are kept only in unit-test-app. Kconfig options are added to allow disabling certain Unity features.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "freertos/semphr.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "unity.h"
|
||||
#include "test_utils.h"
|
||||
|
||||
#if (CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE > 0)
|
||||
#define NO_OF_QUEUES_PER_CORE ((int)((CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE - 3)/portNUM_PROCESSORS)) //Save space for some preallocated tasks
|
||||
|
||||
Reference in New Issue
Block a user