source: rtems/bsps/arm/lpc176x/config/lpc1768_mbed.cfg @ eb36d11

5
Last change on this file since eb36d11 was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08

bsps: Move make/custom/* files to bsps

Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 534 bytes
Line 
1#
2# Config file for mbed LPC1768 board.
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU = arm
8
9CPU_CFLAGS = -march=armv7-m -mthumb
10
11CFLAGS_OPTIMIZE_V = -O2 -ggdb3
12CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
13LDFLAGS            = -Wl,--gc-sections
14
15BINEXT?=.bin
16# This defines the operations performed on the linked executable.
17# is currently required.
18define bsp-post-link
19    $(OBJCOPY) -O binary --strip-all \
20        $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT)
21    $(SIZE) $(basename $@)$(EXEEXT)
22endef
Note: See TracBrowser for help on using the repository browser.