Skip to content

Commit

Permalink
Merge pull request #709 from concatime/remove-useless-definition
Browse files Browse the repository at this point in the history
Makefile: __TARGET_FPU_VFP is not used by GCC
  • Loading branch information
ataffanel authored Mar 2, 2021
2 parents 26d8b2c + 4afff13 commit edeabc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ST_OBJ += usb_core.o usb_dcd_int.o usb_dcd.o
ST_OBJ += usbd_ioreq.o usbd_req.o usbd_core.o

PROCESSOR = -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16
CFLAGS += -fno-math-errno -DARM_MATH_CM4 -D__FPU_PRESENT=1 -D__TARGET_FPU_VFP -mfp16-format=ieee
CFLAGS += -fno-math-errno -DARM_MATH_CM4 -D__FPU_PRESENT=1 -mfp16-format=ieee

#Flags required by the ST library
CFLAGS += -DSTM32F4XX -DSTM32F40_41xxx -DHSE_VALUE=8000000 -DUSE_STDPERIPH_DRIVER
Expand Down

0 comments on commit edeabc1

Please sign in to comment.