Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.
stm32f4xx_it.c
00001 /** 00002 ****************************************************************************** 00003 * @file stm32f4xx_it.c 00004 * @brief Interrupt Service Routines. 00005 ****************************************************************************** 00006 * 00007 * COPYRIGHT(c) 2015 STMicroelectronics 00008 * 00009 * Redistribution and use in source and binary forms, with or without modification, 00010 * are permitted provided that the following conditions are met: 00011 * 1. Redistributions of source code must retain the above copyright notice, 00012 * this list of conditions and the following disclaimer. 00013 * 2. Redistributions in binary form must reproduce the above copyright notice, 00014 * this list of conditions and the following disclaimer in the documentation 00015 * and/or other materials provided with the distribution. 00016 * 3. Neither the name of STMicroelectronics nor the names of its contributors 00017 * may be used to endorse or promote products derived from this software 00018 * without specific prior written permission. 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00021 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00022 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00023 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 00024 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00025 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 00026 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 00027 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00028 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 00029 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 * 00031 ****************************************************************************** 00032 */ 00033 /* Includes ------------------------------------------------------------------*/ 00034 #include "stm32f4xx_hal.h" 00035 #include "stm32f4xx.h" 00036 #include "stm32f4xx_it.h" 00037 #include "stm32f4xx_hal_dma.h" 00038 #include "stm32f4xx_hal_dcmi.h" 00039 00040 /* USER CODE BEGIN 0 */ 00041 00042 /* USER CODE END 0 */ 00043 00044 /* External variables --------------------------------------------------------*/ 00045 extern DMA_HandleTypeDef phdma_dcmi; 00046 extern DCMI_HandleTypeDef phdcmi; 00047 00048 /******************************************************************************/ 00049 /* Cortex-M4 Processor Interruption and Exception Handlers */ 00050 /******************************************************************************/ 00051 00052 00053 /******************************************************************************/ 00054 /* STM32F4xx Peripheral Interrupt Handlers */ 00055 /* Add here the Interrupt Handlers for the used peripherals. */ 00056 /* For the available peripheral interrupt handler names, */ 00057 /* please refer to the startup file (startup_stm32f4xx.s). */ 00058 /******************************************************************************/ 00059 00060 /** 00061 * @brief This function handles DMA2 Stream1 global interrupt. 00062 */ 00063 void DMA2_Stream1_IRQHandler(void) 00064 { 00065 /* USER CODE BEGIN DMA2_Stream1_IRQn 0 */ 00066 00067 /* USER CODE END DMA2_Stream1_IRQn 0 */ 00068 HAL_DMA_IRQHandler(&phdma_dcmi); 00069 /* USER CODE BEGIN DMA2_Stream1_IRQn 1 */ 00070 00071 /* USER CODE END DMA2_Stream1_IRQn 1 */ 00072 } 00073 00074 /** 00075 * @brief This function handles DCMI global interrupt. 00076 */ 00077 void DCMI_IRQHandler(void) 00078 { 00079 /* USER CODE BEGIN DCMI_IRQn 0 */ 00080 00081 /* USER CODE END DCMI_IRQn 0 */ 00082 HAL_DCMI_IRQHandler(&phdcmi); 00083 /* USER CODE BEGIN DCMI_IRQn 1 */ 00084 00085 /* USER CODE END DCMI_IRQn 1 */ 00086 } 00087 00088 /* USER CODE BEGIN 1 */ 00089 00090 /* USER CODE END 1 */ 00091 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 00092
Generated on Tue Jul 12 2022 22:22:38 by 1.7.2