Hauke Petersen
231e8eb3e9
make: removed shell_commands dependency
2014-07-08 16:48:22 +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
Kévin Roussel
a5a468a52b
drivers/cc2420: fix logical error in cc2420_do_send function
...
Do the correct test in cc2420_do_send() function when analyzing
the result of cc2420_load_tx_buf()
2014-07-08 16:29:17 +02:00
Ludwig Ortmann
0a6a83d6f3
Merge pull request #1285 from LudwigOrtmann/msg_fixup
...
core/msg: prevent null pointer dereference
2014-07-08 14:47:26 +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
Ludwig Ortmann
9e3c66ebbc
Merge pull request #1373 from Kijewski/easify-nativeincludes-usage
...
native: easify NATIVEINCLUDES usage
2014-07-08 12:02:45 +02:00
Ludwig Ortmann
5c9a975afb
core/msg: fix, optimize and improve
...
fixes:
fix race conditions by reordering dINTs
prevent null pointer dereference by adding forgotten target check
add forgotten eINTs
replace printf with DEBUG
fix debug messages
optimizations:
optimize pid access
reorder msg_send switches
improvements:
add debug statements
add missing return value to msg_send_to_self documentation
2014-07-08 11:57:38 +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
165e5ee52f
Extend CC2420 driver to comply with interfaces described in 'radio_driver.h'
2014-07-08 11:46:13 +02:00
René Kijewski
5b70271b3f
Merge pull request #1379 from benpicco/setup_git
...
setup git committer info in Travis
2014-07-08 00:06:45 +02:00
Benjamin Valentin
905be2c26c
setup git committer info in Travis
...
pkg/ Makefiles based on `Makefile.git` fail in Travis when attempting to apply patches with `git am` because no committer info is set.
This patch adds a dummy Travis username and mail in the 'install' step to satisfy git.
2014-07-07 23:48:02 +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
Ludwig Ortmann
34c2283d5e
Merge pull request #1351 from LudwigOrtmann/native_hwtimer
...
native: implement hwtimer removal
2014-07-07 11:01:48 +02:00
Oleg Hahm
e1b0efe9e6
Merge pull request #1352 from LudwigOrtmann/nofloat
...
sys/ps: don't use float for runtime calculations
2014-07-06 18:15:37 +02:00
Oleg Hahm
ade7c42d42
Merge pull request #1370 from OlegHahm/fix_stack_sizes
...
applications: set stack size correctly
2014-07-06 18:03:26 +02:00
René Kijewski
bba50ca667
Merge pull request #1359 from backenklee/ldovergcclink2
...
make: allow chosing ld-like over gcc-like options
2014-07-05 02:02:16 +02:00
Leon George
215c9aae2b
make: allow chosing ld-like over gcc-like options
...
make automatically adds '-Wl,' to linker-options. Supply `LINKFLAGPREFIX :=` to avoid that.
2014-07-05 01:33:08 +02:00
Ludwig Ortmann
295f32ac1b
sys/ps: fix comment style, superfluous declaration
2014-07-04 16:38:22 +02:00
Ludwig Ortmann
70dae32a3f
sys/ps: s/float/int for runtime
...
The high precision isn't needed, use per mille instead.
Circumvents printf problems on some platforms.
Also: prevent division by zero.
2014-07-04 16:38:22 +02:00
Hauke Petersen
7d98100de6
Merge pull request #1368 from haukepetersen/fix_gpio_disableinterrupt
...
drivers - gpio: expanded gpio driver interface
2014-07-04 16:13:07 +02:00
Oleg Hahm
13028b41bf
applications: set stack size correctly
...
The correct stack size for all examples and test applications correctly.
KERNEL_CONF_STACKSIZE_MAIN is the correct stack size for any thread
using printf.
Also adapted black lists accordingly.
2014-07-04 15:39:43 +02:00
Oleg Hahm
53f7bea52f
Merge pull request #1167 from fabianbrandt/rpl_base_split
...
Split RPL into core and mode related functions.
2014-07-04 11:21:05 +02:00
Hauke Petersen
133a106133
driver - gpio: small adjustments
2014-07-04 10:28:40 +02:00
Hauke Petersen
b2fad213d7
drivers - gpio: expanded gpio driver interface
...
- added functions for en|disabling a pins interrupt
2014-07-03 21:51:37 +02:00
Fabian Brandt
7fb462cd2c
Split RPL into core and mode related functions.
2014-07-03 20:23:57 +02:00
Oleg Hahm
451cc61965
Merge pull request #1187 from Kijewski/mbed_lpc1768-makefile-cleanup
...
lpc1768: cleanup Makefile
2014-07-03 16:27:59 +02:00
Hauke Petersen
10d2879dc5
Merge pull request #1358 from haukepetersen/fix_sam3x_vtimer
...
cpu - sam3x8e: fixed vtimer, added timer_set_absolute
2014-07-03 16:21:36 +02:00
Oleg Hahm
618d0705a3
Merge pull request #1365 from haukepetersen/fix_cortexm3_ltoflag
...
boards: removed -lto flag and cleanup for udoo&arduino due
2014-07-03 15:58:06 +02:00
Hauke Petersen
3f084b47ea
boards: removed -lto flag and cleanup for udoo&arduino due
2014-07-03 15:23:34 +02:00
Oleg Hahm
5005991ba7
Merge pull request #1218 from fabianbrandt/srh_rpl
...
Introducing a source routing header for RPL.
2014-07-02 21:43:06 +02:00
Fabian Brandt
62236e5d54
Introducing a source routing header for RPL.
2014-07-02 20:35:14 +02:00
Oleg Hahm
613caf3914
ccnl: eliminated empty translation unit warning
2014-07-02 19:23:14 +02:00
Oleg Hahm
0affcaf6e1
ccnl: fixed commenting style
2014-07-02 19:22:55 +02:00
Thomas Eichinger
d56e90a3f0
Merge pull request #1357 from haukepetersen/fix_cortexm3_threading
...
cpu: cortex-m3_common: cleanup thread_arch.c
2014-07-02 16:54:33 +02:00
Oleg Hahm
d52df839cd
Merge pull request #1356 from haukepetersen/fix_sam3x_newlibnano
...
cpu - sam3x8e: added switch for newlib-nano specs
2014-07-02 15:09:36 +02:00
Hauke Petersen
306d97d488
cpu - sam3x8e: fixed vtimer, added timer_set_absolute
2014-07-02 12:41:54 +02:00
René Kijewski
63dd8546af
Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
...
Fix all warnings for native and qemu-i386
2014-07-02 10:58:48 +02:00
Oleg Hahm
e75a6a86c0
Merge pull request #1354 from OlegHahm/nativenet_packetsize
...
nativenet: change max packet size to 127
2014-07-02 10:31:30 +02:00
Hauke Petersen
fe818c5735
cpu - sam3x8e: added switch for newlib-nano specs
2014-07-01 23:16:57 +02:00
Hauke Petersen
264634e90d
cpu cortex-m3_common: cleanup thread_arch.c
2014-07-01 23:08:30 +02:00
Oleg Hahm
44e5d8cfd0
nativenet: change max packet size to 127
...
Real IEEE 802.15.4 transceivers have a payload of 127. Hence, for
testing - particular 6lowpan - it would make sense to have the same
limitation in nativenet. Especially to test fragmentation this is
helpful.
2014-07-01 18:31:40 +02:00
Christian Mehlis
381fec1fa8
Merge pull request #1301 from cgundogan/fix_tcp_handshake_seq_ack_rfc_compliancy
...
destiny: wireshark revealed wrong seq/ack nr. in tcp handshake
2014-06-30 22:05:23 +02:00
Thomas Eichinger
8f87209f91
Merge pull request #1346 from Kijewski/hyphen-in-modulename
...
make: cortex m3: replace hyphen in module name
2014-06-30 14:10:34 +02:00
Thomas Eichinger
9ce538f8a4
Merge pull request #1304 from thomaseichinger/fix_cc2420_rxfifo_of
...
boards: harmonise cc2420 isr
2014-06-30 14:02:33 +02:00
Thomas Eichinger
2989932fa8
boards: harmonise cc2420 isr
...
TelosB, wsn430-v14, Z1
2014-06-30 13:56:41 +02:00
Ludwig Ortmann
6567de634f
native: implement hwtimer removal
2014-06-30 11:25:05 +02:00
Ludwig Ortmann
4859a7195a
Merge pull request #1349 from cgundogan/fix_pyterm_python_version
...
pyterm: made python compatible with python2 and python3
2014-06-27 21:04:29 +02:00
Cenk Gündoğan
0c40ccebc8
pyterm: made python compatible with python2 and python3
...
In python 3 there is no implicit converion of bytes to str or character.
2014-06-27 16:32:41 +02:00
Oleg Hahm
1ab4ab39be
Merge pull request #1348 from SGSSGene/bugfix_writetorom
...
msp430: fix writing more than one byte to flash
2014-06-26 10:39:50 +02:00