1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/redbee-econotag
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
..
drivers fix licenses to LGPL fixes #1148 2014-05-14 10:04:34 +02:00
include core/cpu/board: moved F_CPU define to board 2014-05-06 10:36:09 +02:00
tools Fix possible null pointer dereference 2014-02-20 02:29:33 +01:00
board_init.c moved boards into subdirectory 2013-11-06 10:11:57 -08:00
Makefile make: easifier usage of module subdirectories 2014-06-17 15:49:32 +02:00
Makefile.include make: remove local definitions of (ELF|HEX)FILE 2014-06-12 10:12:49 +02:00
README moved boards into subdirectory 2013-11-06 10:11:57 -08:00

Flashing:
tools/mc1322x-load.pl -f <path/to/binary> -t /dev/<tty-device>

more information: https://github.com/malvira/libmc1322x/wiki/libmc1322x#loading-images-to-ram-with-mc1322x-loadpl

Erase:
cd tools/ftditools/
make
./bbmc -l redbee-econotag erase

more information: https://github.com/malvira/libmc1322x/wiki/bbmc