Skip to content

Commit 872f9af

Browse files
dhylandsdpgeorge
authored andcommitted
stmhal: Use CMSIS_MCU definition from mpconfigboard.mk
This needs to land afte adafruit#1407 lands, since adafruit#1407 is where the CMSIS_MCU was defined.
1 parent 8f59bac commit 872f9af

10 files changed

Lines changed: 1 addition & 9 deletions

File tree

stmhal/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ CFLAGS_MCU_f4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES
4949
CFLAGS_MCU_f7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 -DMCU_SERIES_F7
5050

5151
CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -ansi -std=gnu99 -nostdlib $(CFLAGS_MOD)
52+
CFLAGS += -D$(CMSIS_MCU)
5253
CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES))
5354
CFLAGS += $(COPT)
5455
CFLAGS += -Iboards/$(BOARD)

stmhal/boards/CERB40/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F401xE
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/HYDRABUS/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/NETDUINO_PLUS_2/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/PYBV10/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/PYBV3/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/PYBV4/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F405xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/STM32F4DISC/stm32f4xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F407xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

stmhal/boards/STM32F7DISC/stm32f7xx_hal_conf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
/* Exported types ------------------------------------------------------------*/
4747
/* Exported constants --------------------------------------------------------*/
4848

49-
#define STM32F746xx
5049
#define USE_USB_FS
5150

5251
/* ########################## Module Selection ############################## */

0 commit comments

Comments
 (0)