mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-18 05:42:16 +01:00
24 lines
569 B
C
24 lines
569 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "unity.h"
|
|
|
|
static void print_banner(const char *text);
|
|
|
|
void app_main(void)
|
|
{
|
|
print_banner("Running all the registered tests");
|
|
UNITY_BEGIN();
|
|
unity_run_all_tests();
|
|
UNITY_END();
|
|
|
|
print_banner("Starting interactive test menu");
|
|
/* This function will not return, and will be busy waiting for UART input.
|
|
* Make sure that task watchdog is disabled if you use this function.
|
|
*/
|
|
unity_run_menu();
|
|
}
|
|
|
|
static void print_banner(const char *text)
|
|
{
|
|
printf("\n#### %s #####\n\n", text);
|
|
} |