Files
paparazzi/conf/Makefile.arm-embedded-toolchain
Fabien-B f60c68c130 Fix gcc prefix and update libopencm3. (#2922)
* Fix gcc prefix and update libopencm3.

See:
https://github.com/libopencm3/libopencm3/commit/7be50a5e75ed2d163d38a6759347c5e778ac02ab
https://github.com/libopencm3/libopencm3/commit/034dbf20ff8c54dcbee5238390b37a0d35180f44

* update luftboot
* Update linker scripts.
* Update deprecated function.
* Update rcc_clock_scale structure.
* Add compatibility defines.
2023-01-25 14:11:53 +01:00

35 lines
774 B
Makefile

# Hey Emacs, this is a -*- makefile -*-
#
# Copyright (C) 2012-2014 Felix Ruess <felix.ruess@gmail.com>
#
# This is the common Makefile for finding the arm compiler
# for bare metal systems like on the ARM7TDMI, cortex M3/4
PREFIX ?= arm-none-eabi-
ifeq ($(shell which $(PREFIX)gcc),)
ifneq ($(MAKECMDGOALS),clean)
$(warning Warning: arm-none-eabi-gcc cross-compiler not found! Some tools might not be able to build correctly)
endif
endif
CC = $(PREFIX)gcc
CXX = $(PREFIX)g++
LD = $(PREFIX)g++
AR = $(PREFIX)ar
CP = $(PREFIX)objcopy
DMP = $(PREFIX)objdump
NM = $(PREFIX)nm
SIZE = $(PREFIX)size
STRIP = $(PREFIX)strip
GDB = $(shell which $(PREFIX)gdb)
ifeq ($(GDB),)
GDB = $(shell which gdb-multiarch)
endif
# some general commands
RM = rm