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 /**
Sergunb 0:f1834a63f7c1 2 ******************************************************************************
Sergunb 0:f1834a63f7c1 3 * @file RTC/Calendar/stm32f10x_conf.h
Sergunb 0:f1834a63f7c1 4 * @author MCD Application Team
Sergunb 0:f1834a63f7c1 5 * @version V3.4.0
Sergunb 0:f1834a63f7c1 6 * @date 10/15/2010
Sergunb 0:f1834a63f7c1 7 * @brief Library configuration file.
Sergunb 0:f1834a63f7c1 8 ******************************************************************************
Sergunb 0:f1834a63f7c1 9 * @copy
Sergunb 0:f1834a63f7c1 10 *
Sergunb 0:f1834a63f7c1 11 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
Sergunb 0:f1834a63f7c1 12 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
Sergunb 0:f1834a63f7c1 13 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
Sergunb 0:f1834a63f7c1 14 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
Sergunb 0:f1834a63f7c1 15 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
Sergunb 0:f1834a63f7c1 16 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Sergunb 0:f1834a63f7c1 17 *
Sergunb 0:f1834a63f7c1 18 * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
Sergunb 0:f1834a63f7c1 19 */
Sergunb 0:f1834a63f7c1 20
Sergunb 0:f1834a63f7c1 21 /* Define to prevent recursive inclusion -------------------------------------*/
Sergunb 0:f1834a63f7c1 22 #ifndef __STM32F10x_CONF_H
Sergunb 0:f1834a63f7c1 23 #define __STM32F10x_CONF_H
Sergunb 0:f1834a63f7c1 24
Sergunb 0:f1834a63f7c1 25 /* Includes ------------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 26 /* Uncomment the line below to enable peripheral header file inclusion */
Sergunb 0:f1834a63f7c1 27 /* #include "stm32f10x_adc.h" */
Sergunb 0:f1834a63f7c1 28 /* #include "stm32f10x_bkp.h" */
Sergunb 0:f1834a63f7c1 29 /* #include "stm32f10x_can.h" */
Sergunb 0:f1834a63f7c1 30 /* #include "stm32f10x_cec.h" */
Sergunb 0:f1834a63f7c1 31 /* #include "stm32f10x_crc.h" */
Sergunb 0:f1834a63f7c1 32 /* #include "stm32f10x_dac.h" */
Sergunb 0:f1834a63f7c1 33 /* #include "stm32f10x_dbgmcu.h" */
Sergunb 0:f1834a63f7c1 34 /* #include "stm32f10x_dma.h" */
Sergunb 0:f1834a63f7c1 35 /* #include "stm32f10x_exti.h" */
Sergunb 0:f1834a63f7c1 36 /* #include "stm32f10x_flash.h" */
Sergunb 0:f1834a63f7c1 37 /* #include "stm32f10x_fsmc.h" */
Sergunb 0:f1834a63f7c1 38 /* #include "stm32f10x_gpio.h" */
Sergunb 0:f1834a63f7c1 39 /* #include "stm32f10x_i2c.h" */
Sergunb 0:f1834a63f7c1 40 /* #include "stm32f10x_iwdg.h" */
Sergunb 0:f1834a63f7c1 41 /* #include "stm32f10x_pwr.h" */
Sergunb 0:f1834a63f7c1 42 /* #include "stm32f10x_rcc.h" */
Sergunb 0:f1834a63f7c1 43 /* #include "stm32f10x_rtc.h" */
Sergunb 0:f1834a63f7c1 44 /* #include "stm32f10x_sdio.h" */
Sergunb 0:f1834a63f7c1 45 /* #include "stm32f10x_spi.h" */
Sergunb 0:f1834a63f7c1 46 /* #include "stm32f10x_tim.h" */
Sergunb 0:f1834a63f7c1 47 /* #include "stm32f10x_usart.h" */
Sergunb 0:f1834a63f7c1 48 /* #include "stm32f10x_wwdg.h" */
Sergunb 0:f1834a63f7c1 49 /* #include "misc.h" */ /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
Sergunb 0:f1834a63f7c1 50
Sergunb 0:f1834a63f7c1 51
Sergunb 0:f1834a63f7c1 52 /* Exported types ------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 53 /* Exported constants --------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 54 /* Uncomment the line below to expanse the "assert_param" macro in the
Sergunb 0:f1834a63f7c1 55 Standard Peripheral Library drivers code */
Sergunb 0:f1834a63f7c1 56 /* #define USE_FULL_ASSERT 1 */
Sergunb 0:f1834a63f7c1 57
Sergunb 0:f1834a63f7c1 58 /* Exported macro ------------------------------------------------------------*/
Sergunb 0:f1834a63f7c1 59 #ifdef USE_FULL_ASSERT
Sergunb 0:f1834a63f7c1 60
Sergunb 0:f1834a63f7c1 61 /**
Sergunb 0:f1834a63f7c1 62 * @brief The assert_param macro is used for function's parameters check.
Sergunb 0:f1834a63f7c1 63 * @param expr: If expr is false, it calls assert_failed function
Sergunb 0:f1834a63f7c1 64 * which reports the name of the source file and the source
Sergunb 0:f1834a63f7c1 65 * line number of the call that failed.
Sergunb 0:f1834a63f7c1 66 * If expr is true, it returns no value.
Sergunb 0:f1834a63f7c1 67 * @retval None
Sergunb 0:f1834a63f7c1 68 */
Sergunb 0:f1834a63f7c1 69 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
Sergunb 0:f1834a63f7c1 70 /* Exported functions ------------------------------------------------------- */
Sergunb 0:f1834a63f7c1 71 void assert_failed(uint8_t* file, uint32_t line);
Sergunb 0:f1834a63f7c1 72 #else
Sergunb 0:f1834a63f7c1 73 #define assert_param(expr) ((void)0)
Sergunb 0:f1834a63f7c1 74 #endif /* USE_FULL_ASSERT */
Sergunb 0:f1834a63f7c1 75
Sergunb 0:f1834a63f7c1 76 #endif /* __STM32F10x_CONF_H */
Sergunb 0:f1834a63f7c1 77
Sergunb 0:f1834a63f7c1 78 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/