399d2d2605
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... . Cleaned up header files from unnecessary headers (releated to soc/... headers).
22 lines
448 B
C
22 lines
448 B
C
/*
|
|
Test for multicore FreeRTOS. This test spins up threads, fiddles with queues etc.
|
|
*/
|
|
|
|
#include <esp_types.h>
|
|
#include <stdio.h>
|
|
#include "esp32/rom/ets_sys.h"
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "freertos/semphr.h"
|
|
#include "freertos/queue.h"
|
|
#include "freertos/xtensa_api.h"
|
|
#include "unity.h"
|
|
|
|
TEST_CASE("Panic handler", "[freertos][ignore]")
|
|
{
|
|
volatile int *i;
|
|
i = (volatile int *)0x0;
|
|
*i = 1;
|
|
}
|
|
|