I'm trying to port GRBL 1.1 to the STM32F746 chip. Tell me the solution, thanks.

Committer:
Sergunb
Date:
Mon Sep 04 12:03:42 2017 +0000
Revision:
0:f1834a63f7c1
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Sergunb 0:f1834a63f7c1 1 /******************** (C) COPYRIGHT 2011 STMicroelectronics ********************
Sergunb 0:f1834a63f7c1 2 * File Name : usb_istr.h
Sergunb 0:f1834a63f7c1 3 * Author : MCD Application Team
Sergunb 0:f1834a63f7c1 4 * Version : V3.3.0
Sergunb 0:f1834a63f7c1 5 * Date : 21-March-2011
Sergunb 0:f1834a63f7c1 6 * Description : This file includes the peripherals header files in the
Sergunb 0:f1834a63f7c1 7 * user application.
Sergunb 0:f1834a63f7c1 8 ********************************************************************************
Sergunb 0:f1834a63f7c1 9 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
Sergunb 0:f1834a63f7c1 10 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
Sergunb 0:f1834a63f7c1 11 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
Sergunb 0:f1834a63f7c1 12 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
Sergunb 0:f1834a63f7c1 13 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
Sergunb 0:f1834a63f7c1 14 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Sergunb 0:f1834a63f7c1 15 *******************************************************************************/
Sergunb 0:f1834a63f7c1 16
Sergunb 0:f1834a63f7c1 17 /* Define to prevent recursive inclusion -------------------------------------*/
Sergunb 0:f1834a63f7c1 18 #ifndef __USB_ISTR_H
Sergunb 0:f1834a63f7c1 19 #define __USB_ISTR_H
Sergunb 0:f1834a63f7c1 20
Sergunb 0:f1834a63f7c1 21 /* Includes ------------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 22 #include "usb_conf.h"
Sergunb 0:f1834a63f7c1 23
Sergunb 0:f1834a63f7c1 24 /* Exported types ------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 25 /* Exported constants --------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 26 /* Exported macro ------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 27 /* Exported functions ------------------------------------------------------- */
Sergunb 0:f1834a63f7c1 28
Sergunb 0:f1834a63f7c1 29 #ifndef STM32F10X_CL
Sergunb 0:f1834a63f7c1 30 void USB_Istr(void);
Sergunb 0:f1834a63f7c1 31 #else /* STM32F10X_CL */
Sergunb 0:f1834a63f7c1 32 u32 STM32_PCD_OTG_ISR_Handler(void);
Sergunb 0:f1834a63f7c1 33 #endif /* STM32F10X_CL */
Sergunb 0:f1834a63f7c1 34
Sergunb 0:f1834a63f7c1 35 /* function prototypes Automatically built defining related macros */
Sergunb 0:f1834a63f7c1 36
Sergunb 0:f1834a63f7c1 37 void EP1_IN_Callback(void);
Sergunb 0:f1834a63f7c1 38 void EP2_IN_Callback(void);
Sergunb 0:f1834a63f7c1 39 void EP3_IN_Callback(void);
Sergunb 0:f1834a63f7c1 40 void EP4_IN_Callback(void);
Sergunb 0:f1834a63f7c1 41 void EP5_IN_Callback(void);
Sergunb 0:f1834a63f7c1 42 void EP6_IN_Callback(void);
Sergunb 0:f1834a63f7c1 43 void EP7_IN_Callback(void);
Sergunb 0:f1834a63f7c1 44
Sergunb 0:f1834a63f7c1 45 void EP1_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 46 void EP2_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 47 void EP3_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 48 void EP4_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 49 void EP5_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 50 void EP6_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 51 void EP7_OUT_Callback(void);
Sergunb 0:f1834a63f7c1 52
Sergunb 0:f1834a63f7c1 53 #ifndef STM32F10X_CL
Sergunb 0:f1834a63f7c1 54
Sergunb 0:f1834a63f7c1 55 #ifdef CTR_CALLBACK
Sergunb 0:f1834a63f7c1 56 void CTR_Callback(void);
Sergunb 0:f1834a63f7c1 57 #endif
Sergunb 0:f1834a63f7c1 58
Sergunb 0:f1834a63f7c1 59 #ifdef DOVR_CALLBACK
Sergunb 0:f1834a63f7c1 60 void DOVR_Callback(void);
Sergunb 0:f1834a63f7c1 61 #endif
Sergunb 0:f1834a63f7c1 62
Sergunb 0:f1834a63f7c1 63 #ifdef ERR_CALLBACK
Sergunb 0:f1834a63f7c1 64 void ERR_Callback(void);
Sergunb 0:f1834a63f7c1 65 #endif
Sergunb 0:f1834a63f7c1 66
Sergunb 0:f1834a63f7c1 67 #ifdef WKUP_CALLBACK
Sergunb 0:f1834a63f7c1 68 void WKUP_Callback(void);
Sergunb 0:f1834a63f7c1 69 #endif
Sergunb 0:f1834a63f7c1 70
Sergunb 0:f1834a63f7c1 71 #ifdef SUSP_CALLBACK
Sergunb 0:f1834a63f7c1 72 void SUSP_Callback(void);
Sergunb 0:f1834a63f7c1 73 #endif
Sergunb 0:f1834a63f7c1 74
Sergunb 0:f1834a63f7c1 75 #ifdef RESET_CALLBACK
Sergunb 0:f1834a63f7c1 76 void RESET_Callback(void);
Sergunb 0:f1834a63f7c1 77 #endif
Sergunb 0:f1834a63f7c1 78
Sergunb 0:f1834a63f7c1 79 #ifdef SOF_CALLBACK
Sergunb 0:f1834a63f7c1 80 void SOF_Callback(void);
Sergunb 0:f1834a63f7c1 81 #endif
Sergunb 0:f1834a63f7c1 82
Sergunb 0:f1834a63f7c1 83 #ifdef ESOF_CALLBACK
Sergunb 0:f1834a63f7c1 84 void ESOF_Callback(void);
Sergunb 0:f1834a63f7c1 85 #endif
Sergunb 0:f1834a63f7c1 86
Sergunb 0:f1834a63f7c1 87 #else /* STM32F10X_CL */
Sergunb 0:f1834a63f7c1 88
Sergunb 0:f1834a63f7c1 89 /* Interrupt subroutines user callbacks prototypes.
Sergunb 0:f1834a63f7c1 90 These callbacks are called into the respective interrupt subroutine functions
Sergunb 0:f1834a63f7c1 91 and can be tailored for various user application purposes.
Sergunb 0:f1834a63f7c1 92 Note: Make sure that the correspondent interrupt is enabled through the
Sergunb 0:f1834a63f7c1 93 definition in usb_conf.h file */
Sergunb 0:f1834a63f7c1 94 void INTR_MODEMISMATCH_Callback(void);
Sergunb 0:f1834a63f7c1 95 void INTR_SOFINTR_Callback(void);
Sergunb 0:f1834a63f7c1 96 void INTR_RXSTSQLVL_Callback(void);
Sergunb 0:f1834a63f7c1 97 void INTR_NPTXFEMPTY_Callback(void);
Sergunb 0:f1834a63f7c1 98 void INTR_GINNAKEFF_Callback(void);
Sergunb 0:f1834a63f7c1 99 void INTR_GOUTNAKEFF_Callback(void);
Sergunb 0:f1834a63f7c1 100 void INTR_ERLYSUSPEND_Callback(void);
Sergunb 0:f1834a63f7c1 101 void INTR_USBSUSPEND_Callback(void);
Sergunb 0:f1834a63f7c1 102 void INTR_USBRESET_Callback(void);
Sergunb 0:f1834a63f7c1 103 void INTR_ENUMDONE_Callback(void);
Sergunb 0:f1834a63f7c1 104 void INTR_ISOOUTDROP_Callback(void);
Sergunb 0:f1834a63f7c1 105 void INTR_EOPFRAME_Callback(void);
Sergunb 0:f1834a63f7c1 106 void INTR_EPMISMATCH_Callback(void);
Sergunb 0:f1834a63f7c1 107 void INTR_INEPINTR_Callback(void);
Sergunb 0:f1834a63f7c1 108 void INTR_OUTEPINTR_Callback(void);
Sergunb 0:f1834a63f7c1 109 void INTR_INCOMPLISOIN_Callback(void);
Sergunb 0:f1834a63f7c1 110 void INTR_INCOMPLISOOUT_Callback(void);
Sergunb 0:f1834a63f7c1 111 void INTR_WKUPINTR_Callback(void);
Sergunb 0:f1834a63f7c1 112
Sergunb 0:f1834a63f7c1 113 /* Isochronous data update */
Sergunb 0:f1834a63f7c1 114 void INTR_RXSTSQLVL_ISODU_Callback(void);
Sergunb 0:f1834a63f7c1 115
Sergunb 0:f1834a63f7c1 116 #endif /* STM32F10X_CL */
Sergunb 0:f1834a63f7c1 117
Sergunb 0:f1834a63f7c1 118
Sergunb 0:f1834a63f7c1 119 #endif /*__USB_ISTR_H*/
Sergunb 0:f1834a63f7c1 120
Sergunb 0:f1834a63f7c1 121 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/