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

50 Commits

Author SHA1 Message Date
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
René Kijewski
467b41ad49 make: easifier usage of module subdirectories
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:

```make
DIRS = …

all: $(BINDIR)$(MODULE).a
   @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

clean::
   @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
Thomas Eichinger
38f3ea6d78 fix licenses to LGPL fixes #1148 2014-05-14 10:04:34 +02:00
Hauke Petersen
7545eff784 core/cpu/board: moved F_CPU define to board 2014-05-06 10:36:09 +02:00
Thomas Eichinger
d89faccc78 Merge pull request #1031 from LudwigOrtmann/issue_676
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00
Ludwig Ortmann
3a1980af36 redbee-econotag: fix maca
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.

closes: #676
2014-04-18 16:05:23 +02:00
René Kijewski
300d6b3e35 Make: exterminate 'clean' buildtarget
Closes #993.

We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.

This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +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
Ludwig Ortmann
91814e52ae make: replace MAKEBASE with RIOTBASE
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Ludwig Ortmann
9b61d95545 make: don't ignore failures in for loops
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
René Kijewski
2349d0806e "Exterminate } else {" 2014-02-16 23:29:47 +01:00
René Kijewski
102dc45382 Eliminate findstring in more places 2014-02-14 14:30:16 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Ludwig Ortmann
85c6b6587e replace uint16_t with radio_address_t in maca
adpots includes and makes them adhere to the coding conventions
2014-02-07 18:56:04 +01:00
Oleg Hahm
fe575d52df Merge pull request #364 from OlegHahm/float_stack_sizes
added a dedicated stacksize for float printfs
2014-01-09 10:48:38 -08:00
Oleg Hahm
26c50522d5 simplified and unified cpu build structure 2014-01-05 16:11:07 +01:00
Martin Lenders
69809928d3 Make UART0_BUFSIZE configurable by CPU 2013-12-20 11:10:42 +01:00
Oleg Hahm
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +01:00
Thomas Eichinger
0afb992fc7 changed copyright statement 2013-12-18 11:16:41 +01:00
Thomas Eichinger
1d2f1479b6 hwtimer_wait issue fixed 2013-12-18 11:11:15 +01:00
Thomas Eichinger
1fcb47f9ed fixed interrupt handling for hwtimer 2013-12-18 11:11:15 +01:00
Thomas Eichinger
1e39e7e486 change to the mc1322x IRQ handling
since mc1322x lacks a VIC this is a kind of SW VIC with low latency and
compatibility to the VIC API in mind.
2013-12-18 11:11:14 +01:00
Thomas Eichinger
a1cd29d68e added basic install_irq function 2013-12-18 11:10:21 +01:00
Thomas Eichinger
a26b7ac4ba remove isr.c to change interrupt handling to VIC model 2013-12-18 11:10:20 +01:00
Thomas Eichinger
8aeaea6fdc changed CFLAGS to CFLAGS_BASIC (no -mthumb flag) 2013-12-18 11:10:20 +01:00
Thomas Eichinger
39c69166c5 fixes startup code and adds proper irq handler for mc1322x 2013-12-18 11:10:20 +01:00
Hauke Petersen
edcabf7cb6 Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +01:00
Oleg Hahm
6a1fcaf288 added a dedicated stacksize for float printfs 2013-11-21 20:41:28 +01:00
Oleg Hahm
1117867eaf Merge pull request #231 from thomaseichinger/maca_move
move mc1322x MACA implementation from the boards to RIOT repo
2013-11-06 14:21:58 -08:00
Oleg Hahm
46deefe0f8 make Makefiles proof for spaces in $PATH 2013-10-09 15:28:53 +02:00
Thomas Eichinger
7abda31b0f move mc1322x MACA implementation from the boards repo to RIOT repo 2013-10-04 14:20:51 +02:00
Thomas Eichinger
b749e59276 added a basic implementation of the ASM module featuring
* CTR encryption
* CBC-MAC mode
* CTR-CBC-MAC mode
* structure for ASM registers
2013-09-26 23:39:58 +02:00
Thomas Eichinger
040fb1539c moved GPIO implementation from boards to RIOT since ADC implementation depends on it 2013-09-20 14:55:34 +02:00
Thomas Eichinger
659e1c2041 added support for the ADC module of the mc1322x MCU 2013-08-23 12:05:11 +02:00
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
3ad55cce8b changed default stacksize
* the default stacksize no longer set for a thread using printf
* the stacksize for the main thread therefore adds the necessary space
2013-08-14 18:04:25 +02:00
Oleg Hahm
540515bd98 removed unmaintained tracelog library 2013-08-12 22:38:18 +02:00
Oleg Hahm
42001d8ddb dummy lpm_set implementation 2013-07-24 22:22:08 +02:00
Thomas Eichinger
4bc89bd458 added fixes for compilation for mc1322x 2013-07-24 15:50:16 +02:00
Thomas Eichinger
92adb3e401 * added proper "struct TMR_struct*" in hwtimer_cpu.c
* removed dublicate definition of the UART structure in mc1322x.h
2013-07-23 10:36:16 +02:00
Thomas Eichinger
ee6d1e1604 implemented hwtimer_arch_(enable|disable)_interrupt() and added ITC definitions 2013-04-25 14:56:32 +02:00
Thomas Eichinger
cc49d42f99 added implementations for hwtimer_arch_unset() and hwtimer_arch_now() 2013-04-25 13:38:55 +02:00
Thomas Eichinger
abc80ba5e4 added implementation of htimer_arch_set_absolute() 2013-04-25 13:32:50 +02:00
Thomas Eichinger
64cbb25d3e * changed httimer_arch_init() to init all 4 timers and added implementation for hwtimer_arch_set 2013-04-25 13:30:09 +02:00
Oliver Hahm
0add4cad21 * mc1322x specifics syscalls 2013-04-02 02:07:41 +02:00
Oliver Hahm
24300304f3 * added startup code for mc1322x 2013-04-02 02:07:13 +02:00
Oliver Hahm
ce294b4249 * changed to struct based register access for mc1322x 2013-04-02 02:06:24 +02:00
Oliver Hahm
2177b130d7 * added header and preliminary hwtimer code for mc1322x
* renamed start to startup
2013-04-01 02:11:43 +02:00
Oliver Hahm
efd73d735b * initial not yet compiling(!) support for mc1322x 2013-04-01 00:18:52 +02:00