From 12c3a5472a7b5d4b22eb0bbb1364ee4348297b72 Mon Sep 17 00:00:00 2001 From: Francois Berder <18538310+francois-berder@users.noreply.github.com> Date: Wed, 16 Oct 2019 21:25:33 +0100 Subject: [PATCH] cpu: mips_pic32mx: Include vendor header in cpu_conf.h Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com> --- cpu/mips_pic32mx/include/cpu_conf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpu/mips_pic32mx/include/cpu_conf.h b/cpu/mips_pic32mx/include/cpu_conf.h index e67455fc2c..6d60586cc5 100644 --- a/cpu/mips_pic32mx/include/cpu_conf.h +++ b/cpu/mips_pic32mx/include/cpu_conf.h @@ -22,6 +22,12 @@ #ifndef CPU_CONF_H #define CPU_CONF_H +#ifdef CPU_MODEL_P32MX470F512H +#include "vendor/p32mx470f512h.h" +#else +#error "No CPU headers for the defined CPU_MODEL found" +#endif + #ifdef __cplusplus extern "C" { #endif