c159984264
1. separate rom include files and linkscript to esp_rom 2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h" 3. Forward compatible 4. update mqtt
26 lines
530 B
C
26 lines
530 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"
|
|
#include "soc/uart_reg.h"
|
|
#include "soc/dport_reg.h"
|
|
#include "soc/io_mux_reg.h"
|
|
|
|
|
|
TEST_CASE("Panic handler", "[freertos][ignore]")
|
|
{
|
|
volatile int *i;
|
|
i = (volatile int *)0x0;
|
|
*i = 1;
|
|
}
|
|
|