Christian Mehlis
80135e6655
Merge pull request #824 from LudwigOrtmann/3des_includes
...
sys/crypto: remove assert.h include
2014-03-01 17:14:44 +01:00
Ludwig Ortmann
c51c135192
sys/crypto: remove assert.h include
...
It is not used and most platforms don't have it.
2014-03-01 14:43:13 +01:00
Martin Lenders
7f8e2c2991
Add getter and setter of long addresses to transceiver
2014-02-28 23:13:22 +01:00
René Kijewski
6636e9c8e8
native/posix: Don't include sys/types.h in sem
...
`sys/types.h` contains the native definition for `pthread_*_t`. This
causes clashes if you want to use `semaphore` and `pthread` in the same
application.
2014-02-27 15:26:25 +01:00
Christian Mehlis
af87308e2a
Merge pull request #782 from OlegHahm/syscall_gettimeofday
...
sys: vtimer: added gettimeofday syscall
2014-02-26 15:56:53 +01:00
René Kijewski
c507632e50
Use argc and argv in shell handlers
...
Compare #708 .
Now the tokenization of an input line is done by the shell itself. You
may quote arguments with `"..."`. Empty arguments, supplied by `""` are
preserved. Spaces in between arguments are squasheds; spaces inside
quotes are preserved.
You cannot partially quote an argument. You must not use
- `cmd "abc`,
- `cmd abc"def"`, or
- `cmd "abc"def`.
2014-02-25 17:54:17 +01:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Christian Mehlis
96d0eafc1a
spelling: fix autor to author
2014-01-24 19:04:28 +01:00
Oleg Hahm
690c4564f2
include "cpu.h" for MSP430 platforms in fd.h
2014-01-20 13:48:37 +01:00
Martin Lenders
abe65b09bb
Implement file descriptor table
...
Needed for pnet
2014-01-17 14:40:57 +01:00
Oleg Hahm
ed8a220cd0
Merge pull request #442 from mehlis/vtimer_get_localtime
...
Vtimer get localtime
2014-01-15 09:19:06 -08:00
Christian Mehlis
93ddf37d81
added timex_isnormalized
2014-01-09 16:36:40 +01:00
Christian Mehlis
5a6e16cfc3
added timex_uint64 function
2014-01-09 16:36:40 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
8d157130ae
move include directives from header to C file
2014-01-05 16:11:07 +01:00
Christian Mehlis
3d67ad3a8a
add vtimer_get_localtime
2013-12-23 23:36:03 +01:00
Martin Lenders
68f7b9090e
Make shell buffer size a shell property
2013-12-20 11:10:50 +01:00
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +01:00
Oleg Hahm
885798aaca
Merge pull request #391 from haukepetersen/import_crypto
...
Initial import of crypto libs from SecureMicroMeshRouting
2013-12-19 10:10:37 -08:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Hauke Petersen
05419a5547
Initial import of crypto libs from SecureMicroMesh
...
- Imported files from secure micro mesh library
- added Makefiles and included libs into sys/Makefile
2013-12-19 13:33:06 +01:00
Oleg Hahm
8d45202421
add documentation for auto_init ( fixes #43 )
2013-12-16 15:16:08 +01:00
Hauke Petersen
2df82017a8
Fixed doxygen inconsistensies in sys
2013-12-16 15:09:18 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Oleg Hahm
7f0d71a418
Merge pull request #363 from OlegHahm/msg_fix_notifier
...
fixed lowpan and ipv6 notifier
2013-12-11 06:27:40 -08:00
Christian Mehlis
0cb152c423
added vtimer_msg_receive_timeout
2013-12-09 22:14:59 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
079d654104
set message type for lowpan and ipv6 notifier
2013-11-21 20:21:55 +01:00
Oleg Hahm
2532dda859
Merge pull request #241 from mehlis/shell
...
shell: don't use malloc on each line
2013-11-14 05:44:43 -08:00
Oleg Hahm
cc45909ffc
Merge pull request #236 from OlegHahm/telosb
...
Telosb
2013-11-14 01:55:47 -08:00
Christian Mehlis
84e73ae324
clean up shell
2013-11-14 10:45:24 +01:00
Christian Mehlis
bb85cb33d9
shell: dont't use malloc on each line
2013-11-14 10:45:24 +01:00
authmillenon
18e97f6dd5
Use GCC/Clang builtins for bit arithmetics
2013-11-03 15:14:28 +01:00
Christian Mehlis
6a317cdd1a
add radio_packet_length_t
2013-10-29 20:36:12 +01:00
Christian Mehlis
39d5299f69
posix: add semaphore implementation
2013-10-25 14:45:26 +02:00
Christian Mehlis
9c70e4501c
only include debug functions if needed
2013-10-11 14:21:47 +02:00
Kévin Roussel
d2535f3841
Added missing definition of 'PRIu32' in some RIOT include files
...
to avoid a bug in mspgcc's standard library
2013-10-09 15:10:22 +02:00
Christian Mehlis
2e44523b51
change the bloom filter to filter arrays of bytes
...
current implementation of the bloom filter only
handles c strings, this commits changes the hash
functions to work on byte arrays.
additionally I did:
added to more hashes
moved hashes in its own sys folder
2013-08-27 13:30:33 +02:00
Christian Mehlis
0dc5437e31
fixes for PRNG
2013-08-26 22:18:02 +02:00
René Kijewski
49876c15f7
Update on @mehlis' Mersene twister code
...
* Consistent naming
* C99 style variable definition
* Code de-duplication through mathematical conversions
* Less magic numbers (higher powers of twoof two))
2013-08-26 22:18:02 +02:00
Christian Mehlis
5ccde8340d
add mersenne twister
2013-08-26 22:17:46 +02:00
Martin Lenders
50f4e473d2
Fix transceiver documentation
2013-08-16 13:12:12 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
50dd9c3f21
undefined payload before setting for native
2013-08-15 19:39:39 +02:00
Oleg Hahm
701b8177fb
fixed some ifdefs and added necessary includes to transceiver.h
2013-08-15 19:27:31 +02:00
Oleg Hahm
e65ae85640
remove static for vtimer_print
2013-08-15 19:13:21 +02:00
Oleg Hahm
b64fb65935
Merge branch 'agilefox_clean' of https://github.com/AlaeddineWeslati/RIOT into AlaeddineWeslati-agilefox_clean
...
Conflicts:
sys/include/transceiver.h
sys/transceiver/transceiver.c
Additional changes:
* allow for multi-transceiver initialization
* change packet reception to old implementation
2013-08-15 19:07:14 +02:00
Oleg Hahm
b798663151
Merge pull request #140 from LudwigOrtmann/nativenet_transceiver
...
Nativenet transceiver
2013-08-15 06:06:37 -07:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00
Ludwig Ortmann
2b8da20476
fix PAYLOAD_SIZE define
2013-08-15 13:55:58 +02:00
Oleg Hahm
ec1d7b9bdf
Merge pull request #139 from OlegHahm/default_stacksize
...
Default stacksize
2013-08-14 15:21:48 -07:00
Oleg Hahm
7eba346aff
make transceiver make use of the default stacksize
2013-08-14 18:07:01 +02:00
Oleg Hahm
b1c57a9755
removed duplicated paragraph
2013-08-14 17:52:27 +02:00
Oleg Hahm
ecca0ee28e
fix for #117 and position of preprocessor directives
2013-08-13 18:27:06 +02:00
Christian Mehlis
c6be56ad22
Merge pull request #124 from mehlis/sha256
...
add the default wrapper for sha256
2013-08-13 00:15:10 -07:00
Oleg Hahm
2d8bb530f9
Merge pull request #106 from OlegHahm/802154_debugging
...
added missing include to transceiver
2013-08-12 11:32:30 -07:00
Christian Mehlis
618cb30e30
add the default wrapper for sha256
2013-08-12 19:39:54 +02:00
Alaeddine WESLATI
ab26352ee8
bugfixes : #endif was missing, and TRANSCEIVER_AT86RF231 was colliding with another transceiver.
2013-08-12 16:48:16 +02:00
Alaeddine WESLATI
3338a12d4e
added AT86RF231 payload size
2013-08-12 15:17:22 +02:00
Alaeddine WESLATI
11bb09b7f8
started adding at86rf231 driver
...
at86rf231 TX and RX
driver is using vtimer instead of hwtimer_ functions, TO CHECK
vtimer debug function prototype fix
2013-08-12 15:17:22 +02:00
Christian Mehlis
870480049f
added doxygen doc to sha256
2013-08-12 10:01:48 +02:00
Christian Mehlis
7d84936fd7
add sha256 implementation
2013-08-12 10:01:48 +02:00
Christian Mehlis
0fb5e89c89
moved doc to header and converted it to doxygen
2013-08-10 12:13:31 +02:00
Christian Mehlis
5a45d15894
initial bloom filter import
2013-08-09 22:37:03 +02:00
Christian Mehlis
1f8a80b686
remove superfluous semicolons
2013-08-09 10:26:00 +02:00
Oleg Hahm
0815de942a
fixed debugging in transceiver (stack size was too small)
2013-08-08 23:43:15 +02:00
Oleg Hahm
f12d5628eb
fixed transceiver for mc1322x
2013-07-24 23:53:23 +02:00
Oleg Hahm
19e4034ace
Merge branch 'thomas-mc1322x'
...
Conflicts:
Makefile.modules
core/kernel_init.c
core/thread.c
cpu/arm_common/arm_cpu.c
cpu/arm_common/syscalls.c
cpu/lpc_common/hwtimer_cpu.c
cpu/lpc_common/iap.c
sys/include/transceiver.h
sys/net/sixlowpan/sixlowip.c
sys/net/sixlowpan/sixlowmac.c
sys/net/sixlowpan/sixlowmac.h
sys/net/sixlowpan/sixlowpan.c
sys/transceiver/Makefile
sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oleg Hahm
599e266b55
Revert "removed redefined ENABLE_DEBUG"
...
This reverts commit 69c526f44d
.
Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Oleg Hahm
615ddb1eaa
some buffer adjustments
2013-07-24 00:02:44 +02:00
Thomas Eichinger
585f4f3698
embedded mc1322x radio API into transceiver.{c,h}
2013-07-23 15:27:12 +02:00
Christian Mehlis
9549c29ccb
fix missing includes
2013-06-30 01:53:53 +02:00
Oliver Hahm
bf85e4902c
Merge branch 'rpl' of ssh://ukleos.org:2222/home/git/ukleos
...
Conflicts:
board/msba2-common/tools/src/control_2xxx.c
drivers/cc110x/cc1100-interface.h
projects/test_rpl/main.c
sys/include/vtimer.h
sys/net/sixlowpan/rpl/Jamfile
sys/net/sixlowpan/rpl/objective_functions.c
sys/net/sixlowpan/rpl/objective_functions.h
sys/net/sixlowpan/rpl/of0.c
sys/net/sixlowpan/rpl/of0.h
sys/net/sixlowpan/rpl/rpl.c
sys/net/sixlowpan/rpl/rpl_dodag.c
sys/net/sixlowpan/rpl/rpl_structs.h
sys/net/sixlowpan/rpl/trickle.c
sys/net/sixlowpan/sixlowmac.c
sys/vtimer/vtimer.c
2013-06-28 17:53:21 +02:00
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
2013-06-22 05:11:53 +02:00
Christian Mehlis
8faf6b77b6
add a print function for timex and vtimer
2013-06-14 20:38:27 +02:00
Christian Mehlis
3ab669578c
do includes the right way (for riot includes)
2013-06-14 20:33:28 +02:00
Christian Mehlis
4d8783e023
use out parameter for vtimer_now
2013-06-13 10:23:47 +02:00
Oliver Hahm
6f92e1dae8
* changed transceiver_type_t to bit field
...
(fixing #47 )
2013-06-10 12:40:59 +02:00
Ludwig Ortmann
b36ddd7fd7
Merge remote-tracking branch 'upstream/master'
2013-05-15 10:18:08 +02:00
Ludwig Ortmann
2d29a26b64
fix stack and interrupt bugs
2013-04-15 20:08:46 +02:00
Martin Lenders
07e8ac9c19
Remove swtimer
...
see #4
2013-04-11 15:24:15 +02:00
Stephan Arndt
adfc3306ab
WARNING: BROKEN COMMIT added not working etx_beaconing into rpl, added small vtimer debug changes, changed cc1100 default mode
2013-03-15 17:48:13 +01:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
Oleg Hahm
2277b366b2
* removed outdated occurrences of (u|µ)kleos and FeuerWare
2013-03-07 20:51:26 +01:00
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
961b4df179
[core cib] [projects default] [sys shell]
...
* fixed some minor issues found by splint
2012-02-14 14:49:45 +01:00
Oliver Hahm
461fac8698
[cc110x_ng transceiver]
...
* added a ignore function for debugging purposes
2012-02-08 17:14:50 +01:00
Oliver Hahm
59a46e0e88
Merge branch 'sixlowpan'
...
Conflicts:
cpu/arm_common/hwtimer_cpu.c
sys/include/vtimer.h
sys/vtimer.c
2012-01-11 17:02:43 +01:00
Oliver Hahm
7b1b145b4f
[cpu lpc2387]
...
* added mci driver
[sys shell]
* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
d423176587
[sys vtimer]
...
* removed vtimer_set_cb
2011-12-01 13:28:20 +01:00
Oliver Hahm
e00e4160d7
[sys timex/vtimer]
...
* fixed #17
2011-12-01 13:01:36 +01:00
Oliver Hahm
04936c6c0f
[sys vtimer]
...
* set timer->pid to 0 for set_cb and set_wakeup
2011-11-30 15:50:36 +01:00
mlenders
9521142842
merged
2011-07-10 22:49:41 +02:00
Oliver Hahm
15d27d8244
* Wiselib update for the linekrscript
...
* some minor changes in vtimer
2011-06-24 18:54:20 +02:00
Stephan Zeisberg
ddec7bad36
vtimer sixlowpan functions
2011-04-15 16:43:43 +02:00
Stephan Zeisberg
5abef6daf2
changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t"
2011-03-08 11:43:21 +01:00
Stephan Zeisberg
e9d351da8d
changed ringbuffer to ringbuffer_t
2011-03-08 11:17:57 +01:00
Stephan Zeisberg
66b668d6e1
implemented ieee 802.15.4 data transmission
2011-01-04 10:25:16 +01:00
Oliver Hahm
da7077b467
Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos
2010-12-10 18:02:31 +01:00
Oliver Hahm
ec6a794143
[cc110x_ng]
...
* fuxed transceiver driver for chronos
* some more stuff
2010-12-10 18:00:31 +01:00
54b8f9b48a
* vtimer: api doc updates
2010-12-10 17:31:26 +01:00
0ac2965b43
*swtimers: marked deprecated
2010-12-10 17:30:21 +01:00
1ee8fb13dd
* vtimer: api compatible to swtimer.
2010-12-10 17:16:18 +01:00
6a950320ae
* vtimer: new virtual timer implementation
2010-12-06 16:02:40 +01:00
9714c1e779
Merge branch 'master' of ssh://ukleos.org/home/git/ukleos
2010-12-06 15:50:58 +01:00
Oliver Hahm
fb1cb91c75
[board/msp-430-common board/msba2 core/]
...
* introduced dummy function for msp-430 config-save
* moved sysconfig from board to core
[sys/transceiver cpu/]
* moved some buffer size defines to cpu dependent parts
* some cleanups
2010-12-03 18:42:03 +01:00
Oliver Hahm
4a2c58bbba
[drivers/cc110x_ng sys/transceiver]
...
* updated interface to switch transceiver off and back to rx mode
* removed some debugging stuff
2010-12-02 15:38:28 +01:00
0de6300af0
* added some time functions
2010-12-01 17:23:28 +01:00
2cc6d44e52
* initial checkin of timex lib
2010-12-01 17:13:37 +01:00
Oliver Hahm
b522722ec6
[sys/transceiver projects/test_cc110x_ng]
...
' fixed buffer management
' introduced a message queue
2010-11-27 19:27:05 +01:00
Oliver Hahm
54172b5c86
[sys/shell project/test_cc110x_ng]
...
' moved monitor command from userapp to default shell command set
[sys/transceiver]
' make transceiver_pid "public"
2010-11-27 11:09:42 +01:00
Oliver Hahm
f5ab5c27bb
[drivers/cc1100_ng sys/transceiver]
...
' added a monitor mode
[sys/shell projects/test_cc1100_ng]
' moved shell commands to get/set channel and address and sending a packet from
userapp to default shell command set
2010-11-27 10:50:18 +01:00
Oliver Hahm
e6752c739b
[drivers/cc110x_ng projects/test_cc110x_ng sys/transceiver]
...
* fixed length handling
* more sophisticated sending function in userapp
2010-11-26 17:06:54 +01:00
Oliver Hahm
29cb64a37e
* NOTE: simple packet exchange using cc110x_ng seems to work now
...
* added TX functions to cc110x_ng driver and transceiver module
* split up cc1100_ng functions to more files
* added address asignment and request functions to driver and transceiver module
2010-11-26 10:23:46 +01:00
Oliver Hahm
d378ee1930
* added getter and setter for the channel to transceiver
...
* receiving now seems to work...
2010-11-24 21:45:38 +01:00
Oliver Hahm
d950fbcf81
* CC1100_NG still not working!
...
* added some debugging stuff
* changed cc1100_ng <-> transceiver msg api
* revised test application
2010-11-24 11:20:27 +01:00
Oliver Hahm
8d5a4890e4
* revised buffer and messaging management of transceiver
...
* renamed cc1100_ng header
2010-11-23 11:37:13 +01:00
Oliver Hahm
d98545f378
* changed buffer format for cc110x_ng and transceiver
...
* added some documentation
* added support for more than one transceiver
2010-11-21 14:00:24 +01:00
Oliver Hahm
044616bf19
* some work on rx handling in cc110x_ng
...
* added first version of cc110x_ng test application
* introduced a generic transceiver interface and module
2010-11-19 20:10:09 +01:00
Oliver Hahm
ee4b68371c
* added readc and putc to uart0 library
...
* allow overwrote of port by argument for pyterm
2010-11-18 17:33:25 +01:00
Oliver Hahm
cfad56430d
* changed swtime from 64 to 32 bit
2010-11-08 18:21:02 +01:00
f860abc408
* checkin of missing header file
2010-11-04 16:47:13 +01:00
07681a1914
* shell: added help,
...
* shell: fixed default shell commands
2010-11-04 15:05:51 +01:00
5a4524539d
* misc shell improvements
2010-11-02 17:23:10 +01:00
Oliver Hahm
88d3421ee7
* missing part of last commit
2010-11-01 17:38:23 +01:00
59d72c7d6a
* shell: removed hashmap dependency. shell is now O(n)
2010-10-01 15:24:43 +02:00
a5bfdd957b
* build fixes
2010-09-30 16:07:31 +02:00
b8ca7edac8
* refactored uart / chardev handling
2010-09-30 15:10:39 +02:00
315f99af16
* shell fixes, refactoring
2010-09-28 13:39:59 +02:00
7108f791fa
* added thread stat printing function (ps)
2010-09-24 16:50:14 +02:00
948e430148
* initial posix_io support
2010-09-24 16:28:34 +02:00
e3aa78e5bf
* file mode fix
2010-09-23 11:18:06 +02:00
4c3e26d7d7
* added shell
2010-09-22 17:25:19 +02:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00