From 0c91dbf57e218f891693723fa487c98c0594a2ec Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 21 Aug 2018 21:20:01 +0000 Subject: [PATCH] cm3: scs: drop (superseded) helper macros for systick These are superseded by cm3/systick.h and the functions there. Reported originally under: https://github.com/libopencm3/libopencm3/issues/125 --- include/libopencm3/cm3/scs.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/libopencm3/cm3/scs.h b/include/libopencm3/cm3/scs.h index 02618efd..391270ee 100644 --- a/include/libopencm3/cm3/scs.h +++ b/include/libopencm3/cm3/scs.h @@ -328,17 +328,4 @@ /* CoreSight Lock Access key, common for all */ #define SCS_LAR_KEY 0xC5ACCE55 -#define SCS_SYSTICK_DISABLED() (SCS_SYST_CSR = 0) - -/* Macro to be called at startup to Enable CortexMx SysTick (but IRQ not - * enabled) - */ -#define SCS_SYSTICK_ENABLED() (SCS_SYST_CSR = (SCS_SYST_CSR_ENABLE | \ - SCS_SYST_CSR_CLKSOURCE)) - -/* Macro to be called at startup to Enable CortexMx SysTick and IRQ */ -#define SCS_SYSTICK_AND_IRQ_ENABLED() (SCS_SYST_CSR = (SCS_SYST_CSR_ENABLE | \ - SCS_SYST_CSR_CLKSOURCE | \ - SCS_SYST_CSR_TICKINT)) - #endif