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

4782 Commits

Author SHA1 Message Date
Ludwig Ortmann
54050a24f1 Merge pull request #2111 from LudwigOrtmann/hwtimer_spin-reversal
tests/hwtimer_spin: revert behavior, fix doc
2014-11-28 17:29:05 +01:00
Ludwig Ortmann
07da49de40 native/make/osx: circumvent unavailable gobjcopy
It's not used anyways, so just create an empty hex file if gobjcopy is
not found.
2014-11-28 17:28:27 +01:00
Ludwig Ortmann
69d5868d71 Merge pull request #2110 from LudwigOrtmann/native-debug
native: fix some debug messages
2014-11-28 17:03:22 +01:00
Oleg Hahm
2072f0af67 Merge pull request #2107 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings
2014-11-28 16:51:42 +01:00
Ludwig Ortmann
6b95159632 tests/hwtimer_spin: revert behavior, fix doc 2014-11-28 16:23:24 +01:00
Ludwig Ortmann
4a6a4c07c0 Merge pull request #2105 from LudwigOrtmann/hwtimer_wait
tests/hwtimer_wait: test smallest value possible
2014-11-28 16:18:56 +01:00
Ludwig Ortmann
d11238a5ab native: fix some debug messages
`name` isn't part of `tcb_t` anymore, also some function identified itself
wrongly.
2014-11-28 15:37:28 +01:00
Oleg Hahm
7e6ac37a55 doc: exclude vendor specific headers from doxygen
Also, periph_conf contains mostly the same macros that don't need to be
documented in every single instance.
2014-11-28 14:26:56 +01:00
Oleg Hahm
823105bcae doc: remove superfluous parameter for @file
doxygen can figure this out much better on its own.
2014-11-28 14:20:24 +01:00
Ludwig Ortmann
9c082a9c0d Merge pull request #2106 from LudwigOrtmann/hwtimer_doc
core/hwtimer: fix HWTIMER_SPIN_BARRIER doc
2014-11-28 14:04:21 +01:00
Ludwig Ortmann
68e1db938c core/hwtimer: fix HWTIMER_SPIN_BARRIER doc 2014-11-28 13:53:23 +01:00
Ludwig Ortmann
ac8f51cb52 tests/hwtimer_wait: test smallest value possible
By selecting the start value as a multiple of HWTIMER_SPIN_BARRIER+1, the
test now includes the smallest non-spinning value.
2014-11-28 13:48:25 +01:00
Christian Mehlis
c4e961c082 Merge pull request #2103 from N8Fear/cppcheck_new
lint: fix some issues introduced by the latest PRs
2014-11-28 10:12:27 +01:00
Hinnerk van Bruinehsen
9f80fa235b lint: fix syntax error caused by ifdef mess 2014-11-28 01:17:55 +01:00
Hinnerk van Bruinehsen
59a6e5836b lint: fix uselessAssignmentArg start_index 2014-11-28 01:10:35 +01:00
Hinnerk van Bruinehsen
e7d0a7664f lint: fix possible nullptr deref in *pwr 2014-11-28 01:07:33 +01:00
Oleg Hahm
7f9fb2bea3 Merge pull request #1404 from fabianbrandt/rpl_nonstoring
Introduction of RPL non-storing mode
2014-11-28 00:29:45 +01:00
Fabian Brandt
12cd62c689 Introduction of RPL non-storing mode.
This implementation is based on RFC 6550 with addition of RFC 6554 (Source Routing Header for RPL). Both can be found under the following links:
- http://tools.ietf.org/html/rfc6550
- http://tools.ietf.org/html/rfc6554

The PR provides basic functionality for handling and forwarding packages in non-storing mode. In addition the structure of the previous implemented RPL storing mode is now revised, so that readability and modularity is increased. The following features are implemented:
- building function for a SRH and integration in common packets
- source-route build algorithm based on the structure of the DODAG
- an RPL-based interpretation of the SRH and removal at destination
- new structure for RPl-module with extracted beaconing-functionality
- leaf nodes are now supported

There are some missed goals and should be included in future updates:
- building a common routing table structure for different types of routing protocols
- routing tables are statically assigned via source code, future update should have an optional variable at build-time, which sets the size of the routing table depending on the desired functionality of a node in the network (root, node, leaf)
2014-11-27 21:42:40 +01:00
Oleg Hahm
b358d8517f Merge pull request #1080 from fabianbrandt/of_manager
Introduction of an of-manager for RPL.
2014-11-27 18:17:18 +01:00
Fabian Brandt
38d9b42762 Introduction of a of-manager for RPL.
The of-manager should gather all available of´s and initialize the prefered one, based on rpl_config.h.
2014-11-27 17:18:54 +01:00
DangNhat Pham-Huu
3e86b86472 Merge pull request #2083 from dangnhat/added_externc_for_missed_header
cpu/cc2538: added extern C for rfcore.h
2014-11-27 20:38:31 +07:00
Oleg Hahm
5ae6ca042c Merge pull request #1767 from Lotterleben/aodvv2_PR
Add the AODVv2 Routing Protocol
2014-11-27 14:13:59 +01:00
Oleg Hahm
b6e59e85a6 Merge pull request #885 from OlegHahm/sniffer_applicatoin
examples: net: Sniffer application
2014-11-27 14:03:01 +01:00
Oleg Hahm
a6414ea721 tools: added pcap script for sniffing radio
To use in combination with
https://github.com/RIOT-OS/applications/tree/master/sniffer
2014-11-27 14:01:29 +01:00
Oleg Hahm
565d70cab3 Merge pull request #2094 from OlegHahm/fix_bitarithm
core: Fix bitarithm and unittests
2014-11-27 13:02:44 +01:00
Lotte Steenbrink
0c67c02047 Add the AODVv2 Routing Protocol
This PR depends on #1766.

It contains a minimal implementation of the AODVv2 routing protocol.
*Not* implemented are:

	- AckReqs
	- alternate metrics
	- multiple interfaces
	- clients and Client Networks
	- buffering
	- all addresses, TLVs, and features that are marked as optional

An example application can be found at https://github.com/Lotterleben/RIOT-AODVv2/tree/master/aodvv2_demo.

The implementation relies heavily on a functioning Neighbor Discovery Protocol.
It might be necessary to fill the neighbor cache manually with the current state
of RIOTs NDP implementation.

The value of AODVV2_MAX_UNREACHABLE_NODES has been chosen arbitrarily and will be subject to
future improvement.

Please note that based on my experience, with the default transceiver
buffer size (3) of the native port, about 2/3 of the route discoveries
will fail. This has been addressed in issue #1747. It is advised to increase
the transceiver buffer size when using AODVv2 as a routing protocol.
2014-11-27 03:50:20 -08:00
Oleg Hahm
bd74f3af9b Merge pull request #2101 from N8Fear/cppcheck-triage
dist: run cppcheck with only one job (triage #2089)
2014-11-27 11:25:48 +01:00
Peter Kietzmann
270038b084 Merge pull request #2099 from haukepetersen/fix_test_hwtimerspin
test/hwtimer_spin: test slightly wider range
2014-11-27 11:22:20 +01:00
Hinnerk van Bruinehsen
ed9834c7ff dist: run cppcheck with only one job (triage #2089) 2014-11-27 08:58:34 +01:00
Peter Kietzmann
ea77608297 Merge pull request #2097 from haukepetersen/fix_stm32f0_spinbarrier
cpu/stm32f0: set hwtimer spin barrier value
2014-11-27 08:32:41 +01:00
Hauke Petersen
3026e55c14 Merge pull request #1868 from haukepetersen/fix_stm32f4_gpiootp
cpu/stm32f4: optimized GPIO driver implementation
2014-11-26 23:40:50 +01:00
Hauke Petersen
b7b03aced7 test/hwtimer_spin: test slightly wider range
test is now also testing for values slightly above SPIN_BARRIER
2014-11-26 18:54:07 +01:00
Hauke Petersen
36b3b9b457 cpu/stm32f0: set hwtimer spin barrier value 2014-11-26 18:40:17 +01:00
René Kijewski
8a9220a85c core: cib size must not exceed MAXINT/2 2014-11-26 18:04:54 +01:00
Hauke Petersen
f1fda21ab7 Merge pull request #2018 from brummer-simon/devel-dac_driver
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
Hauke Petersen
897b7cc2fa Merge pull request #2093 from haukepetersen/add_stm32f3_pwm
cpu/stm32f3: added PWM driver
2014-11-26 17:49:48 +01:00
Oleg Hahm
d34e14424e Revert "core: faster bitarithm_msb"
This reverts commit ed7e233876.
2014-11-26 17:20:47 +01:00
Hauke Petersen
e0bb9d5689 board/stm32f3discovery: added PWM
- added PWM feature
- added PWM definitions to periph_conf.h
2014-11-26 16:56:59 +01:00
Hauke Petersen
426060875c cpu/stm32f3: added low-level PWM driver 2014-11-26 16:56:59 +01:00
Oleg Hahm
3cf43db63e unittests: test full 16 bit range for bitarithm
Also uses a better pseudo random number.
2014-11-26 16:52:51 +01:00
Hauke Petersen
dfabe77c6f Merge pull request #1704 from PeterKietzmann/add_nrf24l01p_lowlevel
drivers/nrf24l01+ : added low-level functions for nrf24l01+ transceiver
2014-11-26 13:57:36 +01:00
PeterKietzmann
d8a26d5aa6 Initial import of nrf24l01p lowlevel functions 2014-11-26 13:50:29 +01:00
Ludwig Ortmann
50ec8d10c9 Merge pull request #2029 from LudwigOrtmann/native-more-syscalls
native: more syscalls
2014-11-26 10:47:27 +01:00
Ludwig Ortmann
685acd8a54 Merge pull request #2070 from jfischer-phytec-iot/wip@hdc1000
Sensor Driver for HDC1000
2014-11-26 10:32:17 +01:00
Oleg Hahm
41d6bc303a Merge pull request #2085 from authmillenon/fix-pktqueue
pktqueue: fix alignment order
2014-11-26 01:44:52 +01:00
Oleg Hahm
eb9bbf548e Merge pull request #2087 from Lotterleben/rpl_simplify_routingtable_init
Simplify rpl_clear_routing_table()
2014-11-26 00:11:43 +01:00
Christian Mehlis
3cd370ff6b Merge pull request #2005 from haukepetersen/fix_nrf_enablehfclk
cpu/nrf51822: added HFCLK initialization
2014-11-25 23:41:34 +01:00
Peter Kietzmann
1d0961a4ea Merge pull request #2088 from backenklee/discovery_typo
boards/stm32f4discovery: fix typo in comment for section
2014-11-25 23:02:29 +01:00
Ludwig Ortmann
00092e8308 native: add time syscalls 2014-11-25 22:47:27 +01:00
Ludwig Ortmann
4de10a2ecb native: coding conventions 2014-11-25 22:47:27 +01:00