Commit Graph

3259 Commits (919cddef19c886877e532bdc432f164788422a90)
 

Author SHA1 Message Date
René Kijewski 919cddef19 make: rename VERSION into RIOT_VERSION
Building MSP boards gives an error, because `VERSION` is somewhere
defined in their toolchain as an integer.

This PR renames `VERSION` into `RIOT_VERSION`, because that's what it
is.
9 years ago
Oleg Hahm a6e97a4f75 Merge pull request #1034 from Kijewski/vtimer-callbacks
vtimer: fix callback usage
9 years ago
Oleg Hahm b78a1b32d0 Merge pull request #1387 from LudwigOrtmann/msg_fixup
core/msg: clean up after #1285
9 years ago
Oleg Hahm c607bc3069 Merge pull request #1109 from Kijewski/make-exports
make: no "unfriedly" `exports` in the application's Makefile
9 years ago
René Kijewski ac9c80f417 make: don't use export on example makefiles 9 years ago
René Kijewski 747138cf99 make: move exported make vars to one place 9 years ago
Ludwig Ortmann f33dc4601b Merge pull request #1395 from LudwigOrtmann/transceiver_unregister
sys/transceiver: add transceiver_unregister and refactor transceiver_register
9 years ago
Ludwig Ortmann a992d4d848 sys/transceiver: use size_t instead of u8 in loops 9 years ago
Ludwig Ortmann 8e93886d36 sys/transceiver: refactor un/register
remove race conditions
make less restrictive (allow double-un/registers)
make loops more readable
9 years ago
Ludwig Ortmann d034cfac29 sys/transceiver: implement transceiver_unregister 9 years ago
Ludwig Ortmann c264338e31 sys/transceiver: fix t9r_register API compliance 9 years ago
Oleg Hahm 53c28dd964 Merge pull request #1398 from haukepetersen/fix_hwtimer_arch
core: removed duplicated hwtimer_arch.h
9 years ago
Hauke Petersen 9001e0c2fb core: removed duplicated hwtimer_arch.h 9 years ago
René Kijewski d2a82217c9 Merge pull request #1397 from LudwigOrtmann/thread_fixup
core/thread: remove thread_create_arg from header
9 years ago
Ludwig Ortmann 5ebdf6e745 core/thread: remove thread_create_arg from header
It's just a leftover from #856
9 years ago
Thomas Eichinger 17f2eb80b8 Merge pull request #1396 from LudwigOrtmann/lgplv2.1-short
tests: add pattern for short lgplv2.1 header
9 years ago
Ludwig Ortmann fe2d2e06ca tests: add pattern for short lgplv2.1 header
Add the license checker pattern which is advertised in our wiki.
9 years ago
René Kijewski 7a2f64baff Merge pull request #856 from Kijewski/issue-847
core: add an argument to `thread_create()` (implementation)
9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
René Kijewski 867246a09f Add argument to thread_create 9 years ago
Ludwig Ortmann 909c8d0b54 Merge pull request #1393 from LudwigOrtmann/issue-1392
tests/examples cleanup
9 years ago
Kévin Roussel 8cc7bd2da8 Merge pull request #1388 from rousselk/fix-z1-cc2420-txrx
boards/z1: fix cc2420_txrx function in CC2420 driver HAL
9 years ago
Ludwig Ortmann c7e793dca7 test: remove superfluous stack size defines 9 years ago
Ludwig Ortmann 1a8967cb45 tests&examples: apply coding conventions to sizeof 9 years ago
Ludwig Ortmann 06a86aef20 tests&examples: use sizeof(stack) in thread_create
fixes #1392
9 years ago
Oleg Hahm 1518d6ac64 Merge pull request #1390 from cgundogan/fix_socket_internal_t_packed_attr
destiny: deleting packed attribute from socket_internal_t
9 years ago
Oleg Hahm d45718909a Merge pull request #1391 from cgundogan/fix_tcp_kernel_conf_stack_size
destiny: Adjust TCP_STACK_SIZE
9 years ago
Cenk Gündoğan 8724eb1169 destiny: Adjust TCP_STACK_SIZE
Currently, the TCP_STACK_SIZE is `KERNEL_CONF_STACKSIZE_DEFAULT`.
However, since printf statements are used in the tcp relevant code,
this stack size is too small (esp. for MSBA2).
9 years ago
Cenk Gündoğan b5e7460d45 destiny: deleting packed attribute from socket_internal_t
While testing the tcp implementation on MSBA2 I noticed that
the value of `tcp_input_buffer_end` gets changed whenever acquiring or
releasing the mutex of the struct on the server side.

After deleting the packed attribute of the struct this problem was
resolved and the value stayed the same after acquiring and releasing.

This problem could maybe arise from badly placed cache lines due to
missing padding... I am not sure.

Anyway, I guess using the packed attribute is useless here and makes it
more error-prone.
9 years ago
Ludwig Ortmann 282ddc98fe Merge pull request #1386 from haukepetersen/fix_shellcmd_dep
make: removed shell_commands dependency
9 years ago
Ludwig Ortmann 2a859c78cd SQUASHME: do it right 9 years ago
Ludwig Ortmann d8a5ee1ec8 core/msg: set m->sender_pid before it is used
fixes `msg_send_to_self` condition
9 years ago
Oleg Hahm 6f96bd76b8 Merge pull request #1382 from Kijewski/qemu-i86-term-timeout
x86: increase timeout in qemu's term
9 years ago
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.
9 years ago
Ludwig Ortmann b6f2426d16 core/msg: revert part of #1285
use m->sender_pid instead of sched_active_pid again
undoes the optimization intended by #1285
fixes uint/int warning
9 years ago
Kévin Roussel a13066a0a6 Merge pull request #1385 from rousselk/fix-cc2420-driver-cca
Fix a nasty race condition in CCA determination on CC2420
9 years ago
Kévin Roussel 67c3ceb979 Merge pull request #1383 from rousselk/fix-cc2420-tx
Fix a design error in cc2420_do_send() function
9 years ago
Hauke Petersen 231e8eb3e9 make: removed shell_commands dependency 9 years ago
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").
9 years ago
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()
9 years ago
Ludwig Ortmann 0a6a83d6f3 Merge pull request #1285 from LudwigOrtmann/msg_fixup
core/msg: prevent null pointer dereference
9 years ago
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.
9 years ago
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'
9 years ago
Ludwig Ortmann 9e3c66ebbc Merge pull request #1373 from Kijewski/easify-nativeincludes-usage
native: easify NATIVEINCLUDES usage
9 years ago
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
9 years ago
Kévin Roussel e77a3b0e56 Correction of HAL for CC2420 on concerned boards 9 years ago
Kévin Roussel 165e5ee52f Extend CC2420 driver to comply with interfaces described in 'radio_driver.h' 9 years ago
René Kijewski 5b70271b3f Merge pull request #1379 from benpicco/setup_git
setup git committer info in Travis
9 years ago
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.
9 years ago
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.
9 years ago