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

3295 Commits

Author SHA1 Message Date
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
Simon Gene Gottlieb
b8ef2b90b6 bugfix: msp430 can write now more then one byte to flash 2014-06-25 20:53:32 +02:00
René Kijewski
4a9864ebc7 make / cortex m: replace hyphen in module name
When you compile for UDOO, you are greeted by a multitude of this
warnings:
```
<command-line>:0:14: warning: ISO C99 requires whitespace after the macro name [enabled by default]
```

The reason for that is the argument `-DMODULE_CORTEX-M3_COMMON`.

This PR fixes this problem by replacing hyphens with underscores for the
`-D…` argument.
2014-06-25 20:50:44 +02:00
René Kijewski
4615004fdf Merge pull request #981 from vanhieubk/nhat_mixCompiler
Another way to mix c and cpp in user app with RIOT [native]
2014-06-25 20:16:34 +02:00
Pham Huu Dang Nhat
d204e832a7 added sudo apt-get install g++-multilib to travis.yml 2014-06-25 16:37:05 +07:00
Pham Huu Dang Nhat
3595506020 added riot_and_cpp example 2014-06-25 16:37:05 +07: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
63c74fcebf Merge pull request #1334 from Kijewski/issue-1333
make: OSX: don't fail for empty .a archives
2014-06-24 21:50:45 +02:00
René Kijewski
2093df60cd Merge pull request #1252 from Kijewski/travis-x86
tests/Travis: run unittests on qemu-i386, too
2014-06-24 21:50:11 +02:00
René Kijewski
b17028bb46 tests/Travis: run unittests on x86, too 2014-06-24 21:07:20 +02:00
René Kijewski
2f66319a3a make: OSX: don't fail for empty .a archives
Fixes issue #1333.
2014-06-24 20:29:32 +02:00
Hauke Petersen
33ad7c9499 Merge pull request #1289 from haukepetersen/fix_drivers_periph_timer
drivers: added set_absolute to timer interface
2014-06-24 18:45:23 +02:00
Hauke Petersen
5d20053f74 drivers: added set_absolute to timer interface 2014-06-24 18:46:06 +02:00
René Kijewski
3063e3c2b1 Fix all warnings for native and qemu-i386
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02: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
Oleg Hahm
fda7ce12d2 Merge pull request #1321 from cgundogan/fix_missing_ack_bit
destiny: set ack bit for (almost) all segments after syn
2014-06-24 11:16:37 +02:00
Cenk Gündoğan
75546fcf6c destiny: set ack bit for (almost) all segments after syn
The current implementation does not set the ack bit
for outgoing data segments and the fin segment.

However, RFC793 states that all segments
should have an ack bit set in order to present a valid
ack nr. in outgoing segments.

Currently, data segments and acknowledgement segments
are distinguished by the existence of their ack bit.
With the new assumption, that both of these types of
segments need an ack bit set, I had to change several
parts of the current implementation to make this
decision by inspecting the payload size.

destiny: added parens
2014-06-24 10:44:11 +02:00
Cenk Gündoğan
400286168f destiny: wireshark revealed wrong seq/ack nr. in tcp handshake
Capturing the tcp handshake with wireshark revealed that the
sequence and ack nrs. are not rfc compliant.
I did the changes based on
http://tools.ietf.org/html/rfc793#page-52 to http://tools.ietf.org/html/rfc793#page-72
2014-06-24 10:21:23 +02:00
Oleg Hahm
8931681e8a Merge pull request #1337 from OlegHahm/print_ignore
shell: added command to print all ignored addresses
2014-06-24 10:11:36 +02:00
Oleg Hahm
9f39226108 shell: added command to print all ignored addresses 2014-06-24 10:11:06 +02:00
René Kijewski
49769d7df1 Merge pull request #1343 from Kijewski/fixup-1258
x86: fix up `make term` for x86
2014-06-23 19:49:20 +02:00
Oleg Hahm
455485483f Merge pull request #1236 from authmillenon/pyterm-six
pyterm: make it usable with python 2 and 3
2014-06-23 19:01:41 +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
d19fc447ed make: make DIRS usable for applications 2014-06-23 15:50:10 +02:00
René Kijewski
35e74ad725 make: refactor make system (parallelism, deduplication)
Almost everything was build sequentially in RIOT, because we employed
explicit for-loops to build directories (DIRS). This PR makes our make
system use normal dependencies to build directories.

All our compiling rules were duplicated, once for the application, once
for modules. This PR makes the application a normal module, removing
this duplication.
2014-06-23 15:49:55 +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
Martin Lenders
46c38230eb pyterm: Make pyterm available in python2 and python3 2014-06-23 09:15:17 +02:00