kYc0o
62d8b9a268
drivers/cc2420: factorise/reorganise overall code
2016-07-06 20:23:23 +02:00
Hauke Petersen
abc6b5ccdf
drivers: added support for CC2420 radio
2016-07-06 18:14:48 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Oleg Hahm
761183bfd7
ieee802.15.4: switch to 26 as default channel
...
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.
See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Oleg Hahm
f23e7f90d2
cc2420: mask FSCTRL register for frequency access
2015-07-27 20:15:20 +02:00
Oleg Hahm
828839316b
core: renamed crash.h to panic.h
2015-05-09 18:44:10 +02:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Oleg Hahm
c92effaead
debug: removed superfluous additional debug flag
2014-12-03 22:59:14 +01:00
Ludwig Ortmann
b940f6b982
drivers/cc2420: use DEBUG_ENABLED instead of DEBUG
...
compare https://github.com/RIOT-OS/RIOT/issues/2067
2014-11-21 18:31:09 +01:00
Oleg Hahm
32543afdd0
ieee802154: make use of frame_type enum all over
2014-11-06 08:02:27 +01:00
Oleg Hahm
313d5b4e56
doc: added and fixed some copyright boilerplates
2014-10-30 19:30:14 +01:00
BytesGalore
f94623ae0f
drivers: add extern "C"
to header files
2014-10-21 15:30:03 +02:00
Oleg Hahm
66904fbabb
drivers: fixed German influenced typo
2014-09-17 15:21:15 +02:00
Ludwig Ortmann
2439bd839c
doc: fix more license headers
...
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Ludwig Ortmann
b7992922ce
fix license headers in non-.c files
2014-08-23 16:16:26 +02:00
Oleg Hahm
0ad7b170ed
make kernel_pid_t comparisons consistent
2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918
core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
...
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
4b1a2f32eb
net: fix kernel_pid_t checks
...
KERNEL_PID_NULL is a negative number. If kernel_pid_t variables are
initialized to this value, one have to check for lt/gte 0.
2014-08-07 16:31:27 +02:00
Ludwig Ortmann
47ca52cb8d
SQUASHME: clean out extern kernel_pid_t transceiver_pid redefinitions
2014-08-02 14:29:07 +02:00
Oleg Hahm
4e2640f9de
Merge pull request #1375 from OlegHahm/radio_packet_length
...
Radio packet length
2014-08-01 18:20:34 +02:00
Oleg Hahm
53433a1344
cc2420: use radio_packet_length_t
2014-08-01 17:06:30 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Cenk Gündoğan
c0f80c7f75
converting tabs to spaces in drivers ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:49:35 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +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
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
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
René Kijewski
300d6b3e35
Make: exterminate 'clean' buildtarget
...
Closes #993 .
We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.
This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Kévin Roussel
7475f0b1a5
Change year of file copyright
2014-04-09 10:43:34 +02:00
Kévin Roussel
4ed4cc51fb
Fixed implementation of channel_clear() function
2014-04-09 10:38:44 +02:00
Kévin Roussel
7fe9a8db39
Completed CC2420 constants documentation (DOxygen)
2014-04-03 15:52:53 +02:00
Kévin Roussel
6c40108c9c
Added standard way to query CCA status on CC2420 transceiver (squashed)
2014-04-02 17:56:07 +02:00
Kévin Roussel
0b4a1342c7
Fixed errors in addresses/PAN setting functions
2014-03-18 10:01:17 +01:00
Kévin Roussel
cf5f9e21de
Fixed an error in CC2420 register read function
2014-03-18 10:01:16 +01:00
Ludwig Ortmann
9b61d95545
make: don't ignore failures in for loops
...
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Martin Lenders
e125f97a41
Fix coding conventions in cc2420 driver
2014-02-24 16:15:19 +01:00
Martin Lenders
d51816d2e0
Fix cc2420 driver
2014-02-24 16:14:28 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Martin
742b49eb47
fix made transceiver_pid extern for cc2420
2014-02-10 08:53:53 +01:00
Ludwig Ortmann
04b94e0e9a
replace uint16_t with radio_address_t in cc2420
...
adpot includes
2014-02-07 18:56:04 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Martin Lenders
cc1cfcf166
Uncircumvent radio chip's status for IEEE 802.15.4 hardware
...
Currently the cc2420 and at86rf231 hardware addresses (IEEE 802.15.4
short and long) and frequency channel are read only from a global
variable in the driver. This global variable is only set when the
user sets the address/channel though both parameters might be preset
by the hardware. This change lets the driver read this parameters
directly from the hardware.
2014-01-24 13:15:35 +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
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Martin Lenders
d47907ed1a
Refactor net module to one include directory
2013-11-06 13:04:23 +01:00
Oleg Hahm
46deefe0f8
make Makefiles proof for spaces in $PATH
2013-10-09 15:28:53 +02:00
Martin Lenders
038e03ad3e
Enforce naming convention for ieee802154
2013-09-30 13:21:54 +02:00
Martin Lenders
e843727ed4
Relocate ieee802154_frame.h
2013-09-30 13:20:46 +02:00
Oleg Hahm
2bfdd1fed0
added missing initialization for cc2420 abort counter
2013-08-27 00:02:35 +02:00
Oleg Hahm
b3a9b8e6ea
use debug instead of printf
2013-08-27 00:02:35 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +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
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +02:00
Oliver Hahm
57cc002c67
Merge branch 'wsn430'
...
Conflicts:
core/include/queue.h
core/queue.c
cpu/msp430-common/hwtimer_cpu.c
cpu/msp430x16x/hwtimer_msp430.c
sys/lib/hashtable.c
sys/net/ieee802154/ieee802154_frame.c
sys/shell/commands/sc_cc110x_ng.c
sys/transceiver/transceiver.c
sys/vtimer/vtimer.c
2013-06-25 15:33:40 +02:00
Milan Babel
db1fc96ffe
added driver for cc2420
...
also added cc2420 to transceiver and added cc2420 shell commands
2013-06-06 08:35:17 +02:00