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

4410 Commits

Author SHA1 Message Date
Oleg Hahm
ebfaa85f0c net_if: fix buffer overruns 2014-11-10 15:33:48 +01:00
Oleg Hahm
365bfd81af IPv6: allow complete in ipv6_addr_init_prefix
If the specified prefix is a full IPv6 address, no bits remain.
Fixes a possible buffer overrun.
2014-11-10 15:33:48 +01:00
Oleg Hahm
b96b995d76 6lowpan: fix buffer overrun in decompression 2014-11-10 15:33:48 +01:00
Oleg Hahm
e06dce55b1 6lowpan: free fragment buffer in error case 2014-11-10 15:33:48 +01:00
DangNhat Pham-Huu
429162c20f Merge pull request #1793 from BytesGalore/extern_C_in_headers_sys
sys: add extern "C" to headers
2014-11-10 08:57:48 +07:00
BytesGalore
de3c3cebd0 c++: sys: add extern C to header files 2014-11-08 20:09:55 +01:00
Martine Lenders
c321592a66 Merge pull request #1973 from authmillenon/test-macros
embunit: make test macros save for strict aliasing
2014-11-08 19:13:46 +01:00
Martine Lenders
1138360a14 unittests: make test macros save for strict aliasing 2014-11-08 19:13:23 +01:00
René Kijewski
51a41212f3 Merge pull request #1972 from authmillenon/unittests-semicolons
unittests: Add missing semicolons to macro calls
2014-11-08 15:29:00 +01:00
René Kijewski
e211431133 Merge pull request #1929 from Kijewski/no-axel
make: remove downloader "axel"
2014-11-08 15:28:14 +01:00
René Kijewski
3ed9a169b1 make: remove downloader "axel"
Breaks for `make -B`. If the file already exists, then `axel` fails
because it does not find the status file for the download.
2014-11-08 15:27:34 +01:00
Martine Lenders
f6795b461c unittests: Add missing semicolons to macro calls 2014-11-08 13:45:11 +01:00
Martine Lenders
5f81de3f14 Merge pull request #1959 from authmillenon/pktbuf-opt
pktbuf: optimize size overhead in packet buffer
2014-11-08 00:57:07 +01:00
René Kijewski
7830c86d45 Merge pull request #1961 from Kijewski/issue-1942
core: put more intelligence into `queue_msg()`
2014-11-07 18:47:54 +01:00
Hauke Petersen
d2516b9b95 Merge pull request #1960 from haukepetersen/enh_driver_rtt
drivers: added enhanced RTT driver interface
2014-11-07 13:28:48 +01:00
René Kijewski
c3ba66781d core: put more intelligence into queue_msg()
Fixes #1942.

There were two instances were it was not checked the target thread has a
message queue before queuing the message.

This PR centralizes the check into `queue_msg()`.
2014-11-07 12:32:15 +01:00
Hauke Petersen
65520865b1 cpu/stm32f1: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Hauke Petersen
636287a1aa cpu/nrf51822: adjusted to RTT interface changes 2014-11-07 12:29:31 +01:00
Oleg Hahm
1b64725eeb Merge pull request #1950 from OlegHahm/pyterm_tcp_remote
pyterm: enable TCP connection to remote host
2014-11-07 12:21:47 +01:00
Hauke Petersen
1ae08f8437 drivers/periph/rtt: added overflow callback 2014-11-07 12:14:37 +01:00
Martine Lenders
b7929ae03d pktbuf: optimize size overhead in packet buffer 2014-11-07 12:01:22 +01:00
Oleg Hahm
30b166c177 pyterm: make mostly pep8 compliant 2014-11-07 01:02:55 +01:00
Oleg Hahm
85db24b43d Merge pull request #1957 from OlegHahm/auto_init_addr_mode
auto_init: always set source address mode
2014-11-06 23:07:19 +01:00
Oleg Hahm
9d5c3f4c8b auto_init: always set source address mode 2014-11-06 21:52:08 +01:00
Oleg Hahm
8f93b5cee7 Merge pull request #1948 from OlegHahm/netif_byteorder
Netif fix byteorder
2014-11-06 20:06:12 +01:00
Hauke Petersen
71568466b5 Merge pull request #1826 from PeterKietzmann/extend_test_periph_spi
tests/periph_spi: print rx-buffer on slave
2014-11-06 16:47:12 +01:00
Hauke Petersen
b501eb86cb Merge pull request #1951 from haukepetersen/add_test_periphadc
tests/periph_adc: added test for adc driver
2014-11-06 16:44:52 +01:00
Oleg Hahm
8dab420321 Merge pull request #1835 from OlegHahm/msg_receive_yield
core: msg_receive should yield
2014-11-06 16:27:32 +01:00
Hauke Petersen
cbb9939f1d Merge pull request #1955 from haukepetersen/fix_stm32f0_addfeatures
cpu/stm32f0: added missing features to Makefile
2014-11-06 16:23:55 +01:00
Hauke Petersen
b30bdc09ce cpu/stm32f0: added missing features to Makefile 2014-11-06 15:41:24 +01:00
Oleg Hahm
4fd3d62f2a core: msg_receive should yield
If a thread sends blocking, but the target thread is not currently in
receive mode, the sender gets queued. If it has a higher priority it
should run again as soon as the target goes into receiving mode.
2014-11-06 15:35:28 +01:00
Hauke Petersen
a268afca0c Merge pull request #1953 from thomaseichinger/stm32f1_spi_fix
cpu/stm32f1: fix wrong bit operation in SPI init
2014-11-06 15:31:10 +01:00
Hauke Petersen
1a9e19cc6c tests/periph_adc: added test for adc driver 2014-11-06 15:19:36 +01:00
Thomas Eichinger
d43367e0a2 cpu/stm32f1: fix wrong bit operation in SPI init 2014-11-06 15:09:35 +01:00
Hauke Petersen
4cdc79f3a9 Merge pull request #1945 from thomaseichinger/sc_lsm303dlhc
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 15:03:10 +01:00
Oleg Hahm
ac3519d46a net_if: alternative approach for swapping the byte order 2014-11-06 14:30:22 +01:00
Thomas Eichinger
f6175b7bf5 Merge pull request #1952 from OlegHahm/sc_iotlab_sensors_check
shell: sensors: exit on failure
2014-11-06 14:00:39 +01:00
Oleg Hahm
f79e228e44 shell: sensors: exit on failure
Immediately leave the read command if sensor is not initialized.
2014-11-06 13:45:44 +01:00
Thomas Eichinger
6bbc4ca226 shell: provide shell commands to poll lsm303dlhc sensor 2014-11-06 11:28:22 +01:00
Thomas Eichinger
7b8ee959a8 Merge pull request #1949 from haukepetersen/add_shell_sensorcommands
sys/shell: added commands for iot-lab_M3 sensors
2014-11-06 11:23:42 +01:00
Hauke Petersen
7e043bb27f sys/shell: added commands for iot-lab_M3 sensors 2014-11-06 10:41:55 +01:00
Hauke Petersen
4ef5a97e9a Merge pull request #1947 from haukepetersen/add_driver_l3g4200d
drivers: added support for L3G4200D gyroscope
2014-11-06 10:39:56 +01:00
Hauke Petersen
d484255bf7 tests: added test for L3G4200 device driver 2014-11-06 10:36:41 +01:00
Hauke Petersen
da64a7f438 drivers: added L3G4200D gyroscope driver 2014-11-06 10:36:41 +01:00
Hauke Petersen
4555b9ea7a board/iot-lab_M3: added definitions for L3G4200D 2014-11-06 10:36:22 +01:00
Oleg Hahm
0fed329774 Merge pull request #1941 from OlegHahm/ieee802154_use_enums
Ieee802154: use enums for frame type
2014-11-06 08:03:53 +01:00
Oleg Hahm
32543afdd0 ieee802154: make use of frame_type enum all over 2014-11-06 08:02:27 +01:00
Oleg Hahm
74a53e824e ieee802154: change frame type definition to enum 2014-11-06 08:02:11 +01:00
Oleg Hahm
cbe49912be pyterm: enable TCP connection to remote host 2014-11-05 22:42:36 +01:00
Oleg Hahm
bda29d93b8 Merge pull request #1940 from OlegHahm/iotlab_baudrate
iot-lab_M3: set baud rate to 500 kbaud
2014-11-05 20:59:41 +01:00