您的位置:首页 > 其它

MDK5 and STM32Cube

2015-08-07 19:48 375 查看
D:\Workspace\........\RTE\Device>STM32CubeMX.exe

-s project.script

-tpl_path C:\Keil5\ARM\Pack\Keil\STM32F4xx_DFP\2.5.0\MDK\CubeMX\

-dest_path [D:\Workspace\........\RTE\Device\]STM32F407IGHx\

使用 D:\Workspace\........\RTE\Device\project.script

[b]生成 D:\Workspace\........\RTE\Device\STM32F407IGHx\MX_Device.h[/b]

[b][b]生成 [b][b]D:\Workspace\........\RTE\Device\STM32F407IGHx\[/b]FrameworkCubeMX.gpdsc[/b][/b][/b]

[b][b]dest_path = [b][b][b][b][b]D:\Workspace\........\RTE\Device\STM32F407IGHx\[/b][/b][/b][/b][/b][/b][/b]

[b][b][b][b][b][b]STM32CubeMX [b][b][b][b][b][b][b]工程目录:[b][b][b][b][b][b][b][b][b][b][b][b][b][b][b]D:\Workspace\........\RTE\[/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b]Device\STM32F407IGHx\STCubeGenerated\[/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b][/b]

[b][b][b][b][b][b]Keil -------------工程目录:[/b][/b][/b][/b][/b][/b][b][b][b][b][b][b][b][b][b][b][b][b][b][b]D:\Workspace\........\RTE\[/b][/b][/b][/b][/b][/b][/b]Device\STM32F407IGHx\STCubeGenerated\MDK-ARM[/b][/b][/b][/b][/b][/b][/b]

[b][b][b][b][b][b]MX_Device.h[/b][/b][/b][/b][/b][/b]

/******************************************************************************
* File Name   : MX_Device.h
* Date        : 07/08/2015 18:06:21
* Description : STM32Cube MX parameter definitions
* Note        : This file is generated by STM32CubeMX (DO NOT EDIT!)
******************************************************************************/

#ifndef __MX_DEVICE_H
#define __MX_DEVICE_H

/*---------------------------- Clock Configuration ---------------------------*/

#define MX_LSI_VALUE                            32000
#define MX_LSE_VALUE                            32768
#define MX_HSI_VALUE                            16000000
#define MX_HSE_VALUE                            25000000
#define MX_EXTERNAL_CLOCK_VALUE                 12288000
#define MX_SYSCLKFreq_VALUE                     16000000
#define MX_HCLKFreq_Value                       16000000
#define MX_FCLKCortexFreq_Value                 16000000
#define MX_CortexFreq_Value                     16000000
#define MX_AHBFreq_Value                        16000000
#define MX_APB1Freq_Value                       16000000
#define MX_APB2Freq_Value                       16000000
#define MX_APB1TimFreq_Value                    16000000
#define MX_APB2TimFreq_Value                    16000000
#define MX_48MHZClocksFreq_Value                48000000
#define MX_EthernetFreq_Value                   16000000
#define MX_I2SClocksFreq_Value                  96000000
#define MX_WatchDogFreq_Value                   32000
#define MX_RTCFreq_Value                        32000
#define MX_MCO1PinFreq_Value                    16000000
#define MX_MCO2PinFreq_Value                    16000000

/*-------------------------------- NVIC       --------------------------------*/

#define MX_NVIC                                 1

/*-------------------------------- USART1     --------------------------------*/

#define MX_USART1                               1

#define MX_USART1_VM                            VM_ASYNC

/* GPIO Configuration */

/* Pin PB7 */
#define MX_USART1_RX_Pin                        PB7
#define MX_USART1_RX_GPIO_AF                    GPIO_AF7_USART1
#define MX_USART1_RX_GPIO_Speed                 GPIO_SPEED_HIGH
#define MX_USART1_RX_GPIO_PuPd                  GPIO_PULLUP
#define MX_USART1_RX_GPIOx                      GPIOB
#define MX_USART1_RX_GPIO_Mode                  GPIO_MODE_AF_PP
#define MX_USART1_RX_GPIO_Pin                   GPIO_PIN_7

/* Pin PB6 */
#define MX_USART1_TX_Pin                        PB6
#define MX_USART1_TX_GPIO_AF                    GPIO_AF7_USART1
#define MX_USART1_TX_GPIO_Speed                 GPIO_SPEED_HIGH
#define MX_USART1_TX_GPIO_PuPd                  GPIO_PULLUP
#define MX_USART1_TX_GPIOx                      GPIOB
#define MX_USART1_TX_GPIO_Mode                  GPIO_MODE_AF_PP
#define MX_USART1_TX_GPIO_Pin                   GPIO_PIN_6

/*-------------------------------- USART2     --------------------------------*/

#define MX_USART2                               1

#define MX_USART2_VM                            VM_ASYNC

/* GPIO Configuration */

/* Pin PD5 */
#define MX_USART2_TX_Pin                        PD5
#define MX_USART2_TX_GPIO_AF                    GPIO_AF7_USART2
#define MX_USART2_TX_GPIO_Speed                 GPIO_SPEED_HIGH
#define MX_USART2_TX_GPIO_PuPd                  GPIO_PULLUP
#define MX_USART2_TX_GPIOx                      GPIOD
#define MX_USART2_TX_GPIO_Mode                  GPIO_MODE_AF_PP
#define MX_USART2_TX_GPIO_Pin                   GPIO_PIN_5

/* Pin PD6 */
#define MX_USART2_RX_Pin                        PD6
#define MX_USART2_RX_GPIO_AF                    GPIO_AF7_USART2
#define MX_USART2_RX_GPIO_Speed                 GPIO_SPEED_HIGH
#define MX_USART2_RX_GPIO_PuPd                  GPIO_PULLUP
#define MX_USART2_RX_GPIOx                      GPIOD
#define MX_USART2_RX_GPIO_Mode                  GPIO_MODE_AF_PP
#define MX_USART2_RX_GPIO_Pin                   GPIO_PIN_6

/*-------------------------------- GPIO       --------------------------------*/

#define MX_GPIO                                 1

/* GPIO Configuration */

#endif  /* __MX_DEVICE_H */
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: