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

7185 Commits

Author SHA1 Message Date
Joakim Gebart
ab9d924c67 sys/posix/pthread: use atomic_int_t for pthread_spinlock_t 2015-07-14 08:11:18 +02:00
Joakim Gebart
adb8945514 tests/driver_dht: printf format fixes 2015-07-14 08:11:18 +02:00
Joakim Gebart
950e5c7786 examples/ccn-lite-client: Shell command warning fixes 2015-07-14 08:11:18 +02:00
Joakim Gebart
316c71d91f tests/driver_nrf24l01p_lowlevel: Fix shell warnings 2015-07-14 08:11:18 +02:00
Joakim Gebart
bb916cf30d pkg/libfixmath: printf format fixes for unittests 2015-07-14 08:11:15 +02:00
Joakim Gebart
ebce349180 tests/periph_spi: printf format fixes 2015-07-14 08:11:15 +02:00
Joakim Gebart
b7905427a6 pkg/libfixmath: use unsigned char for isdigit, isspace
Fixes riot/tests/libfixmath/bin/.../libfixmath-src/fix16_str.c:93:9: error: array subscript has type ‘char’ [-Werror=char-subscripts]
2015-07-14 08:11:15 +02:00
Joakim Gebart
e3b41a327e tests/periph_uart_int: warning fixes 2015-07-14 08:11:15 +02:00
Joakim Gebart
50076376fc tests/periph_uart_blocking: use uint32_t for baudrates 2015-07-14 08:11:15 +02:00
Joakim Gebart
56067f8489 tests/unittests/tests-core-atomic: Reduce arbitrary test input numbers to fit inside int16_t
Fixes build warnings on avr and msp430
2015-07-14 08:11:15 +02:00
Joakim Gebart
754549b40d tests/unittests/tests-ipv6_hdr: Cast to uint32_t to avoid truncation on msp430 2015-07-14 08:11:15 +02:00
Joakim Gebart
153c97fc74 cpu/msp430-common: Add stdlib.h header to ensure malloc is defined.
Fixes warnings of the kind:

/data/riotbuild/riotbase/sys/bloom/bloom.c: In function 'bloom_new':
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:5: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration]
/data/riotbuild/riotbase/sys/bloom/bloom.c:39:22: error: incompatible implicit declaration of built-in function 'calloc' [-Werror]
2015-07-14 08:11:15 +02:00
Joakim Gebart
5ab48c2d67 sys/crypto/twofish: Add casts to ensure bit shifts fit in the target variable 2015-07-14 08:11:15 +02:00
Joakim Gebart
1c03dc261c boards/redbee-econotag: Disable -Wcast-align, -Wextra
Temporarily, until all warnings are fixed in the tree.
2015-07-14 08:11:15 +02:00
Joakim Gebart
cfe657b1ee sys/net/routing/etx_beaconing: Fix warnings and comment style 2015-07-14 08:11:15 +02:00
Joakim Gebart
4562f6b824 sys/net/sixlowpan: Add ul suffix to constants to fix warnings on msp430 2015-07-14 08:11:15 +02:00
Joakim Gebart
89fa57c5a9 sys/transceiver: Discard volatile qualifier on maca_get_xxx_packet calls 2015-07-14 08:11:15 +02:00
Joakim Gebart
91b0ba37f9 boards/openmote: Allow all available GPIO pins 2015-07-14 08:11:15 +02:00
Joakim Gebart
78b5509c7a boards/openmote: Update GPIO configuration to new interface 2015-07-14 08:11:14 +02:00
Joakim Gebart
49d8e647e3 boards/wsn430-common/wsn430-uart0: Fix warning about unused variable 2015-07-14 08:11:14 +02:00
Joakim Gebart
d8e9b62c75 cpu/cc430/flashrom.c: Fix warning about unused static function by declaring inline 2015-07-14 08:11:14 +02:00
Joakim Gebart
c274558e91 cpu/arm7_common/syscalls: Fix warnings and comment style 2015-07-14 08:11:14 +02:00
Joakim Gebart
ac83a00ed0 sys/newlib/syscalls: Fix unused-parameter warning 2015-07-14 08:11:14 +02:00
Joakim Gebart
32c213d0b0 cpu/cortexm_common: Fix signedness warning 2015-07-14 08:11:14 +02:00
Joakim Gebart
84bf05a0bd cpu/cc430: fix unused-but-set-variable 2015-07-14 08:11:14 +02:00
Joakim Gebart
eb81139161 Makefile.cflags: Enable all warnings by default 2015-07-14 08:11:14 +02:00
Joakim Gebart
f8a8e6994e Merge pull request #3163 from gebart/pr/adopted/add_gc
make: build with linker garbage collection
2015-07-13 22:36:16 +02:00
Martine Lenders
789744c89d Merge pull request #3375 from authmillenon/ng_pktbuf/fix/equal-size
ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add()
2015-07-13 21:44:54 +02:00
Martine Lenders
f350044a61 Merge pull request #3385 from authmillenon/ng_ndp/fix/ns-retrans
ng_ndp: only check NS retransmission in correct state
2015-07-13 21:40:19 +02:00
Joakim Gebart
65d068b3c4 Merge pull request #3337 from gebart/pr/x86-toolchain-upgrade
x86 toolchain upgrade
2015-07-13 21:06:49 +02:00
Martine Lenders
16e10b46cf ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add() 2015-07-13 20:18:56 +02:00
Joakim Gebart
4e7987e0c8 dist/tools/toolchains/build_x86.sh: upgrade to newlib-2.2.0.20150623 2015-07-13 20:04:16 +02:00
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
bbe6547263 Merge pull request #3376 from gebart/pr/lto-warning
Makefile.cflags: Add warning for LTO
2015-07-13 17:07:55 +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