forked from espressif/esp-idf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
59 changed files
with
100 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity) | ||
PRIV_REQUIRES cmock) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils app_update bootloader_support nvs_flash | ||
) | ||
PRIV_REQUIRES cmock test_utils app_update bootloader_support nvs_flash | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity bootloader_support app_update) | ||
PRIV_REQUIRES cmock bootloader_support app_update) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
if(CONFIG_BT_ENABLED OR CMAKE_BUILD_EARLY_EXPANSION) | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity nvs_flash bt) | ||
endif() | ||
PRIV_REQUIRES cmock nvs_flash bt) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# | ||
# Component Makefile | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils console) | ||
PRIV_REQUIRES cmock test_utils console) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity) | ||
PRIV_REQUIRES cmock) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS . param_test touch_sensor_test adc_dma_test dac_dma_test | ||
PRIV_INCLUDE_DIRS include param_test/include touch_sensor_test/include | ||
PRIV_REQUIRES unity test_utils driver nvs_flash esp_serial_slave_link infrared_tools esp_adc_cal) | ||
PRIV_REQUIRES cmock test_utils driver nvs_flash esp_serial_slave_link infrared_tools esp_adc_cal) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." "include" | ||
PRIV_INCLUDE_DIRS "../private_include" | ||
PRIV_REQUIRES unity test_utils efuse bootloader_support | ||
) | ||
PRIV_REQUIRES cmock test_utils efuse bootloader_support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if(IDF_TARGET STREQUAL "esp32s2") | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common | ||
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common | ||
) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_REQUIRES unity test_utils spi_flash) | ||
PRIV_REQUIRES cmock test_utils spi_flash | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils esp_eth esp_http_client | ||
PRIV_REQUIRES cmock test_utils esp_eth esp_http_client | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS . ../private_include | ||
PRIV_REQUIRES unity test_utils esp_event driver) | ||
PRIV_REQUIRES cmock test_utils esp_event driver) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
INCLUDE_DIRS "." | ||
REQUIRES unity test_utils esp_hid) | ||
REQUIRES cmock test_utils esp_hid) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils esp_http_client) | ||
PRIV_REQUIRES cmock test_utils esp_http_client) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils esp_http_server) | ||
PRIV_REQUIRES cmock test_utils esp_http_server) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
if(IDF_TARGET STREQUAL "esp32") | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils) | ||
PRIV_REQUIRES cmock test_utils) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "../private_include" "." | ||
PRIV_REQUIRES unity test_utils esp_netif nvs_flash) | ||
PRIV_REQUIRES cmock test_utils esp_netif nvs_flash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils) | ||
PRIV_REQUIRES cmock test_utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "../private_include" | ||
PRIV_REQUIRES unity test_utils) | ||
PRIV_REQUIRES cmock test_utils) | ||
|
||
if(CONFIG_ESP_TIMER_IMPL_FRC2) | ||
idf_build_set_property(COMPILE_DEFINITIONS "-DESP_TIMER_DYNAMIC_OVERFLOW_VAL" APPEND) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . ${CMAKE_CURRENT_BINARY_DIR} | ||
PRIV_REQUIRES unity test_utils nvs_flash ulp esp_common | ||
PRIV_REQUIRES cmock test_utils nvs_flash ulp esp_common | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity expat) | ||
PRIV_REQUIRES cmock expat) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils vfs fatfs | ||
PRIV_REQUIRES cmock test_utils vfs fatfs | ||
EMBED_TXTFILES fatfs.img | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils esp_ipc | ||
) | ||
PRIV_REQUIRES cmock test_utils esp_ipc | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils heap) | ||
PRIV_REQUIRES cmock test_utils heap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_REQUIRES unity test_utils mdns) | ||
PRIV_REQUIRES cmock test_utils mdns) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_REQUIRES unity test_utils mqtt nvs_flash app_update) | ||
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils) | ||
PRIV_REQUIRES cmock test_utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils nvs_flash bootloader_support) | ||
PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_REQUIRES unity test_utils openssl) | ||
PRIV_REQUIRES cmock test_utils openssl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils) | ||
PRIV_REQUIRES cmock test_utils) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity xtensa perfmon) | ||
PRIV_REQUIRES cmock xtensa perfmon) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_INCLUDE_DIRS "../proto-c/" | ||
PRIV_REQUIRES unity mbedtls protocomm protobuf-c) | ||
PRIV_REQUIRES cmock mbedtls protocomm protobuf-c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils pthread) | ||
PRIV_REQUIRES cmock test_utils pthread) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity sdmmc | ||
PRIV_REQUIRES cmock sdmmc | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "." | ||
PRIV_REQUIRES unity test_utils spiffs) | ||
PRIV_REQUIRES cmock test_utils spiffs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS "../private_include" "." | ||
PRIV_REQUIRES unity test_utils tcp_transport) | ||
PRIV_REQUIRES cmock test_utils tcp_transport) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils vfs fatfs spiffs) | ||
PRIV_REQUIRES cmock test_utils vfs fatfs spiffs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
idf_component_register(SRC_DIRS . | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils wear_levelling | ||
PRIV_REQUIRES cmock test_utils wear_levelling | ||
EMBED_FILES test_partition_v1.bin | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/cxx/experimental/experimental_cpp_component/test/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
PRIV_INCLUDE_DIRS . | ||
PRIV_REQUIRES unity test_utils experimental_cpp_component) | ||
PRIV_REQUIRES cmock test_utils experimental_cpp_component) |
2 changes: 1 addition & 1 deletion
2
examples/system/unit_test/components/testable/test/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
idf_component_register(SRC_DIRS "." | ||
INCLUDE_DIRS "." | ||
REQUIRES unity testable) | ||
REQUIRES cmock testable) |
Oops, something went wrong.