aboutsummaryrefslogtreecommitdiff
path: root/libraries/mbed/targets/cmsis
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-04-29 15:43:59 -0400
committerPaul Selkirk <paul@psgd.org>2017-04-29 15:43:59 -0400
commit4a69b83e6c28aebec5dc2733e0cc20407b5d56e7 (patch)
tree5cbb539b622ab81f8dddc555513a28bb68013d87 /libraries/mbed/targets/cmsis
parent30c4302af8fe5c67fc337f5ee1d44bb5ed2569c7 (diff)
Remove exception handlders that I probably shouldn't have defined in the first place.
Diffstat (limited to 'libraries/mbed/targets/cmsis')
-rw-r--r--libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c80
1 files changed, 5 insertions, 75 deletions
diff --git a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c
index cbfff2d..8e5cc73 100644
--- a/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c
+++ b/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c
@@ -44,20 +44,6 @@
/* Cortex-M4 Processor Exceptions Handlers */
/******************************************************************************/
-/*
- * We define these to make debugging easier, because otherwise gdb reports
- * HardFault_Handler as WWDG_IRQHandler.
- */
-
-/**
- * @brief This function handles NMI exception.
- * @param None
- * @retval None
- */
-void NMI_Handler(void)
-{
-}
-
/**
* @brief This function handles Hard Fault exception.
* @param None
@@ -65,6 +51,11 @@ void NMI_Handler(void)
*/
void HardFault_Handler(void)
{
+/*
+ * We define this to make debugging easier, because otherwise gdb reports
+ * HardFault_Handler as WWDG_IRQHandler.
+ */
+
#ifdef HAL_GPIO_MODULE_ENABLED
//HAL_GPIO_WritePin(LED_PORT, LED_RED, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOK, GPIO_PIN_7, GPIO_PIN_SET);
@@ -74,67 +65,6 @@ void HardFault_Handler(void)
}
/**
- * @brief This function handles Memory Manage exception.
- * @param None
- * @retval None
- */
-void MemManage_Handler(void)
-{
- /* Go to infinite loop when Memory Manage exception occurs */
- while (1) { ; }
-}
-
-/**
- * @brief This function handles Bus Fault exception.
- * @param None
- * @retval None
- */
-void BusFault_Handler(void)
-{
- /* Go to infinite loop when Bus Fault exception occurs */
- while (1) { ; }
-}
-
-/**
- * @brief This function handles Usage Fault exception.
- * @param None
- * @retval None
- */
-void UsageFault_Handler(void)
-{
- /* Go to infinite loop when Usage Fault exception occurs */
- while (1) { ; }
-}
-
-
-/**
- * @brief This function handles SVCall exception.
- * @param None
- * @retval None
- */
-void SVC_Handler(void)
-{
-}
-
-/**
- * @brief This function handles Debug Monitor exception.
- * @param None
- * @retval None
- */
-void DebugMon_Handler(void)
-{
-}
-
-/**
- * @brief This function handles PendSVC exception.
- * @param None
- * @retval None
- */
-void PendSV_Handler(void)
-{
-}
-
-/**
* @brief This function handles SysTick Handler.
* @param None
* @retval None