1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ... */
#ifndef __MAIN_H
#define __MAIN_H
#include "stm32f4xx_hal.h"
#include "stm32f413h_discovery.h"
Includes
#define PSRAM_BANK_ADDR ((uint32_t)0x60000000)
#define PSRAM_MEMORY_WIDTH FMC_NORSRAM_MEM_BUS_WIDTH_16
#define PSRAM_TIMEOUT ((uint32_t)0xFFFF)
Exported constants
/* ... */#endif