1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

24 Commits

Author SHA1 Message Date
Joakim Nohlgård
7835ab2be7 make: Move BOARD and CPU includes to Makefile.modules 2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd boards: Remove Makefile.include.cortexm_common 2016-02-10 16:37:03 +01:00
6662dc86eb board: arduino-due, mbed_lpc1768, udoo: remove redundant CPU_MODEL define 2015-06-11 20:45:39 +02:00
Hauke Petersen
49dcb692d1 boards: adapted Makefiles to cortexm_common folder
- changed naming of cortexm_common in makefiles
- included some minor cleanups
2015-05-28 19:30:07 +02:00
401f417a78 board: mbed_lpc1768: adapt to common board Makefile 2015-05-26 10:46:34 +02:00
Joakim Gebart
a55f49825e mbed_lpc1768: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
BytesGalore
c40e5267a6 board/mbed_lpc1768 changed the serial device to UART0
-> enables USB/serial communication
2014-12-17 07:27:28 +01:00
Hauke Petersen
8161689337 board/mbed_lpc1768: added flash script 2014-12-09 15:57:20 +01:00
Hauke Petersen
6e87ee19ff board/mbed_lpc1768: changed binary ouput to .bin 2014-12-09 13:31:17 +01:00
Hauke Petersen
764207e02e board/mbed_lpc1768: heavy clean-up
- removed legacy code
- added default defines
- created periph_conf.h
2014-11-20 17:40:57 +01:00
Hauke Petersen
b4327e491c board/mbed_lpc1768: cleaned up Makefile.include 2014-11-19 11:17:56 +01:00
Hauke Petersen
6cb72c273d board/mbed_lpc1768: enabled C++ support 2014-11-18 19:23:19 +01:00
Oleg Hahm
559b072a59 make: don't overwrite LINKFLAGS
Fix the boards' Makefiles were a potentially set LINKFLAGS variable were
overwritten.
2014-10-17 22:39:45 +02:00
René Kijewski
1608fd1570 make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
3f59eefbaf Use subfolders in bin dir
Creating all object files in one directory is bound to produce name
clashes. RIOT developers may take care to use unique file names, but
external packages surely don't.

With this change all the objects of a module (e.g. `shell`) will be
created in `bin/$(BOARD)/$(MODULE)`.

I compared the final linker command before and after the change. The
`.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same
order. Neglecting the changed path name where the `.o` files reside, the
linker command stays exactly the same.

A major problem could be third party boards, because the location of the
`startup.o` needs to the specified now in
`boards/$(BOARD)/Makefile.include`, e.g.
```Makefile
export UNDEF += $(BINDIR)msp430_common/startup.o
```
2014-04-09 00:28:14 +02:00
René Kijewski
caea069bcf Do not mandate input language
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.

This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
2014-02-14 00:06:02 +01:00
Oleg Hahm
b34e14945d fixed include path for mbed board 2014-01-05 16:11:08 +01:00
Oleg Hahm
9df07f9238 muting compiler and binutils optionally
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01:00
Oleg Hahm
c48b34f540 use proper variables in board Makefiles 2014-01-05 16:11:08 +01:00
Oleg Hahm
c7d985d371 removed redundant include pathes from Makefiles 2014-01-05 16:11:08 +01:00
Oleg Hahm
55f31a4829 simplify include structure for boards
* do not overwrite CFLAGS in boards Makefile
2014-01-05 16:11:07 +01:00
Oleg Hahm
4b56ecf646 fixes Makefiles for mbed_lpc1768 board 2013-12-19 17:30:35 +01:00
Oleg Hahm
b6a7dc953f initial support for the mbed NXP LPC168
* http://mbed.org/platforms/mbed-LPC1768/
2013-11-09 18:40:25 -08:00