aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c')
-rw-r--r--os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c75
1 files changed, 0 insertions, 75 deletions
diff --git a/os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c b/os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c
deleted file mode 100644
index 9eba072c5..000000000
--- a/os/ports/GCC/ARMCMx/STM32F3xx/chtimer.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- Nil RTOS - Copyright (C) 2012 Giovanni Di Sirio.
-
- This file is part of Nil RTOS.
-
- Nil RTOS is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- Nil RTOS is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/**
- * @file STM32F3xx/chtimer.c
- * @brief System timer code.
- *
- * @addtogroup STM32F3_TIMER
- */
-
-#include "ch.h"
-
-#if CH_CFG_TIMEDELTA > 0
-
-/*===========================================================================*/
-/* Module local definitions. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module exported variables. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module local variables. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module local functions. */
-/*===========================================================================*/
-
-/*===========================================================================*/
-/* Module interrupt handlers. */
-/*===========================================================================*/
-
-/**
- * @brief TIM2 interrupt handler.
- *
- * @isr
- */
-CH_IRQ_HANDLER(VectorB0) {
-
- CH_IRQ_PROLOGUE();
-
- STM32F3_TIM2->SR = 0;
-
- chSysLockFromISR();
- chSysTimerHandlerI();
- chSysUnlockFromISR();
-
- CH_IRQ_EPILOGUE();
-}
-
-/*===========================================================================*/
-/* Module exported functions. */
-/*===========================================================================*/
-
-#endif /* CH_CFG_TIMEDELTA > 0 */
-
-/** @} */