mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
test: fix several test build error
This commit is contained in:
parent
aea901f014
commit
b7ecccd901
@ -39,6 +39,8 @@
|
|||||||
#if !DISABLED_FOR_TARGETS(ESP8266, ESP32, ESP32S3) // This testcase for ESP32S2
|
#if !DISABLED_FOR_TARGETS(ESP8266, ESP32, ESP32S3) // This testcase for ESP32S2
|
||||||
|
|
||||||
#include "soc/system_reg.h"
|
#include "soc/system_reg.h"
|
||||||
|
#include "soc/spi_reg.h"
|
||||||
|
#include "soc/soc.h"
|
||||||
#include "soc/lldesc.h"
|
#include "soc/lldesc.h"
|
||||||
#include "test/test_adc_dac_dma.h"
|
#include "test/test_adc_dac_dma.h"
|
||||||
|
|
||||||
|
@ -32,9 +32,11 @@
|
|||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "nvs_flash.h"
|
#include "nvs_flash.h"
|
||||||
#include "test_utils.h"
|
#include "test_utils.h"
|
||||||
|
#include "soc/soc.h"
|
||||||
#include "soc/spi_reg.h"
|
#include "soc/spi_reg.h"
|
||||||
#include "soc/adc_periph.h"
|
#include "soc/adc_periph.h"
|
||||||
#include "soc/dac_periph.h"
|
#include "soc/dac_periph.h"
|
||||||
|
#include "soc/spi_periph.h"
|
||||||
#include "test/test_common_adc.h"
|
#include "test/test_common_adc.h"
|
||||||
|
|
||||||
#if !DISABLED_FOR_TARGETS(ESP8266, ESP32, ESP32S3) // This testcase for ESP32S2
|
#if !DISABLED_FOR_TARGETS(ESP8266, ESP32, ESP32S3) // This testcase for ESP32S2
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#define _ESP_TASK_H_
|
#define _ESP_TASK_H_
|
||||||
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/FreeRTOSConfig.h"
|
#include "freertos/FreeRTOSConfig.h"
|
||||||
|
|
||||||
#define ESP_TASK_PRIO_MAX (configMAX_PRIORITIES)
|
#define ESP_TASK_PRIO_MAX (configMAX_PRIORITIES)
|
||||||
|
@ -67,7 +67,7 @@ all: $(TEST_NAME)
|
|||||||
|
|
||||||
mdns.o: ../mdns.c
|
mdns.o: ../mdns.c
|
||||||
@echo "[CC] $<"
|
@echo "[CC] $<"
|
||||||
@$(CC) $(CFLAGS) --include mdns_mock.h $(MDNS_C_DEPENDENCY_INJECTION) -c $< -o $@
|
@$(CC) $(CFLAGS) -include mdns_mock.h $(MDNS_C_DEPENDENCY_INJECTION) -c $< -o $@
|
||||||
|
|
||||||
$(TEST_NAME): $(OBJECTS)
|
$(TEST_NAME): $(OBJECTS)
|
||||||
@echo "[LD] $@"
|
@echo "[LD] $@"
|
||||||
|
Loading…
Reference in New Issue
Block a user