STM32F407xx-define (and small clean-up) pull request
This commit is contained in:
parent
3a1eb92109
commit
e9a330584e
|
@ -57,7 +57,9 @@
|
|||
*
|
||||
* See also STM32F4xx_MCUCONF is defined in mcuconf.h
|
||||
*/
|
||||
#ifndef STM32F407xx
|
||||
#define STM32F407xx
|
||||
#endif
|
||||
|
||||
/*
|
||||
* IO pins assignments.
|
||||
|
|
|
@ -5,4 +5,4 @@ BOARDSRC = $(PROJECT_DIR)/config/boards/ST_STM32F4/board.c
|
|||
BOARDINC = $(PROJECT_DIR)/config/boards/ST_STM32F4
|
||||
|
||||
# MCU defines
|
||||
DDEFS += -DSTM32F407xx -DSTM32F40_41xxx
|
||||
DDEFS += -DSTM32F407xx
|
||||
|
|
|
@ -93,6 +93,9 @@
|
|||
*/
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#ifdef STM32F407xx
|
||||
#define STM32F40_41xxx
|
||||
#endif
|
||||
#define assert_param(expr) ((void)0)
|
||||
|
||||
//#include "stm32f4xx_hal.h"
|
||||
|
|
|
@ -80,6 +80,9 @@
|
|||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
|
||||
#ifdef STM32F407xx
|
||||
#define STM32F40_41xxx
|
||||
#endif
|
||||
#define assert_param(expr) ((void)0)
|
||||
|
||||
#define HAL_FLASH_MODULE_ENABLED
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file was generated by Version2Header
|
||||
// Sat Apr 22 01:25:51 EEST 2017
|
||||
// Mon May 01 22:16:55 EEST 2017
|
||||
#ifndef VCS_VERSION
|
||||
#define VCS_VERSION "13886"
|
||||
#define VCS_VERSION "13950"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue