Use default linking stuff for now
This commit is contained in:
parent
8a03399dc3
commit
d0545ec844
11
Makefile
11
Makefile
|
@ -5,14 +5,15 @@ BMP_PORT ?= /dev/ttyBmpGdb
|
|||
|
||||
COMFLAGS=-g -Os -pedantic -Wall
|
||||
|
||||
LIBNAME = opencm3_stm32f4
|
||||
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
ARCH_FLAGS = -mthumb -mcpu=cortex-m4 $(FP_FLAGS)
|
||||
DEVDEFS = -DSTM32F4 -DSTM32F4CCM -DSTM32F405RG -D_ROM=1008K -D_RAM=128K -D_CCM=64K -D_CCM_OFF=0x10000000 -D_ROM_OFF=0x08004000 -D_RAM_OFF=0x20000000
|
||||
#LIBNAME = opencm3_stm32f4
|
||||
#FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
||||
#ARCH_FLAGS = -mthumb -mcpu=cortex-m4 $(FP_FLAGS)
|
||||
#DEVDEFS = -DSTM32F4 -DSTM32F4CCM -DSTM32F405RG -D_ROM=1008K -D_RAM=128K -D_CCM=64K -D_CCM_OFF=0x10000000 -D_ROM_OFF=0x08004000 -D_RAM_OFF=0x20000000 -DBOOTLOADER
|
||||
#LDSCRIPT = linker.ld
|
||||
DEVICE = STM32F405RG
|
||||
CFLAGS=$(COMFLAGS) $(DEVDEFS) -std=c99 -D_POSIX_C_SOURCE=200809L
|
||||
CXXFLAGS=$(COMFLAGS) -std=c++17
|
||||
|
||||
LDSCRIPT = linker.ld
|
||||
|
||||
OBJS = usb.o adc.o ringbuffer.o uart.o buttons.o printf.o encoder.o
|
||||
BINARY ?= main
|
||||
|
|
Loading…
Reference in New Issue
Block a user