Skip to content

Commit

Permalink
Updated for new define usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gloomyandy committed May 19, 2022
1 parent 5f38286 commit f2f8902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makefiles/STM32F4/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $(info - Linker Script used: $(LINKER_SCRIPT))


#Flags common for Core in c and c++
FLAGS = -D__$(PROCESSOR)__ -D_XOPEN_SOURCE -DSTM32F4 -DSTM32F407xx -DSTM32F40_41xxx -DSTM32F407_5ZX -DSTM32F4xx
FLAGS = -D__$(PROCESSOR)__ -D_XOPEN_SOURCE -DSTM32 -DSTM32F4 -DSTM32F407xx -DSTM32F40_41xxx -DSTM32F407_5ZX -DSTM32F4xx
#Build config flags
FLAGS += -D$(CONFIG)=1 -DSDTYPE=$(SDTYPE) $(SPICONFIG)
FLAGS += -DUSBCON -DUSBD_USE_CDC -DUSB_PRODUCT=\"RepRapFirmware\" $(VECTOR)
Expand Down
2 changes: 1 addition & 1 deletion makefiles/STM32H7/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $(info - Linker Script used: $(LINKER_SCRIPT))


#Flags common for Core in c and c++
FLAGS = -D__$(PROCESSOR)__ -D_XOPEN_SOURCE -DSTM32F4 -DSTM32H7 -DSTM32H743xx -DSTM32H7xx
FLAGS = -D__$(PROCESSOR)__ -D_XOPEN_SOURCE -DSTM32 -DSTM32H7 -DSTM32H743xx -DSTM32H7xx
#Build config flags
FLAGS += -D$(CONFIG)=1 -DSDTYPE=$(SDTYPE) $(SPICONFIG)
FLAGS += -DUSBCON -DUSBD_USE_CDC -DUSB_PRODUCT=\"RepRapFirmware\" $(VECTOR)
Expand Down

0 comments on commit f2f8902

Please sign in to comment.