mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Break out high-level interrupts so a component can override them
This commit is contained in:
20
components/esp32/test/test_int_wdt.c
Normal file
20
components/esp32/test/test_int_wdt.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
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][ignore]")
|
||||
{
|
||||
portENTER_CRITICAL_NESTED();
|
||||
while(1);
|
||||
}
|
Reference in New Issue
Block a user