10a6afe2e5
tests: add minimal test application
2015-07-12 13:06:39 +02:00
Martine Lenders
d1b34aec35
ng_pktbuf: fix possible packet corruption in case of internal error
...
Fixes #3365
2015-07-11 12:21:40 +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
eff9338e2a
boards/mulle: Add fallback for PORT
...
Fixes a problem with make buildtest if TARGET=mulle and no USB serial device connected:
$ make buildtest
Warning: no PORT set!
Building for Warning: .. failed
.../riot/Makefile.include:110: *** The specified board Warning: does not exist.. Stop.
.../riot/Makefile.include:110: *** The specified board Warning: does not exist.. Stop.
Building for no (no linking) .. failed
.../riot/Makefile.include:110: *** The specified board no does not exist.. Stop.
.../riot/Makefile.include:110: *** The specified board no does not exist.. Stop.
Building for PORT .. failed
.../riot/Makefile.include:110: *** The specified board PORT does not exist.. Stop.
.../riot/Makefile.include:110: *** The specified board PORT does not exist.. Stop.
Building for set! .. failed
.../riot/Makefile.include:110: *** The specified board set! does not exist.. Stop.
.../riot/Makefile.include:110: *** The specified board set! does not exist.. Stop.
Building for airfy-beacon (no linking) .. ^C
2015-07-10 16:55:54 +02:00
Joakim Gebart
df34f0a2fc
Makefile.buildtests: silent run info-buildsizes
2015-07-10 16:49:36 +02:00
Joakim Gebart
26938059d6
Makefile.buildtests: Use clean-intermediates instead of clean
2015-07-10 16:49:36 +02:00
Joakim Gebart
ee8a8be09e
Makefile.include: Add clean-intermediates target
2015-07-10 16:49:36 +02:00
Joakim Gebart
e737a3a076
Makefile.buildtests: Avoid parsing error message
...
"recipe for target xx failed" was printed to stdout when running info-buildsize for missing files
2015-07-10 16:48:59 +02:00
Joakim Gebart
4a23860d0c
Makefile.buildtests: Add missing COLOR_ prefixes (typo)
2015-07-10 16:48:51 +02:00
Martine Lenders
19769bc190
sc_icmpv6_echo: rename n and count more appropriatly
2015-07-10 14:54:42 +02:00
Martine Lenders
be9d8ca64b
shell: sc_icmpv6_echo: provide delay option
2015-07-10 14:27:50 +02:00
Philipp Rosenkranz
94490ed031
compile_test.py / buildtest: fix output for failed boards
2015-07-10 03:12:04 +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