Skip to content

Commit

Permalink
Fix GCC 10 (-fcommon flag)
Browse files Browse the repository at this point in the history
  • Loading branch information
mat1jaczyyy committed Jul 4, 2021
1 parent 8ef1e14 commit dfdc951
Show file tree
Hide file tree
Showing 2 changed files 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 @@ -56,7 +56,7 @@ LD = arm-none-eabi-gcc
OBJCOPY = arm-none-eabi-objcopy

CFLAGS = -O2 -Wall -I.\
-D_STM32F103RBT6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 \
-D_STM32F103RBT6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 -fcommon \
-fsigned-char -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -DHSE_VALUE=6000000UL \
-DCMSIS -DUSE_GLOBAL_CONFIG -ffunction-sections -std=c99 -mlittle-endian \
$(INCLUDES) -o
Expand Down
Binary file modified build/cfw.syx
Binary file not shown.

0 comments on commit dfdc951

Please sign in to comment.