From 333ae1ee2bfbda85ab417384a74fc491643f838f Mon Sep 17 00:00:00 2001 From: Bas Stottelaar <basstottelaar@gmail.com> Date: Mon, 17 Sep 2018 19:36:45 +0200 Subject: [PATCH] boards: slstk3401a: throw error on EMU_DCDCINIT_OFF --- boards/slstk3401a/include/periph_conf.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boards/slstk3401a/include/periph_conf.h b/boards/slstk3401a/include/periph_conf.h index 550dda54a0..80788ceb68 100644 --- a/boards/slstk3401a/include/periph_conf.h +++ b/boards/slstk3401a/include/periph_conf.h @@ -54,6 +54,15 @@ extern "C" { #endif /** @} */ +/** + * @name DC-DC configuration + * @{ + */ +#ifdef EMU_DCDCINIT_OFF +#error "This option will soft-brick your board. Please remove it." +#endif +/** @} */ + /** * @name ADC configuration * @{ -- GitLab