Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kedars committed Aug 26, 2020
1 parent 70e32d3 commit bc51c1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions config/esp32/components/chip/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ COMPONENT_ADD_INCLUDEDIRS = project-config \
COMPONENT_ADD_LDFLAGS = -L$(OUTPUT_DIR)/lib/ \
-lCHIP

ifneq (,$(findstring CHIP_SUPPORT_FOREIGN_TEST_DRIVERS,$(CXXFLAGS)))
COMPONENT_ADD_LDFLAGS += -lnlfaultinjection
endif

# Tell the ESP-IDF build system that the CHIP component defines its own build
# and clean targets.
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/esp32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

PROJECT_NAME := chip-tests

CXXFLAGS += -DCHIP_SUPPORT_FOREIGN_TEST_DRIVERS -DCHIP_TARGET_STYLE_EMBEDDED -Wno-deprecated-declarations -DCHIP_SEPARATE_CONFIG_H
CXXFLAGS += -DCHIP_TARGET_STYLE_EMBEDDED -Wno-deprecated-declarations -DCHIP_SEPARATE_CONFIG_H

EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/third_party/connectedhomeip/config/esp32/components

Expand Down

0 comments on commit bc51c1c

Please sign in to comment.