Skip to content

Commit

Permalink
Update library
Browse files Browse the repository at this point in the history
Use the now standard $(PREFIX)gcc form instead of with the -.
more consistent with other projects.
  • Loading branch information
karlp committed Jun 7, 2019
1 parent be1d296 commit 5a828ff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
## along with this library. If not, see <http://www.gnu.org/licenses/>.
##

PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
PREFIX ?= arm-none-eabi-

TARGETS := stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4
TARGETS += stm32/l0 stm32/l1 stm32/l4
Expand Down
20 changes: 10 additions & 10 deletions examples/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ endif
###############################################################################
# Executables

PREFIX ?= arm-none-eabi

CC := $(PREFIX)-gcc
CXX := $(PREFIX)-g++
LD := $(PREFIX)-gcc
AR := $(PREFIX)-ar
AS := $(PREFIX)-as
OBJCOPY := $(PREFIX)-objcopy
OBJDUMP := $(PREFIX)-objdump
GDB := $(PREFIX)-gdb
PREFIX ?= arm-none-eabi-

CC := $(PREFIX)gcc
CXX := $(PREFIX)g++
LD := $(PREFIX)gcc
AR := $(PREFIX)ar
AS := $(PREFIX)as
OBJCOPY := $(PREFIX)objcopy
OBJDUMP := $(PREFIX)objdump
GDB := $(PREFIX)gdb
STFLASH = $(shell which st-flash)
STYLECHECK := /checkpatch.pl
STYLECHECKFLAGS := --no-tree -f --terse --mailback
Expand Down
2 changes: 1 addition & 1 deletion libopencm3
Submodule libopencm3 updated 57 files
+6 −6 Makefile
+3 −0 include/libopencm3/dispatch/nvic.h
+2 −0 include/libopencm3/efm32/hg/cmu.h
+9 −0 include/libopencm3/stm32/l0/rcc.h
+1 −1 include/libopencm3/stm32/l4/flash.h
+10 −1 include/libopencm3/stm32/l4/irq.json
+2 −0 include/libopencm3/stm32/l4/pwr.h
+5 −0 include/libopencm3/stm32/l4/rcc.h
+30 −0 include/libopencm3/swm050/doc-swm050.h
+116 −0 include/libopencm3/swm050/gpio.h
+21 −0 include/libopencm3/swm050/irq.json
+35 −0 include/libopencm3/swm050/memorymap.h
+3 −0 include/libopencm3/usb/usbd.h
+2 −0 include/libopencmsis/dispatch/irqhandlers.h
+22 −0 include/libopencmsis/swm050/irqhandlers.h
+3 −0 lib/dispatch/vector_nvic.c
+2 −4 lib/efm32/ezr32wg/Makefile
+2 −4 lib/efm32/g/Makefile
+2 −4 lib/efm32/gg/Makefile
+2 −4 lib/efm32/hg/Makefile
+17 −0 lib/efm32/hg/cmu.c
+2 −4 lib/efm32/lg/Makefile
+2 −4 lib/efm32/tg/Makefile
+2 −4 lib/efm32/wg/Makefile
+2 −4 lib/gd32/f1x0/Makefile
+2 −4 lib/lm3s/Makefile
+2 −4 lib/lm4f/Makefile
+2 −4 lib/lpc13xx/Makefile
+2 −4 lib/lpc17xx/Makefile
+2 −4 lib/lpc43xx/m0/Makefile
+2 −4 lib/lpc43xx/m4/Makefile
+2 −4 lib/msp432/e4/Makefile
+2 −4 lib/sam/3a/Makefile
+2 −4 lib/sam/3n/Makefile
+2 −4 lib/sam/3s/Makefile
+2 −4 lib/sam/3u/Makefile
+2 −4 lib/sam/3x/Makefile
+2 −4 lib/sam/4l/Makefile
+2 −4 lib/sam/d/Makefile
+1 −0 lib/stm32/common/rtc_common_l1f024.c
+2 −4 lib/stm32/f0/Makefile
+2 −4 lib/stm32/f1/Makefile
+2 −4 lib/stm32/f2/Makefile
+2 −4 lib/stm32/f3/Makefile
+2 −4 lib/stm32/f4/Makefile
+2 −4 lib/stm32/f7/Makefile
+2 −4 lib/stm32/g0/Makefile
+2 −4 lib/stm32/l0/Makefile
+105 −0 lib/stm32/l0/rcc.c
+2 −4 lib/stm32/l1/Makefile
+2 −4 lib/stm32/l4/Makefile
+15 −17 lib/stm32/l4/flash.c
+20 −0 lib/stm32/l4/pwr.c
+65 −0 lib/stm32/l4/rcc.c
+39 −0 lib/swm050/Makefile
+197 −0 lib/swm050/gpio.c
+2 −4 lib/vf6xx/Makefile

0 comments on commit 5a828ff

Please sign in to comment.