cmock: added cmock as component

* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
This commit is contained in:
Jakob Hasse
2020-08-05 10:16:32 +08:00
parent 5c5c7c4449
commit 20c068ef3b
59 changed files with 100 additions and 60 deletions

View File

@@ -0,0 +1,5 @@
# Although unity is a submodule of cmock, we still depend on the unity component in IDF.
# This is because CI currently doesn't checkout submodules recursively.
idf_component_register(SRCS "CMock/src/cmock.c"
REQUIRES unity
INCLUDE_DIRS "CMock/src")

View File

@@ -0,0 +1 @@
CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H

View File

@@ -0,0 +1,4 @@
#
# Component Makefile
#