10a6afe2e5
tests: add minimal test application
2015-07-12 13:06:39 +02:00
Ludwig Ortmann
53b416e861
Merge pull request #3298 from gebart/pr/kinetis-i2c-stop
...
kinetis: i2c: only send STOP in _i2c_stop(), handle "arbitration lost"-flag
2015-07-11 10:48:20 +02:00
Ludwig Ortmann
fe34e7874b
Merge pull request #2980 from gebart/pr/adt7310-initial
...
ADT7310 SPI temperature sensor driver
2015-07-11 10:46:04 +02:00
Philipp Rosenkranz
d2d4e69d8a
Merge pull request #3352 from phiros/drone-scripts_create_directory_for_each_buildtest_mcu_group
...
drone-scripts: copy RIOT directory for each BUILDTEST_MCU_GROUP
2015-07-10 18:16:39 +02:00
Philipp Rosenkranz
f44615a855
drone-scripts: create dir for each BUILDTEST_MCU_GROUP
2015-07-10 17:20:50 +02:00
Joakim Gebart
fb90e67863
drivers/adt7310: Add test application
2015-07-09 23:39:37 +02:00
Joakim Gebart
b10e33dfc0
drivers/adt7310: Add ADT7310 temperature sensor driver
...
This is a driver for Analog Devices ADT7310 +/-0.5°C Accurate, 16-Bit
Digital SPI Temperature Sensor.
Only basic reading is supported. Interrupt and compare are not
implemented yet.
See: http://www.analog.com/en/products/analog-to-digital-converters/integrated-special-purpose-converters/integrated-temperature-sensors/adt7310.html
2015-07-09 23:39:32 +02:00
Johann Fischer
cb8ff544d5
cpu/kinetis_common/i2c.c: add _i2c_reset function, minor fixes
2015-07-09 23:19:56 +02:00
Joakim Gebart
eef8f25a44
kinetis: i2c: Handle ARBL flag in master mode.
...
The ARBL flag signals that bus master arbitration has been lost.
This may occur if devices on the bus misbehave, or in a multi-master
situation, or if devices are not powered and pull the SDA line down, or
if the communication wires are disconnected while communicating.
2015-07-09 23:19:55 +02:00
Joakim Gebart
cba6a81a73
kinetis: i2c: only send STOP in _i2c_stop()
2015-07-09 23:19:55 +02:00
d15f0990b3
Merge pull request #3344 from kaspar030/fix_native_timer_possible_underflow
...
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 22:17:44 +02:00
Peter Kietzmann
f95aaa6bf6
Merge pull request #3327 from authmillenon/native/enh/address-sanitizer
...
native: add address sanitizer make target
2015-07-09 16:07:00 +02:00
Philipp Rosenkranz
74096f9446
Merge pull request #3321 from gebart/pr/docker-buildtest-mcu-group
...
Makefile.docker: Add BUILDTEST_MCU_GROUP to passed variables
2015-07-09 15:29:44 +02:00
7c5609f83a
Merge pull request #3345 from benoit-canet/timer
...
native: timer: Do not cancel timer when setting it to 0
2015-07-09 15:26:48 +02:00
ec441e9aa6
native: periph/timer: prevent underflow in timer_set_absolute
2015-07-09 15:23:21 +02:00
3f73e87f59
Merge pull request #3147 from gebart/pr/vtimer-set-relative
...
vtimer: use hwtimer_set instead of hwtimer_set_absolute
2015-07-09 15:22:10 +02:00
Benoît Canet
e8e89d8ca9
native: timer: Do not cancel timer when setting it to 0
2015-07-09 15:08:47 +02:00
Martine Lenders
8a33a62914
native: add address sanitizer make target
2015-07-09 15:00:19 +02:00
Peter Kietzmann
10283af5c1
Merge pull request #3342 from authmillenon/ng_pktsnip/fix/debug-output
...
ng_pktbuf: fix debug output for _pktbuf_add_unsafe
2015-07-09 14:39:29 +02:00
Joakim Gebart
b949b5b539
Merge pull request #3335 from gebart/pr/kinetis-ldscript-cleanup
...
cpu/kinetis_common: refactor ldscripts
2015-07-09 12:59:02 +02:00
Martine Lenders
a04becb4f8
ng_pktbuf: fix debug output for _pktbuf_add_unsafe
2015-07-09 12:31:58 +02:00
b2272fc016
Merge pull request #3282 from benoit-canet/timer
...
native: Resurect native/perif/timer and handle #715 (WIP)
2015-07-09 11:12:24 +02:00
70c08b8c24
Merge pull request #3340 from kaspar030/workaround_for_native_eagain
...
cpu: native: work around shared errno in _native_lpm_sleep
2015-07-09 11:05:35 +02:00
Benoît Canet
dfbd4f946e
cpu: native: switch to hwtimer_compat
...
The hwtimer_wait test was tortured with the
following script which ran several hours.
----
make clean all-debug
while :
do
date
./bin/native/hwtimer_wait.elf > log &
pid=$!
sleep 20
success=$(cat log|grep success)
if [ "$success" != "success" ]
then
date
echo "BUG"
exit
fi
kill $pid
done
----
Closes #715 .
2015-07-09 02:43:04 +02:00
0835f577a3
native: add periph_timer to features
2015-07-09 02:43:04 +02:00
fe96d379f6
native: add periph/timer.h timer implementation
2015-07-09 02:43:04 +02:00
Benoît Canet
ced541cc67
native: irq_cpu: Rewrite IRQs (de)registration
2015-07-09 02:43:04 +02:00
Benoît Canet
4832a1a6b0
native: irq_cpu: Whitelist signals
2015-07-09 02:43:03 +02:00
Benoît Canet
a035d27414
native: irq_cpu: Make IRQ enabling/disabling safe
2015-07-09 02:43:01 +02:00
52599fde66
cpu: native: work around shared errno in _native_lpm_sleep
2015-07-09 00:31:31 +02:00
Joakim Gebart
ed81e35e4c
cpu/kinetis_common: refactor ldscripts
...
- Merged the two kinetis_common ldscripts into a single script.
- Updated cpus to use the new script
- Updated K60 to merge sram_l and sram_u into one segment
2015-07-08 19:20:00 +02:00
Martine Lenders
1e262e3e73
Merge pull request #3336 from kaspar030/fix_ng_ipv6_netif_init_by_dev_mutex_unlock
...
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 11:47:32 +02:00
Joakim Gebart
bde1d61113
Merge pull request #3331 from gebart/pr/cortexm-stack-initialization
...
cpu/cortexm_common: Overwrite stack up until the current stack pointer only
2015-07-08 11:31:05 +02:00
Peter Kietzmann
c3814a7127
Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
...
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
3efd2e9fae
gnrc: fix possibly ommited mutex unlock in ng_ipv6_netif_init_by_dev
2015-07-08 09:24:08 +02:00
Peter Kietzmann
8456c9c3fe
Merge pull request #3311 from authmillenon/ng_icmpv6_echo/fix/unexpected-parameter-problem
...
ng_icmpv6_echo: fix unexpected parameter problem
2015-07-08 09:10:15 +02:00
Martine Lenders
539dd57154
ng_icmpv6_echo: fix unexpected parameter problem
...
Previously it could happen, that the pinging node had send more then one
packet before the reply was received. This would cause the sequence
number to be bigger than expected on receive.
This fixes this problem by introducing a window of expected echo sequence
numbers.
2015-07-08 01:45:57 +02:00
c0f2759e60
Merge pull request #3178 from kaspar030/bf_get_unset
...
sys: bitfield: add bf_get_unset
2015-07-08 01:13:35 +02:00
Joakim Gebart
ee4182b246
cpu/cortexm_common: Overwrite stack up until the current stack pointer only.
2015-07-07 18:04:30 +02:00
43ecf6d2c3
tests: unittests: add some bitfield unit tests
2015-07-07 17:49:18 +02:00
fb9a862177
sys: bitfield: add bf_get_unset
2015-07-07 17:49:17 +02:00
Martine Lenders
3b133811d6
ng_pktbuf: fix alignment overwrite issue
...
Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.
2015-07-07 17:02:23 +02:00
Oleg Hahm
705e70e6c6
Merge pull request #3322 from gebart/pr/add-missing-inttypes-includes
...
Add missing inttypes.h includes
2015-07-07 16:49:39 +02:00
Joakim Gebart
aa4d920986
Merge pull request #3325 from kaspar030/add_debug_stacksize_define
...
debug: add DEBUG_EXTRA_STACKSIZE define
2015-07-07 13:46:42 +02:00
Peter Kietzmann
b16ff82f5b
Merge pull request #3054 from gebart/pr/lis3dh-fifo
...
drivers/lis3dh: FIFO mode improvements
2015-07-07 13:45:29 +02:00
Joakim Gebart
c9bdbd1a74
lis3dh: Refactor, add INT1 handling, improve FIFO mode
2015-07-07 12:03:28 +02:00
c762b43221
debug: add DEBUG_EXTRA_STACKSIZE define
2015-07-07 11:47:32 +02:00
Joakim Gebart
64b948f0e9
sys/net/network_layer/ng_ndp: Add missing inttypes.h include
2015-07-07 09:48:11 +02:00
Joakim Gebart
b1dcd89390
sys/net/network_layer/ng_ipv6/nc: Add missing inttypes.h include
2015-07-07 09:47:53 +02:00
Joakim Gebart
767d3eb4df
sys/net/crosslayer/ng_netif/hdr/ng_netif_hdr_print.c: Add missing inttypes.h include
2015-07-07 09:47:26 +02:00