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 
22 #ifndef CPU_H
23 #define CPU_H
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #include <stdio.h>
30 #include <inttypes.h>
31 #include <assert.h>
32 #include "irq.h"
33 
37 #define FLASH_XIP (1)
38 
44 static inline void cpu_print_last_instruction(void)
45 {
46  /* This function must exist else RIOT won't compile */
47 }
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* CPU_H */
54 
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.