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

7268 Commits

Author SHA1 Message Date
Joakim Gebart
1edd79a36a dist/tools/toolchains/build_x86.sh: Use patch files for newlib modifications 2015-07-13 19:57:56 +02:00
Joakim Gebart
53d81bd58d cpu/x86: rename stack_t -> stack_info_t
Avoids collision with libc defined stack_t in #include <sys/signal.h>
2015-07-13 19:57:55 +02:00
Martine Lenders
2f71cadd99 ng_ndp: only check NS retransmission in correct state 2015-07-13 18:41:45 +02:00
Joakim Gebart
624c241ec6 cpu/kinetis_common/spi: Fix byte_in unused.
Bug reported by the clang static analyzer.

Description: Value stored to 'byte_in' is never read
File: .../riot/cpu/kinetis_common/spi.c
Line: 1261
2015-07-13 17:24:00 +02:00
Joakim Gebart
bbe6547263 Merge pull request #3376 from gebart/pr/lto-warning
Makefile.cflags: Add warning for LTO
2015-07-13 17:07:55 +02:00
Joakim Gebart
3cfb1b6099 boards/Makefile.include.cortexm_common: Add TOOLCHAIN=gcc as an alias for TOOLCHAIN=gnu 2015-07-13 17:04:57 +02:00
Peter Kietzmann
559550f4d6 Merge pull request #3374 from authmillenon/unittests/fix/issue-3371
unittests: fix length of test data strings
2015-07-13 15:49:29 +02:00
Peter Kietzmann
3d9297ff7b Merge pull request #3373 from authmillenon/gnrc/fix/packed-attribute
gnrc: remove unnecessary (and possibly dangerous) packed attributes
2015-07-13 15:48:30 +02:00
Joakim Gebart
1c45f20004 Makefile.cflags: Add warning for LTO 2015-07-13 15:36:44 +02:00
Thomas Eichinger
a624412597 make: build with linker garbage collection
Currently only has the linker flag --gc-sections defined which tells
the linker to omit dead code. Depending on the application this leads
to significant reduction of code size.
2015-07-13 15:20:48 +02:00
Joakim Gebart
8724e6c0cc Merge pull request #3358 from gebart/pr/make-info-buildsizes-fixes
make: buildtests, info-buildsizes improvements
2015-07-13 15:12:55 +02:00
6c4f0da6d7 Merge pull request #3299 from thomaseichinger/pr/fix_freebsd_build
board/native: fix CFLAGS and LINKFLAGS for FreeBSD
2015-07-13 15:11:54 +02:00
Martine Lenders
c8c92663d9 ng_ipv6_addr: piggy-back spell error fix 2015-07-13 14:48:19 +02:00
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