diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-11-05 19:32:47 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-11-05 19:33:22 +1000 |
commit | 2284e5e9cf2d22e485df1ac102cb58c5d649efcb (patch) | |
tree | 68270a3bc30c9b7ddb8846bbfba919b32c3052bb /boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile | |
parent | 665d998f43b31c2b9666232e899856e97eba1d01 (diff) | |
download | uGFX-2284e5e9cf2d22e485df1ac102cb58c5d649efcb.tar.gz uGFX-2284e5e9cf2d22e485df1ac102cb58c5d649efcb.tar.bz2 uGFX-2284e5e9cf2d22e485df1ac102cb58c5d649efcb.zip |
STM32F429i-Discovery board is now a supported board with an example project.
New gdisp driver (currently non-accelerated)
Mouse and other drivers still to come.
The board file is currently ChibiOS specific however the gdisp driver is suitable for any OS.
Diffstat (limited to 'boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile')
-rw-r--r-- | boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile new file mode 100644 index 00000000..2512c62a --- /dev/null +++ b/boards/base/STM32F429i-Discovery/example_chibios_2.x/Makefile @@ -0,0 +1,56 @@ +# Possible Targets: all clean Debug cleanDebug Release cleanRelease + +############################################################################################## +# Settings +# + +# General settings + # See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables + OPT_OS = chibios + OPT_THUMB = yes + OPT_LINK_OPTIMIZE = yes + OPT_CPU = stm32m4 + +# uGFX settings + # See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables + GFXLIB = ../uGFX + GFXBOARD = STM32F429i-Discovery + GFXDEMO = modules/gdisp/basics + +# ChibiOS settings +ifeq ($(OPT_OS),chibios) + # See $(GFXLIB)/tools/gmake_scripts/os_chibios.mk for the list of variables + CHIBIOS = ../ChibiOS + CHIBIOS_BOARD = ST_STM32F429I_DISCOVERY + CHIBIOS_PLATFORM = STM32F4xx + CHIBIOS_PORT = GCC/ARMCMx/STM32F4xx + CHIBIOS_LDSCRIPT = STM32F407xG.ld +endif + +############################################################################################## +# Set these for your project +# + +ARCH = arm-none-eabi- +SRCFLAGS = -ggdb -O0 +CFLAGS = +CXXFLAGS = -fno-rtti +ASFLAGS = +LDFLAGS = + +SRC = +OBJS = +DEFS = +LIBS = +INCPATH = +LIBPATH = +LDSCRIPT = + +############################################################################################## +# These should be at the end +# + +include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk +include $(GFXLIB)/tools/gmake_scripts/os_$(OPT_OS).mk +include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk +# *** EOF *** |