mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-29 06:01:43 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			382 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			382 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  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"
 | |
| 
 | |
| 
 | |
| 
 | |
| TEST_CASE("Int wdt test", "[esp32][reset=Interrupt wdt timeout on CPU0,SW_CPU_RESET]")
 | |
| {
 | |
|     portENTER_CRITICAL_NESTED();
 | |
|     while(1);
 | |
| }
 |