test_panic.c 383 B

12345678910111213141516171819
  1. /*
  2. Test for multicore FreeRTOS. This test spins up threads, fiddles with queues etc.
  3. */
  4. #include <esp_types.h>
  5. #include <stdio.h>
  6. #include "freertos/FreeRTOS.h"
  7. #include "freertos/task.h"
  8. #include "freertos/semphr.h"
  9. #include "freertos/queue.h"
  10. #include "unity.h"
  11. TEST_CASE("Panic handler", "[freertos][ignore]")
  12. {
  13. volatile int *i;
  14. i = (volatile int *)0x0;
  15. *i = 1;
  16. }