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

7357 Commits

Author SHA1 Message Date
Martine Lenders
888bdd70c1 unittests: fix length of test data strings
Fixes #3371
2015-07-13 14:37:24 +02:00
Martine Lenders
9cd07b8961 ng_ipv6_addr: remove packed attribute from ng_ipv6_addr_t 2015-07-13 14:26:25 +02:00
Martine Lenders
b010d53eea ng_netif_hdr: remove packed attribute from ng_netif_hdr_t 2015-07-13 14:24:01 +02:00
Martine Lenders
72b883f5ed ng_pkt: remove packed attribute from ng_pktsnip_t 2015-07-13 14:23:36 +02:00
Martine Lenders
d310014e1b Merge pull request #3339 from kaspar030/add_sys_uio
sys: add sys/uio.h header
2015-07-13 14:18:06 +02:00
7acc4141ce sys: add libc includes directory and sys/uio.h header 2015-07-13 13:36:18 +02:00
Martine Lenders
07adbec5e2 Merge pull request #3353 from phiros/compile_test_fix_output_for_failed_boards
compile_test.py / buildtest: fix output for failed boards
2015-07-13 13:05:55 +02:00
Thomas Eichinger
5f15e69c7c Merge pull request #3359 from gebart/pr/mulle-port-default-fallback
boards/mulle: Add fallback for PORT
2015-07-13 13:01:55 +02:00
Martine Lenders
54d1019533 Merge pull request #3369 from authmillenon/tests/fix/asan
unittests: fix errors cought by address sanitizer
2015-07-13 12:57:36 +02:00
Thomas Eichinger
238dda4423 board/native: fix CFLAGS and LINKFLAGS for FreeBSD 2015-07-13 12:49:27 +02:00
86f3d25a19 native: remove ltc4150 2015-07-13 12:08:48 +02:00
Peter Kietzmann
fa2ce9ffdc Merge pull request #3354 from authmillenon/ng_icmpv6_echo/enh/delay
shell: sc_icmpv6_echo: provide delay option
2015-07-13 11:51:20 +02:00
Martine Lenders
67d6333c39 unittests: fix errors cought by address sanitizer 2015-07-13 11:21:42 +02:00
Peter Kietzmann
2d59525670 Merge pull request #3368 from kaspar030/add_test_minimal
tests: add minimal test application
2015-07-13 11:17:24 +02:00
Martine Lenders
5a52f43cb1 Merge pull request #3367 from authmillenon/ng_pktbuf/fix/issue-3365
ng_pktbuf: fix possible packet corruption in case of internal error
2015-07-13 11:15:23 +02:00
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