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

234 Commits

Author SHA1 Message Date
Hauke Petersen
94848cf57f board: Initial import of stm32f3discovery 2014-07-31 19:42:00 +02:00
Philipp Rosenkranz
4d1ce32e66 avsextrem: use cc110x_ng as default transceiver driver 2014-07-30 22:18:23 +02:00
Ludwig Ortmann
b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Oleg Hahm
8076468cf4 Merge pull request #1474 from LudwigOrtmann/chronos_cleanup_display
boards/chronos: clean up display driver a bit
2014-07-29 15:34:43 +02:00
Hauke Petersen
20cb27d04d boards/udoo: cleanup in periph_conf.h
- removed unused defines
2014-07-28 17:22:35 +02:00
Hauke Petersen
11bb9d2627 boards/arduino-due: some cleanup
- added parenthesis for LED macros
- changed mapping for LED_* to LED_RED_*
- removed some old values from periph_conf.h
2014-07-28 17:22:22 +02:00
Kévin Roussel
d630eadca0 Merge pull request #1380 from rousselk/arduino-due-minor-fixes
Reset ARM Cortex-M3 MCUs before flashing
2014-07-28 14:13:03 +02:00
Ludwig Ortmann
3cda0369cb native: cleanup
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
c6bcc344ca native: uart reconnect buffer replay
When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).

The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.

closes #476
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
fb205550a1 boards/chronos: clean up display driver a bit
reduce scope of variables
remove useless comments and spaces

saves 2 bytes =)
2014-07-27 12:51:22 +02:00
Kévin Roussel
904f313ade Reset udoo's MCU before flashing 2014-07-25 16:02:20 +02:00
Hauke Petersen
99ecd4839a board: Initial import of stm32f4discovery 2014-07-16 17:20:42 +02:00
Oleg Hahm
3cb339a0ee Merge pull request #1434 from OlegHahm/fix_txtsnd_ieee802.15.4
shell: prepare a rudimentary IEEE 802.15.4 packet
2014-07-16 16:08:26 +02:00
Oleg Hahm
344f702366 shell: prepare a rudimentary IEEE 802.15.4 packet
The transceiver module expects an `ieee802154_packet_t` instead of a
`radio_packet_t` if the device supports the IEEE 802.15.4 packet format.
This commit fixes the corresponding transceiver shell command for
`txtsnd` to set destination address (short address mode), payload, and
length accordingly.
2014-07-16 16:07:49 +02:00
Hauke Petersen
0a9f4ed6a3 board: Initial import of stm32f0discovery 2014-07-16 15:21:19 +02:00
Simon Gene Gottlieb
519ed7163c board/flash: changing flashrom_write signature
→ changing all flashrom_write() function to the same signature
	→ adding const keyword to signature
2014-07-14 02:11:38 +02:00
Ludwig Ortmann
df36f6304a native: remove stale TODOs and blank line
The values are quite OK.
2014-07-13 07:24:01 +02:00
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
Kévin Roussel
8cc7bd2da8 Merge pull request #1388 from rousselk/fix-z1-cc2420-txrx
boards/z1: fix cc2420_txrx function in CC2420 driver HAL
2014-07-09 09:17:59 +02:00
Oleg Hahm
6f96bd76b8 Merge pull request #1382 from Kijewski/qemu-i86-term-timeout
x86: increase timeout in qemu's term
2014-07-08 17:32:19 +02:00
Kévin Roussel
28c6481266 boards/z1: fix cc2420_txrx function in CC2420 driver HAL
When waiting for transmission (to CC2420) to be done,
we were wrongly waiting for UCBUSY bit to be set,
while one should actually wait for that bit to be cleared.
2014-07-08 17:28:16 +02:00
Kévin Roussel
bee4698158 boards/xx/driver_cc2420: fix race condition in CCA determination
Ensure that CS is active and IRQ disabled when querying CCA
on CC2420 (cc2420_get_cca() function).
Also do a little refactoring (renamed c variable into count,
and named the constant corresponding to RSSI "timeout").
2014-07-08 16:33:18 +02:00
René Kijewski
cb15b52d73 x86: increase timeout in qemu's term
Currently `boards/qemu-i386/dist/term.py` expects QEMU to connect in
less than 5 seconds, which is plenty on any user machine. Travis CI,
which we use without paying a cent, sometimes fails to start QEMU in
this is timeframe, though.

This PR increases the timeout to one minute.
2014-07-08 12:45:13 +02:00
Thomas Eichinger
65e240f950 Merge pull request #1223 from rousselk/cc2420-extended-driver
CC2420: modify&extend driver to comply with API described in 'radio_driver.h'
2014-07-08 12:33:47 +02:00
Kévin Roussel
e77a3b0e56 Correction of HAL for CC2420 on concerned boards 2014-07-08 11:46:14 +02:00
Kévin Roussel
fcd0a8027a Reset the SAM3X8E before flashing
so as to avoid some hangups in the flashing process
2014-07-08 10:45:37 +02:00
René Kijewski
54047c72d3 native: override INCLUDES w/ NATIVEINCLUDES
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.

This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
2014-07-07 23:09:14 +02:00
Hauke Petersen
3f084b47ea boards: removed -lto flag and cleanup for udoo&arduino due 2014-07-03 15:23:34 +02:00
Hauke Petersen
fe818c5735 cpu - sam3x8e: added switch for newlib-nano specs 2014-07-01 23:16:57 +02:00
Thomas Eichinger
2989932fa8 boards: harmonise cc2420 isr
TelosB, wsn430-v14, Z1
2014-06-30 13:56:41 +02:00
Pham Huu Dang Nhat
f7398f61ff Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files. 2014-06-25 22:26:10 +07:00
René Kijewski
91318f5dfa x86: shutdown on LPM_POWERDOWN 2014-06-24 16:05:19 +02:00
René Kijewski
6ed3cf182b Merge pull request #1326 from Kijewski/make-parallel-dirs
make: refactor make system (parallelism, deduplication)
2014-06-24 15:54:53 +02:00
René Kijewski
ceb8ea2a3f x86: fix up make term for x86
When qemu-i386 shuts down the instance on its own accord, like in the
hello-world example, then the terminal is broken afterwards.

This PR ensures that the terminal flags are restored on shutdown.
2014-06-23 18:02:16 +02:00
René Kijewski
2ae0c1b149 make: use abspath for better error messages 2014-06-23 15:50:10 +02:00
René Kijewski
a9a76cb2c2 make: create dependencies as side effect 2014-06-23 15:50:10 +02:00
René Kijewski
c9c1f0d7fe Merge pull request #1258 from Kijewski/x86-term
x86: add proper terminal for qemu-i386
2014-06-23 15:28:27 +02:00
Hauke Petersen
749d6a7446 Merge pull request #1318 from haukepetersen/msba2_pwm
cpu: added low-level PWM driver for the lpc2387
2014-06-22 13:07:48 +02:00
Ludwig Ortmann
741d9beeb0 Merge pull request #1332 from Kijewski/native-fix-warnings-in-default
native: remove some warnings about undef functions
2014-06-19 17:28:16 +02:00
René Kijewski
6a75a14ce5 x86: garbage collect section if not debugging 2014-06-19 12:35:10 +02:00
René Kijewski
a0985e8819 x86: add proper terminal for qemu-i386
This includes GNU readline features and debugging.

Build with `make BOARD=qemu-i386 all-debug`.
Run with `make BOARD=qemu-i386 term`.

Debug with `make BOARD=qemu-i386 debug`. The default debugger is `gdb`.
Also supported are `debug-tui` (GDB Text User Interface), `debug-kdbg`,
and `debug-ddd`. Set a breakpoint in e.g. "startup" or "main", and
hit/write "continue".

The debugger can only run with a quite new toolchain (e.g. Debian
testing). Ubuntu 13.10. for example will likely report a crash in GDB
when switching from 16bit code to 32bit code.
2014-06-19 12:35:10 +02:00
Oleg Hahm
0d6e991e52 Merge pull request #1254 from Kijewski/x86-newlib-nicer-patches
x86: slightly better debuggable bincode
2014-06-19 00:14:43 +02:00
Martine Lenders
6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
René Kijewski
2f871ca885 native: remove some warnings about undef functions
This PR implements `real_X` for `X in (fork, dup2, unlink, execve)`.
These function caused warnings while making the default example.
2014-06-18 20:34:12 +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
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
Hauke Petersen
942a21d9c4 board - pttu: added periph_conf.h 2014-06-12 13:06:59 +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
Hauke Petersen
b588d48a63 boards: added periph_conf.h for msba2 and avsextrem 2014-06-11 19:54:21 +02:00
Ludwig Ortmann
dbc36fc2c5 native: add id option 2014-06-06 16:30:54 +02:00