mips_pic32mz/include/cpu.h
Go to the documentation of this file.
1 /*
2  * Copyright(C) 2017, 2016, Imagination Technologies Limited and/or its
3  * affiliated group companies.
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  *
9  */
10 
23 #ifndef CPU_H
24 #define CPU_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include <stdio.h>
31 #include <inttypes.h>
32 #include <assert.h>
33 #include "irq.h"
34 
38 #define FLASH_XIP (1)
39 
45 static inline void cpu_print_last_instruction(void)
46 {
47  /* This function must exist else RIOT won't compile */
48 }
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* CPU_H */
55 
static void cpu_print_last_instruction(void)
Print the last instruction&#39;s address.
POSIX.1-2008 compliant version of the assert macro.
Adds include for missing inttype definitions.
stdio.h wrapper for MSP430
IRQ driver interface.