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

106 Commits

Author SHA1 Message Date
Hauke Petersen
18e364ae17 boards: removed deprecated HW_TIMER defines 2015-09-17 11:22:03 +02:00
Hauke Petersen
8d89b95af5 boards: added missing periph_timer feature 2015-09-16 10:58:56 +02:00
830af458ea oldnet: remove radio_packet_length_t define 2015-08-06 12:13:18 +02:00
Oleg Hahm
e634b8c5a8 Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
BigDaddyD
b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
2015-06-24 15:54:36 +02: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
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Hauke Petersen
c8d15660f2 board/mbed_lpc1768 fixed doxygen group name 2015-02-12 13:39:08 +01: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
Hauke Petersen
28751d8773 board/mbed_lpc1768: added CLKSEL to periph_conf 2014-12-19 13:48:08 +01:00
Hauke Petersen
765c4f38e5 Merge pull request #2201 from BytesGalore/mbed_lpc1768_uartUSB
board/mbed_lpc1768 changed the serial device to UART0
2014-12-17 10:35:03 +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
54ca0b9a65 board/mbed_lpc1768: added timer definitions 2014-12-16 16:57:31 +01:00
Oleg Hahm
bd80cbcaff Merge pull request #2172 from haukepetersen/add_mbed_makeflash
board/mbed_lpc1768: added flash script
2014-12-09 17:17:07 +01:00
Hauke Petersen
b0fb2a601c Merge pull request #2167 from haukepetersen/add_lpc1768_uart
cpu/lpc1768: added basic UART driver
2014-12-09 16:27:41 +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
e4fa4a61b7 board/mbed_lpc1768: added UART configuration 2014-12-08 19:48:20 +01:00
Oleg Hahm
d3d68c876f doc: use @brief for single defines 2014-11-30 21:18:24 +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
BytesGalore
fc56535dd3 boards: add extern "C" to header files 2014-10-31 11:27:59 +01:00
Oleg Hahm
3c0d91720b Revert "boards: introduced a HAS_RADIO define"
This reverts commit 4238f40429.
2014-10-30 23:13:52 +01:00
Oleg Hahm
313d5b4e56 doc: added and fixed some copyright boilerplates 2014-10-30 19:30:14 +01:00
Oleg Hahm
1548f93e76 Merge pull request #1906 from OlegHahm/has_radio_board_define
boards: introduced a HAS_RADIO define
2014-10-30 17:59:50 +01:00
Oleg Hahm
4238f40429 boards: introduced a HAS_RADIO define 2014-10-30 17:52:37 +01:00
Lotte Steenbrink
c4538cacd0 boards/mbed_lpc1768: disable DEBUG by default
Set ENABLE_DEBUG from (1) to (0)
2014-10-30 02:25:44 -07:00
Oleg Hahm
481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
2014-10-23 20:53:00 +02: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
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
7ca2e874e1 converting tabs to spaces in boards (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
'''find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;'''
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:34:28 +02:00
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
Ludwig Ortmann
289b63c06f dist/tools: add license checker
Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.
2014-06-17 10:17:20 +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
Oleg Hahm
4ddc9539fd documentation: unified descriptive text for boards 2014-05-24 15:03:06 +02:00
Ludwig Ortmann
98bbb80571 documentation: append my email to my name everywhere 2014-05-15 18:07:17 +02:00
Hauke Petersen
7545eff784 core/cpu/board: moved F_CPU define to board 2014-05-06 10:36: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
Christian Mehlis
0309fecc19 fix warning: invalid suffix on literal
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01: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
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Ludwig Ortmann
b58aa87572 add mbed_lpc1768 hwtimer stub
closes #586
2014-02-01 10:26:11 +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
1e665b49de build everything in the project directory 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