33 #include "message_pragmas.h"
48 static void sig_handler(
int signo)
50 static int nb_signal = 0;
52 if (signo == SIGINT) {
53 printf(
"Received SIGINT\n");
55 printf(
"Press Ctrl-C again to stop the program\n");
58 printf(
"Leaving now\n");
67 sigemptyset(&sa.sa_mask);
69 sa.sa_handler = &sig_handler;
70 if (sigaction(SIGINT, &sa, NULL) == -1) {
71 printf(
"Can't catch SIGINT\n");
void mcu_arch_init(void)
Initialize the specific archittecture functions.
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
stm32 arch dependant microcontroller initialisation functions.