Make host tests compilible.
app_update/esp_ota_eps.c \
log/log.c \
newlib/lock.c \
- esp32/crc.cpp
+ esp32/crc.cpp \
+ esp32/esp_random.c
INCLUDE_DIRS := \
../include \
-#include <stdio.h>\r
-#include <stdlib.h>\r
-#include <stdarg.h>\r
-#include <time.h>\r
-#include <string.h>\r
-#include <stddef.h>\r
-\r
-#include "esp_system.h"\r
-\r
-uint32_t esp_random(void)\r
-{\r
- return (uint32_t)rand();\r
-}\r
-\r
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdarg.h>
+#include <time.h>
+#include <string.h>
+#include <stddef.h>
+
+#include "esp_system.h"
+
+uint32_t esp_random(void)
+{
+ return (uint32_t)rand();
+}
+
include Makefile.files
all: test
- log/esp_random.c \
+
ifndef SDKCONFIG
SDKCONFIG_DIR := $(dir $(realpath sdkconfig/sdkconfig.h))