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

3331 Commits

Author SHA1 Message Date
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
Oleg Hahm
cfe5adbe30 Merge pull request #1316 from haukepetersen/add_driver_rgbled
drivers: added rgbled driver
2014-06-23 00:41:16 +02:00
Oleg Hahm
fde1c106ab Merge pull request #1259 from Kijewski/x86-heap-check
x86: add read-before-write check at runtime
2014-06-23 00:12:03 +02:00
Oleg Hahm
36b9f7e7d7 Merge pull request #1257 from Kijewski/shell-fix-newline
shell: fix newlines
2014-06-22 23:56:36 +02:00
Oleg Hahm
6f17f0c60a Merge pull request #1105 from Kijewski/shell-print-not-found
shell: print command if not found
2014-06-22 21:03:30 +02:00
Oleg Hahm
eedc16815c Merge pull request #891 from OlegHahm/rpl_debug
net: some debug code
2014-06-22 19:27:18 +02:00
Oleg Hahm
32394f1e1d Merge pull request #1310 from phiros/avsextrem_allow_use_of_cc110x_ng_driver
cc110x_ng: build cc110x_spi for avsextrem (bugfix)
2014-06-22 17:11:57 +02:00
Hauke Petersen
d9a7e675a2 Merge pull request #1315 from haukepetersen/add_sys_color
sys: added color module
2014-06-22 13:53:59 +02:00
Hauke Petersen
839955cd05 sys: added color module 2014-06-22 13:53:01 +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
Philipp Rosenkranz
42b7992e77 cc110x_ng: build cc110x_spi for all boards except chronos 2014-06-22 12:57:22 +02:00
René Kijewski
35d024fff0 Merge pull request #1340 from Kijewski/evaluate-git-sha-once
make: evaluate the Git SHA only once
2014-06-21 19:19:24 +02:00
René Kijewski
e0b3e84867 Merge pull request #1339 from LudwigOrtmann/issue-1284
make: s/PROJDEPS/APPDEPS/
2014-06-21 18:39:34 +02:00
René Kijewski
1d34522703 make: evaluate the Git SHA only once 2014-06-21 18:29:16 +02:00
Ludwig Ortmann
4b98570a34 doc: improve APPDEPS example
Addresses https://github.com/RIOT-OS/RIOT/pull/1339#discussion_r14050325
2014-06-21 18:28:34 +02:00