fuzzer tests: update of mdns and lwip host compilation for fuzzer testing

Closes IDF-540


* Original commit: espressif/esp-idf@bc60bbbeaf
This commit is contained in:
David Cermak
2019-02-19 14:38:59 +01:00
committed by suren-gabrielyan-espressif
parent 985e69117e
commit d9aec9fc71
2 changed files with 5 additions and 1 deletions

View File

@ -57,6 +57,7 @@
#define portMAX_DELAY 0xFFFFFFFF
#define portTICK_PERIOD_MS 1
#define ESP_LOGD(a,b)
#define xSemaphoreTake(s,d)
#define xTaskDelete(a)
@ -65,6 +66,7 @@
#define _mdns_pcb_init(a,b) true
#define _mdns_pcb_deinit(a,b) true
#define xSemaphoreCreateMutex() malloc(1)
#define xSemaphoreCreateBinary() malloc(1)
#define vSemaphoreDelete(s) free(s)
#define xTaskCreatePinnedToCore(a,b,c,d,e,f,g) *(f) = malloc(1)
#define vTaskDelay(m) usleep((m)*0)