|
|
|
@ -26,38 +26,38 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
/* board configuration */
|
|
|
|
/* board configuration */
|
|
|
|
// <o> SDCard Driver <1=>SDIO sdcard <0=>SPI MMC card
|
|
|
|
// <o> SDCard Driver <1=>SDIO sdcard <0=>SPI MMC card
|
|
|
|
// <i>Default: 1
|
|
|
|
// <i>Default: 1
|
|
|
|
#define STM32_USE_SDIO 0
|
|
|
|
#define STM32_USE_SDIO 0
|
|
|
|
|
|
|
|
|
|
|
|
/* whether use board external SRAM memory */
|
|
|
|
/* whether use board external SRAM memory */
|
|
|
|
// <e>Use external SRAM memory on the board
|
|
|
|
// <e>Use external SRAM memory on the board
|
|
|
|
// <i>Enable External SRAM memory
|
|
|
|
// <i>Enable External SRAM memory
|
|
|
|
#define STM32_EXT_SRAM 0
|
|
|
|
#define STM32_EXT_SRAM 0
|
|
|
|
// <o>Begin Address of External SRAM
|
|
|
|
// <o>Begin Address of External SRAM
|
|
|
|
// <i>Default: 0x68000000
|
|
|
|
// <i>Default: 0x68000000
|
|
|
|
#define STM32_EXT_SRAM_BEGIN 0x68000000 /* the begining address of external SRAM */
|
|
|
|
#define STM32_EXT_SRAM_BEGIN 0x68000000 /* the begining address of external SRAM */
|
|
|
|
// <o>End Address of External SRAM
|
|
|
|
// <o>End Address of External SRAM
|
|
|
|
// <i>Default: 0x68080000
|
|
|
|
// <i>Default: 0x68080000
|
|
|
|
#define STM32_EXT_SRAM_END 0x68080000 /* the end address of external SRAM */
|
|
|
|
#define STM32_EXT_SRAM_END 0x68080000 /* the end address of external SRAM */
|
|
|
|
// </e>
|
|
|
|
// </e>
|
|
|
|
|
|
|
|
|
|
|
|
// <o> Internal SRAM memory size[Kbytes] <8-64>
|
|
|
|
// <o> Internal SRAM memory size[Kbytes] <8-64>
|
|
|
|
// <i>Default: 64
|
|
|
|
// <i>Default: 64
|
|
|
|
#define STM32_SRAM_SIZE 64
|
|
|
|
#define STM32_SRAM_SIZE 64
|
|
|
|
#define STM32_SRAM_END (SRAM_BASE + STM32_SRAM_SIZE * 1024)
|
|
|
|
#define STM32_SRAM_END (SRAM_BASE + STM32_SRAM_SIZE * 1024)
|
|
|
|
|
|
|
|
|
|
|
|
#define VECT_TAB_FLASH /* use Flash to store vector table */
|
|
|
|
#define VECT_TAB_FLASH /* use Flash to store vector table */
|
|
|
|
|
|
|
|
|
|
|
|
#define LED_RUN_ON GPIO_SetBits (GPIOB,GPIO_Pin_5) //RUN
|
|
|
|
#define LED_RUN_ON GPIO_SetBits (GPIOB,GPIO_Pin_5) //RUN
|
|
|
|
#define LED_RUN_OFF GPIO_ResetBits(GPIOB,GPIO_Pin_5) //RUN
|
|
|
|
#define LED_RUN_OFF GPIO_ResetBits(GPIOB,GPIO_Pin_5) //RUN
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************************************************************************/
|
|
|
|
/*********************************************************************************************************/
|
|
|
|
/** MACRO'S */
|
|
|
|
/** MACRO'S */
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
/* DATA TYPES */
|
|
|
|
/* DATA TYPES */
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
/***********************************************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|