Add stm32m3 make option and fix stm32m1 make option

This commit is contained in:
inmarket 2015-06-08 11:30:30 +10:00
parent 08585ef751
commit 411e08902a
9 changed files with 38 additions and 3 deletions

View File

@ -1,6 +1,8 @@
This directory contains the interface for the Embest-STM32-DMSTF4BB board This directory contains the interface for the Embest-STM32-DMSTF4BB board
running ChibiOS/RT. running ChibiOS/RT.
If you are using the uGFX makefiles use OPT_CPU=stm32m4 in your makefile to get the correct cpu.
As this is not a standard ChibiOS/RT supported board, the necessary board files have As this is not a standard ChibiOS/RT supported board, the necessary board files have
also been provided in the chibios_board directory also been provided in the chibios_board directory

View File

@ -1,6 +1,8 @@
This directory contains the interface for the FireBull-FB-STM32F103 board This directory contains the interface for the FireBull-FB-STM32F103 board
running ChibiOS/RT. running ChibiOS/RT.
If you are using the uGFX makefiles use OPT_CPU=stm32m3 in your makefile to get the correct cpu.
As this is not a standard ChibiOS/RT supported board, the necessary board files have As this is not a standard ChibiOS/RT supported board, the necessary board files have
also been provided in the chibios_board directory also been provided in the chibios_board directory

View File

@ -1,6 +1,8 @@
This directory contains the interface for the HY-MiniSTM32V board This directory contains the interface for the HY-MiniSTM32V board
running ChibiOS/RT. running ChibiOS/RT.
If you are using the uGFX makefiles use OPT_CPU=stm32m3 in your makefile to get the correct cpu.
As this is not a standard ChibiOS/RT supported board, the necessary board files have As this is not a standard ChibiOS/RT supported board, the necessary board files have
also been provided in the chibios_board directory also been provided in the chibios_board directory

View File

@ -10,3 +10,5 @@ As this is not a standard ChibiOS supported board the necessary board files have
been provided in the ChibiOS_Board directory. been provided in the ChibiOS_Board directory.
There are two examples, one for ChibiOS/RT 2.x and one for ChibiOS/RT 3.x available. There are two examples, one for ChibiOS/RT 2.x and one for ChibiOS/RT 3.x available.
If you are using the uGFX makefiles use OPT_CPU=stm32m4 in your makefile to get the correct cpu.

View File

@ -13,3 +13,5 @@ As this is not a standard ChibiOS supported board the necessary board files have
been provided in the ChibiOS_Board directory. been provided in the ChibiOS_Board directory.
There are two examples, one for ChibiOS/RT 2.x and one for ChibiOS/RT 3.x available. There are two examples, one for ChibiOS/RT 2.x and one for ChibiOS/RT 3.x available.
If you are using the uGFX makefiles use OPT_CPU=stm32m4 in your makefile to get the correct cpu.

View File

@ -15,3 +15,7 @@ There is an example Makefile and project in the examples directory.
There are also board files predefined for (just add driver to the makefile): There are also board files predefined for (just add driver to the makefile):
- TLS8204 on the UEXT connector (Olimex MOD3310) - TLS8204 on the UEXT connector (Olimex MOD3310)
- SSD1306 on the UEXT connector using SPI (copy board_SSD1306_spi.h to board_SSD1306.h in your project directory)
- SSD1306 on the UEXT connector using I2C (copy board_SSD1306_i2c.h to board_SSD1306.h in your project directory)
If you are using the uGFX makefiles use OPT_CPU=at91sam7 in your makefile to get the correct cpu.

View File

@ -4,3 +4,4 @@ running ChibiOS/RT.
As this is not a standard ChibiOS/RT supported board, the necessary board files have As this is not a standard ChibiOS/RT supported board, the necessary board files have
also been provided in the chibios_board directory also been provided in the chibios_board directory
If you are using the uGFX makefiles use OPT_CPU=stm32m3 in your makefile to get the correct cpu.

View File

@ -14,7 +14,7 @@
# NONE # NONE
# #
SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16 SRCFLAGS += -mcpu=cortex-m1 -falign-functions=16
LDFLAGS += -mcpu=cortex-m3 LDFLAGS += -mcpu=cortex-m1
DEFS += CORTEX_USE_FPU=FALSE DEFS += CORTEX_USE_FPU=FALSE

View File

@ -0,0 +1,20 @@
#
# This file is subject to the terms of the GFX License. If a copy of
# the license was not distributed with this file, you can obtain one at:
#
# http://ugfx.org/license.html
#
#
# See readme.txt for the make API
#
# Requirements:
#
# NONE
#
SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16
LDFLAGS += -mcpu=cortex-m3
DEFS += CORTEX_USE_FPU=FALSE