Peter Kietzmann
647d0aef5f
Merge pull request #2330 from PeterKietzmann/fix_nrf24l01p_driver
...
drivers/nrf24l01p: fixes
2015-01-21 12:10:01 +01:00
PeterKietzmann
7aaa99221d
tests/driver_nrf24l01p_lowlevel: adapt doc.
2015-01-21 10:28:46 +01:00
PeterKietzmann
a3031ec04e
tests/driver_nrf24l01p_lowlevel:improve by checking for errors
2015-01-21 10:24:55 +01:00
Joakim Gebart
ca56de8251
lis3dh: New device driver for LIS3DH accelerometer sensors.
...
LIS3DH MEMS digital output motion sensor ultra low-power high
performance 3-axes "nano" accelerometer
Manufacturer website:
http://www.st.com/web/catalog/sense_power/FM89/SC444/PF250725
Data sheet:
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf
tests/driver_lis3dh is a simple test application for testing on actual
hardware.
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-20 14:53:27 +01:00
Joakim Gebart
dfb0d58cfb
tests/periph_spi: Lock bus for exclusive access when communicating.
2015-01-19 19:05:40 +01:00
Martine Lenders
cfed38ae12
Merge pull request #2287 from authmillenon/pktqueue/api/use-pkt
...
pktqueue: adapt to pkt_t
2015-01-16 19:48:04 +01:00
PeterKietzmann
c917e6d374
tests/periph_spi: correct test application
2015-01-16 11:15:42 +01:00
Martine Lenders
c9e2f5bdce
pktqueue: adapt to pkt_t
2015-01-14 14:53:37 +01:00
Oleg Hahm
2d874af904
Merge pull request #2158 from authmillenon/pkt/feat/initial-import
...
pkt: Initial import
2015-01-14 08:20:46 +01:00
Martine Lenders
62544e6923
tests, pkt: add unittests for pkt
2015-01-14 07:04:57 +01:00
Martine Lenders
0221c27d4b
unittests: provide unittests for basic_mac
2015-01-14 06:59:59 +01:00
BytesGalore
024cf7cc49
tests/pnet: renamed PORT
define as it collides with the samd21-xpro definition
2015-01-13 11:46:16 +01:00
Oleg Hahm
4a615e21ef
Merge pull request #1717 from BytesGalore/base64_encoder_decoder
...
base64 encoding/decoding module
2015-01-12 16:39:08 +01:00
Martin Landsmann
a0898dbb9f
sys: add base64 encoding/decoding module
...
- suppressed cppcheck warning for `unassignedVariable` for
the encode/decode arrays in stream encode/decode tests
as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
Johann Fischer
822a0503c5
add test app for mag3110 magnetometer driver
2015-01-09 11:11:01 +01:00
Johann Fischer
4099e89e1d
add test app for mma8652 accelerometer driver
2015-01-08 11:44:39 +01:00
Peter Kietzmann
2fb2f499f9
Merge pull request #2123 from jfischer-phytec-iot/pr@mpl3115a2
...
Driver for Freescale MPL3115A2 Pressure/Altitude Sensor
2015-01-07 23:28:57 +01:00
Johann Fischer
2be440b55c
add test app for tmp006 sensor
2015-01-07 13:53:23 +01:00
Johann Fischer
fb71721002
add test app for mpl3115a2 sensor driver
2015-01-07 13:03:32 +01:00
René Kijewski
f684aa4b2d
tests: make embUnit a normal sys module
...
There is nothing quite special about embUnit.
This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Martine Lenders
c991f3dcec
tests: remove do-while(0) blocks for netdev tests or comment on them
2014-12-19 08:19:56 +01:00
PeterKietzmann
46fdcf64c1
drivers/srf08: initial import of the updated ultrasonic driver
2014-12-17 15:37:25 +01:00
Ludwig Ortmann
a7f7d7e516
Revert "tests: don't build test/libfixmath on Travis CI"
...
This reverts commit f061d0214e
.
2014-12-17 09:47:43 +01:00
Martine Lenders
17ef92eade
Merge pull request #2181 from phiros/tests_sha256_transform_into_unittest
...
tests: transformed tests/sha256 into a unittest
2014-12-12 16:29:16 +01:00
Philipp Rosenkranz
f5d941ac22
tests: transformed tests/bloom into an unittest
2014-12-11 22:56:40 +01:00
Philipp Rosenkranz
1024e0b8be
tests: transformed tests/sha256 into an unittest
2014-12-11 21:57:01 +01:00
Ludwig Ortmann
122d488a42
Merge pull request #2165 from haukepetersen/fix_test_uart
...
test/periph_uart_xx: switched to feature based whitelisting
2014-12-09 14:44:15 +01:00
Ludwig Ortmann
e850078769
Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type
...
vtimer: set custom msg_t.type with vtimer_set_msg
2014-12-09 11:12:52 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
Hauke Petersen
e859d74ea4
tests: fixed blacklisting for UART tests
...
changed from explicit blacklisting to feature based approach
2014-12-08 18:08:49 +01:00
Hauke Petersen
934f7b6b33
Merge pull request #2161 from haukepetersen/fix_test_nrf24
...
test/driver_nrf24l01p: changed default GPIOs
2014-12-08 16:16:37 +01:00
Hauke Petersen
ec62cbf7ac
test/driver_nrf24l01p: changed default GPIOs
...
not all boards have GPIO_x > GPIO_7, so the new values are
safer to use.
2014-12-08 15:41:54 +01:00
Philipp Rosenkranz
536c910980
Merge pull request #2157 from LudwigOrtmann/unittests-lib
...
tests/unittests: merge lib-ringbuffer into core
2014-12-08 15:36:41 +01:00
Ludwig Ortmann
0027f90be4
Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
...
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Ludwig Ortmann
4feec9243f
tests/unittests: merge lib-ringbuffer into core
...
Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
2014-12-08 10:15:48 +01:00
René Kijewski
6b559faf88
tests: add UBJSON unittests
2014-12-03 20:42:51 +01:00
Ludwig Ortmann
e6c808d5fa
Merge pull request #1970 from Kijewski/optimize-cib
...
core: inline `cib.c`
2014-12-03 17:12:48 +01:00
PeterKietzmann
91c5620a84
Initial import of a DAC test application
2014-12-03 08:38:05 +01:00
Oleg Hahm
0c967c4d3f
cpu: msp430: renamed msp430x16x to msp430fxyz
2014-12-02 17:46:57 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Ludwig Ortmann
6b95159632
tests/hwtimer_spin: revert behavior, fix doc
2014-11-28 16:23:24 +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
Oleg Hahm
565d70cab3
Merge pull request #2094 from OlegHahm/fix_bitarithm
...
core: Fix bitarithm and unittests
2014-11-27 13:02:44 +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
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
PeterKietzmann
d8a26d5aa6
Initial import of nrf24l01p lowlevel functions
2014-11-26 13:50:29 +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
Martine Lenders
21adda9370
[SQUASH ME] pktqueue: fix unittests
2014-11-25 21:52:28 +01:00
Ludwig Ortmann
8ef2257796
test/coap: update blacklist for features
...
Boards that don't have a transceiver are automatically filtered out already.
2014-11-24 16:07:09 +01:00
Johann F
5b1a519875
add test app for hdc1000 sensor
2014-11-24 13:15:58 +01:00
René Kijewski
89ab9f720f
Merge pull request #2066 from N8Fear/lint
...
lint: tests: fix improper use of format specifiers
2014-11-21 15:42:17 +01:00
Hinnerk van Bruinehsen
12d0c5bbf2
lint: tests: fix improper use of format specifiers
2014-11-21 15:25:56 +01:00
Martine Lenders
03654d74ef
Merge pull request #2027 from authmillenon/netdev-proto
...
netdev: Add protocol field to netdev_hlist_t struct + cppcheck suppressions
2014-11-21 14:44:16 +01:00
René Kijewski
09b274fef7
tests: fix tests/posix_semaphore
2014-11-21 14:33:28 +01:00
Thomas Eichinger
e7ae2f6bfb
tests: define random default GPIOs to pass Travis builds
2014-11-21 13:26:41 +01:00
Martine Lenders
8ee3edcb13
netdev: Add protocol to header list nodes
2014-11-21 12:37:48 +01:00
PeterKietzmann
f207b114e4
Initial import of the updated srf02 driver with general i2c interface
2014-11-21 09:21:27 +01:00
Ludwig Ortmann
6eaaac6372
Merge pull request #2041 from LudwigOrtmann/native-random
...
native: peripheral random interface
2014-11-19 06:25:39 -08:00
Ludwig Ortmann
3d9003f18a
tests/periph_random: fix warnings, conventions
2014-11-19 14:26:58 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
René Kijewski
f23771c6fe
tests: extend cib unittest
2014-11-11 17:39:40 +01:00
René Kijewski
08810d605b
embunit: fix macros
2014-11-10 20:50:50 +01:00
Martine Lenders
1138360a14
unittests: make test macros save for strict aliasing
2014-11-08 19:13:23 +01:00
Martine Lenders
f6795b461c
unittests: Add missing semicolons to macro calls
2014-11-08 13:45:11 +01:00
Hauke Petersen
71568466b5
Merge pull request #1826 from PeterKietzmann/extend_test_periph_spi
...
tests/periph_spi: print rx-buffer on slave
2014-11-06 16:47:12 +01:00
Hauke Petersen
1a9e19cc6c
tests/periph_adc: added test for adc driver
2014-11-06 15:19:36 +01:00
Hauke Petersen
d484255bf7
tests: added test for L3G4200 device driver
2014-11-06 10:36:41 +01:00
56924f28a8
Merge pull request #1944 from authmillenon/msg_send_receive-test
...
tests: Add automatic test for msg_send_receive
2014-11-05 14:49:07 +01:00
Martine Lenders
30c7f37e68
tests: Add automatic test for msg_send_receive
2014-11-05 14:45:25 +01:00
Hauke Petersen
900e01bc26
Merge pull request #1912 from thomaseichinger/lsm303dlhc
...
lsm303dlhc: initial import of lsm303dlhc driver
2014-11-05 14:16:13 +01:00
benpicco
cedc588d77
Merge pull request #1782 from benpicco/fix_malloc
...
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Thomas Eichinger
88fce936e9
lsm303dlhc: initial import of lsm303dlhc driver
...
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Benjamin Valentin
39d73d753c
resurrect malloc test
2014-11-05 12:11:24 +01:00
Christian Mehlis
2114a8267d
added board airfy beacon
2014-11-02 18:26:42 +01:00
Christian Mehlis
f3b1753ac7
added spark core board
2014-11-02 14:36:42 +01:00
Hauke Petersen
7d8e9def20
tests/periph_uart_int: fixed formatting
2014-10-30 21:51:31 +01:00
Thomas Eichinger
44dcd0e631
Merge pull request #1817 from haukepetersen/add_driver_lps331ap
...
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Martine Lenders
3bfbc60a48
Merge pull request #1731 from authmillenon/netdev-test-dummy
...
netdev: Provide test network device with netdev interface
2014-10-30 20:37:37 +01:00
Martine Lenders
0de78831f9
unittests: Provide unittests for net_dev_dummy
...
* tests if net_dev_dummy is correct and if driver part of net_dev is
correct
2014-10-30 20:37:21 +01:00
Martine Lenders
cf3fdaabb6
unittests: add test network device
...
The reasoning behind this commit is twofold:
1. test the "lower" part (the device part) of netdev
2. provide a well defined testing infrastructure for modules that utilise
netdev
The actual tests that represent 1. are provided in the following commit
2014-10-30 20:37:20 +01:00
Hauke Petersen
f06eeeaaef
tests: added test for LPS331AP sensor driver
2014-10-30 20:24:51 +01:00
Oleg Hahm
9a61d8cf1c
core: move optional tcb members to DEVELHELP
2014-10-30 16:37:10 +01:00
Hauke Petersen
d3f207c8be
tests: added test for MQ-3 alcohol sensor driver
2014-10-30 14:05:34 +01:00
PeterKietzmann
7aec98c57d
Added a function for the slave to print received data.
2014-10-24 15:43:01 +02:00
René Kijewski
677d690e2b
core: introduce thread_yield_higher(), yield less
...
Fixes #1708 .
Currently involuntary preemption causes the current thread not only to
yield for a higher prioritized thread, but all other threads of its own
priority class, too.
This PR adds the function `thread_yield_higher()`, which will yield the
current thread in favor of higher prioritized functions, but not for
threads of its own priority class.
Boards now need to implement `thread_yield_higher()` instead of
`thread_yield()`, but `COREIF_NG` boards are not affected in any way.
`thread_yield()` retains its old meaning: yield for every thread that
has the same or a higher priority.
This PR does not touch the occurrences of `thread_yield()` in the periph
drivers, because the author of this PR did not look into the logic of
the various driver implementations.
2014-10-24 00:09:56 +02:00
5146c66786
core: adapt to msg_try_send
2014-10-22 12:37:33 +02:00
Oleg Hahm
94824026cd
tests: use correct PID for main thread
...
Since PIDs are not beginning at 0 any more, this test was failing.
2014-10-17 23:17:02 +02:00
BytesGalore
6dc157208a
c++: tests: add extern "C"
in header files, i.e. only present in ./unittests
2014-10-17 13:58:10 +02:00
Ludwig Ortmann
801928df4d
tests/periph_cpuid: let test fail w/o CPUID_ID_LEN
2014-10-16 19:35:47 +02:00
Ludwig Ortmann
a20e287a96
make: introduce and use periph_cpuid feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
b9d17e38f3
tests/periph_rtt: let build fail w/o RTT
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
4cafe7c5a9
make: introduce and use periph_rtt feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
d9dd5b1913
tests/periph_random: let build fail w/o RANDOM
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
3b52057fe5
make: introduce and use periph_random feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
95884c1a30
tests/periph_pwm: let build fail w/o PWM
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
b3ecfd0a6e
make: introduce and use periph_pwm feature
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
2cb8ea672a
tests/periph_gpio_exti: let build fail w/o GPIO
2014-10-16 19:35:41 +02:00
Ludwig Ortmann
7cea2f536e
tests/periph_gpio: let build fail without GPIO
2014-10-16 19:02:18 +02:00
Martine Lenders
a569f2b92c
net: Initial import of a global packet buffer
2014-10-16 11:52:30 +02:00
Hauke Petersen
8409cb04c0
tests: added test for ISL29020 light sensor driver
2014-10-15 14:54:07 +02:00