Skip to content

Commit

Permalink
bugfix(unit-test): fix errors in unit-test for latest idf
Browse files Browse the repository at this point in the history
  • Loading branch information
costaud committed Sep 5, 2017
1 parent 8328f90 commit 6a45625
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/debugs/debugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "esp_system.h"
#include "esp_log.h"
#include "esp_wifi.h"
#include "esp_deep_sleep.h"
#include "debugs.h"

#define IOT_CHECK(tag, a, ret) if(!(a)) { \
Expand Down
1 change: 1 addition & 0 deletions components/debugs/test/debugs_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

#include "esp_system.h"
#include "esp_deep_sleep.h"
#include "esp_log.h"
#include "debugs.h"
#include "unity.h"
Expand Down
1 change: 1 addition & 0 deletions components/ulp_monitor/test/ulp_monitor_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <string.h>
#include "esp_system.h"
#include "esp_log.h"
#include "esp_deep_sleep.h"
#include "ulp_monitor.h"
#include <time.h>
#include <sys/time.h>
Expand Down
2 changes: 1 addition & 1 deletion submodule/esp-idf
Submodule esp-idf updated from 84dec4 to f17bbf
3 changes: 3 additions & 0 deletions tools/unit-test-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# project subdirectory.
#

#We will use the esp-idf in submodule by default.
IDF_PATH:=$(shell pwd)/../../submodule/esp-idf

PROJECT_NAME := unit-test-app

EXTRA_COMPONENT_DIRS := $(shell pwd)/../../components $(shell pwd)/../../abstract $(shell pwd)/../../platforms $(shell pwd)/../../products
Expand Down

0 comments on commit 6a45625

Please sign in to comment.