blob: 577be12457ce16cf78cab98e89f5614f4da5405d [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5STM32_CHIP := stm32f746
6
7PLATFORM := stm32f7xx
8
9SDRAM_SIZE := 0x00800000
10SDRAM_BASE := 0xc0000000
11
12GLOBAL_DEFINES += \
13 ENABLE_UART1=1 \
14 ENABLE_SDRAM=1 \
15 USE_HSE_XTAL=1 \
16 SDRAM_BASE=$(SDRAM_BASE) \
17 SDRAM_SIZE=$(SDRAM_SIZE) \
18 PLL_M_VALUE=8 \
19 PLL_N_VALUE=336 \
20 PLL_P_VALUE=2 \
21\
22 PKTBUF_POOL_SIZE=16
23
24
25MODULE_SRCS += \
26 $(LOCAL_DIR)/init.c \
27 $(LOCAL_DIR)/lcd.c \
28 $(LOCAL_DIR)/usb.c
29
30MODULE_DEPS += \
31 lib/gfx
32
33include make/module.mk
34