2017-04-18 09:14:32 +00:00
|
|
|
/*
|
|
|
|
Tests for the interrupt watchdog
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <esp_types.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "rom/ets_sys.h"
|
|
|
|
#include "unity.h"
|
|
|
|
#include "soc/dport_reg.h"
|
|
|
|
#include "soc/io_mux_reg.h"
|
|
|
|
#include "esp_intr_alloc.h"
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-12-01 04:23:33 +00:00
|
|
|
TEST_CASE("Int wdt test", "[esp32][reset=Interrupt wdt timeout on CPU0,SW_CPU_RESET]")
|
2017-04-18 09:14:32 +00:00
|
|
|
{
|
|
|
|
portENTER_CRITICAL_NESTED();
|
|
|
|
while(1);
|
|
|
|
}
|