diff --git a/boards/base/Embest-STM32-DMSTF4BB/readme.txt b/boards/base/Embest-STM32-DMSTF4BB/readme.txt index 48499d39..a2a90bc9 100644 --- a/boards/base/Embest-STM32-DMSTF4BB/readme.txt +++ b/boards/base/Embest-STM32-DMSTF4BB/readme.txt @@ -1,6 +1,8 @@ This directory contains the interface for the Embest-STM32-DMSTF4BB board 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 also been provided in the chibios_board directory diff --git a/boards/base/FireBull-STM32F103-FB/readme.txt b/boards/base/FireBull-STM32F103-FB/readme.txt index a80dd461..a53a2fd0 100644 --- a/boards/base/FireBull-STM32F103-FB/readme.txt +++ b/boards/base/FireBull-STM32F103-FB/readme.txt @@ -1,6 +1,8 @@ This directory contains the interface for the FireBull-FB-STM32F103 board 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 also been provided in the chibios_board directory diff --git a/boards/base/HY-MiniSTM32V/readme.txt b/boards/base/HY-MiniSTM32V/readme.txt index 80927c14..3ee93780 100644 --- a/boards/base/HY-MiniSTM32V/readme.txt +++ b/boards/base/HY-MiniSTM32V/readme.txt @@ -1,6 +1,8 @@ This directory contains the interface for the HY-MiniSTM32V board 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 also been provided in the chibios_board directory diff --git a/boards/base/Mikromedia-Plus-STM32-M4/readme.txt b/boards/base/Mikromedia-Plus-STM32-M4/readme.txt index 5ac696b5..8547cf60 100644 --- a/boards/base/Mikromedia-Plus-STM32-M4/readme.txt +++ b/boards/base/Mikromedia-Plus-STM32-M4/readme.txt @@ -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. 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. diff --git a/boards/base/Mikromedia-STM32-M4-ILI9341/readme.txt b/boards/base/Mikromedia-STM32-M4-ILI9341/readme.txt index d6efa93e..cecf677d 100644 --- a/boards/base/Mikromedia-STM32-M4-ILI9341/readme.txt +++ b/boards/base/Mikromedia-STM32-M4-ILI9341/readme.txt @@ -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. 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. diff --git a/boards/base/Olimex-SAM7EX256-GE8/readme.txt b/boards/base/Olimex-SAM7EX256-GE8/readme.txt index 2910f815..0241334e 100644 --- a/boards/base/Olimex-SAM7EX256-GE8/readme.txt +++ b/boards/base/Olimex-SAM7EX256-GE8/readme.txt @@ -14,4 +14,8 @@ Note there are two variants of this board - one with the GE8 display There is an example Makefile and project in the examples directory. There are also board files predefined for (just add driver to the makefile): - - TLS8204 on the UEXT connector (Olimex MOD3310) \ No newline at end of file + - 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. diff --git a/boards/base/Olimex-STM32-LCD/readme.txt b/boards/base/Olimex-STM32-LCD/readme.txt index 539d48e4..4b7582f6 100644 --- a/boards/base/Olimex-STM32-LCD/readme.txt +++ b/boards/base/Olimex-STM32-LCD/readme.txt @@ -4,3 +4,4 @@ running ChibiOS/RT. As this is not a standard ChibiOS/RT supported board, the necessary board files have 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. diff --git a/tools/gmake_scripts/cpu_stm32m1.mk b/tools/gmake_scripts/cpu_stm32m1.mk index 87030aee..9c8246e6 100644 --- a/tools/gmake_scripts/cpu_stm32m1.mk +++ b/tools/gmake_scripts/cpu_stm32m1.mk @@ -14,7 +14,7 @@ # NONE # -SRCFLAGS += -mcpu=cortex-m3 -falign-functions=16 -LDFLAGS += -mcpu=cortex-m3 +SRCFLAGS += -mcpu=cortex-m1 -falign-functions=16 +LDFLAGS += -mcpu=cortex-m1 DEFS += CORTEX_USE_FPU=FALSE diff --git a/tools/gmake_scripts/cpu_stm32m3.mk b/tools/gmake_scripts/cpu_stm32m3.mk new file mode 100644 index 00000000..87030aee --- /dev/null +++ b/tools/gmake_scripts/cpu_stm32m3.mk @@ -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 +