From e12d4e8a2ff77d2707163d83851469f26b51904c Mon Sep 17 00:00:00 2001 From: Bas Stottelaar <basstottelaar@gmail.com> Date: Mon, 17 Sep 2018 19:36:56 +0200 Subject: [PATCH] boards: sltb001a: throw error on EMU_DCDCINIT_OFF --- boards/sltb001a/include/periph_conf.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boards/sltb001a/include/periph_conf.h b/boards/sltb001a/include/periph_conf.h index 4139efac8e..b4f6b4b4c7 100644 --- a/boards/sltb001a/include/periph_conf.h +++ b/boards/sltb001a/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