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

4295 Commits

Author SHA1 Message Date
Hinnerk van Bruinehsen
aca4724447 lint: fix warnings of possible nullPointer dereferences 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
ff6a7febc6 lint: fix uselessAssignmentPtrArg 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
3114f362df lint: fix invalidPrintfArgType_sint warning 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
8723ba7568 lint: fix variableScope warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
a5aeaab87b lint: fix unreadVariable warnings 2014-10-31 01:24:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547 lint: fix redundantAssignment warnings
SQUASH ME: redundantAssignment (remove FAT stuff)

SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
ec98c85a05 lint: fix unusedVariable warnings
SQUASH ME: into unusedVariable (annotated)

SQUASH ME: into unusedVariable (II)

SQUASH ME: into unreadVariable (II)
2014-10-31 01:24:29 +01:00
Hinnerk van Bruinehsen
2103249815 lint: fix unassignedVariable warnings in stm32f1 2014-10-31 01:24:28 +01:00
Hauke Petersen
9ba48e409f Merge pull request #1916 from mehlis/yunjia-rm-unused-file
yunjia: rm unused file
2014-10-30 23:41:00 +01:00
Christian Mehlis
7ebeab48da yunjia: rm unused file 2014-10-30 23:39:47 +01:00
Oleg Hahm
8c44eaa6f8 Merge pull request #1903 from authmillenon/rpl_udp_non_routing
rpl_udp: add non-routing hosts to example
2014-10-30 23:38:59 +01:00
Oleg Hahm
62006b6f34 Merge pull request #1915 from OlegHahm/replace_has_radio_by_feature
make: replace has radio by feature
2014-10-30 23:29:49 +01:00
Hauke Petersen
56062b0f23 Merge pull request #1872 from thomaseichinger/stm32f1-i2c-multibyte-fix
cpu/stm32f1: fix i2c master read for N=2 and N>2 bytes
2014-10-30 23:24:00 +01:00
feb550f17a Merge pull request #1885 from OlegHahm/thread_yield_higher_cleanup
core: thread_yield_higher cleanup
2014-10-30 23:22:27 +01:00
Oleg Hahm
50ad24b011 Merge pull request #1911 from OlegHahm/fix_trickle_timer_stacksize
trickle: fix timer stacksize
2014-10-30 23:21:00 +01:00
f2483dfd5b Merge pull request #1649 from kaspar030/ringbuffer_remove
sys: lib: introduce ringbuffer_remove()
2014-10-30 23:20:06 +01:00
e4257284ad sys: lib: introduce ringbuffer_remove()
This commit adds a function that deletes n elements from the ringbuffer
without actually writing them somewhere.
2014-10-30 23:23:27 +01:00
Oleg Hahm
1b47b76135 config: use FEATURE_PROVIDED instead of HAS_RADIO 2014-10-30 23:13:52 +01:00
Oleg Hahm
3c0d91720b Revert "boards: introduced a HAS_RADIO define"
This reverts commit 4238f40429.
2014-10-30 23:13:52 +01:00
benpicco
54c3cb259e Merge pull request #1908 from OlegHahm/ps_fix_after_tcb_cleanup
sys: fix thread_print_all
2014-10-30 22:46:02 +01:00
Christian Mehlis
3e5cfaece3 Merge pull request #1555 from haukepetersen/fix_nrf_uartdriver
cpu/nrf51822: added interrupt mode to UART driver
2014-10-30 22:33:22 +01:00
Thomas Eichinger
5965220efe Merge pull request #1900 from OlegHahm/config_radio_address_t
config: use radio_address_t in config_t
2014-10-30 22:28:45 +01:00
Thomas Eichinger
a2d7b5abd6 Merge pull request #1909 from locicontrols/cc2538dk-jlink
boards/cc2538dk: Support flashing and debugging using the SEGGER JLink.
2014-10-30 22:28:10 +01:00
Oleg Hahm
99b5ff81fa config: suppress cppcheck warnings 2014-10-30 22:27:12 +01:00
Oleg Hahm
576e76db51 config: make members feature specific
Channel and address are only sensible for boards that actually have a
transceiver.
2014-10-30 22:27:12 +01:00
Oleg Hahm
6b39ce9650 config: moved from core to sys
There's no need to run config_load from core directly, can be done by
auto_init.
2014-10-30 22:27:11 +01:00
Oleg Hahm
09f225f6ed config: use radio_address_t 2014-10-30 22:27:11 +01:00
Hauke Petersen
64c5ee3322 cpu/nrf51822: made syscalls aware of uart0 2014-10-30 21:51:31 +01:00
Hauke Petersen
32e8415c7c boards: added missing STD_RX_BUFSIZE defines
added for:
- pca10000
- pca10005
- yunjia-nrf51822
2014-10-30 21:51:31 +01:00
Hauke Petersen
7d8e9def20 tests/periph_uart_int: fixed formatting 2014-10-30 21:51:31 +01:00
Hauke Petersen
2bab8aed2e cpu/nrf51822: added interrupt mode to UART driver 2014-10-30 21:51:31 +01:00
Hauke Petersen
4a5e794f32 boards: fixeded UART defines for NRF borads
fixed for pca10000, pca10005, yunjia-51822
2014-10-30 21:51:31 +01:00
Oleg Hahm
5cf154223b trickle: increase stacksize for timer thread
printf is used in this thread
2014-10-30 21:27:12 +01:00
René Kijewski
dcc9640899 Merge pull request #1841 from Kijewski/sched_yield-result
core: refactor sched_run
2014-10-30 21:16:17 +01:00
Thomas Eichinger
44dcd0e631 Merge pull request #1817 from haukepetersen/add_driver_lps331ap
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
René Kijewski
9ddbf57709 core: refactor sched_run
`sched_run()` was cluttered. Many individual changes were done without a
proper refactoring.
2014-10-30 21:00:09 +01:00
Hauke Petersen
d982a18f1a Merge pull request #1824 from haukepetersen/fix_cortex_isrs
cpu: removed NAKED attribute from ISRs
2014-10-30 20:41:14 +01:00
Martine Lenders
3bfbc60a48 Merge pull request #1731 from authmillenon/netdev-test-dummy
netdev: Provide test network device with netdev interface
2014-10-30 20:37:37 +01:00
Martine Lenders
0de78831f9 unittests: Provide unittests for net_dev_dummy
* tests if net_dev_dummy is correct and if driver part of net_dev is
  correct
2014-10-30 20:37:21 +01:00
Martine Lenders
cf3fdaabb6 unittests: add test network device
The reasoning behind this commit is twofold:
1. test the "lower" part (the device part) of netdev
2. provide a well defined testing infrastructure for modules that utilise
   netdev
The actual tests that represent 1. are provided in the following commit
2014-10-30 20:37:20 +01:00
Oleg Hahm
7cd9755bc5 Merge pull request #1888 from OlegHahm/license_cleanup
doc: added and fixed some copyright boilerplates
2014-10-30 20:33:10 +01:00
Hauke Petersen
f06eeeaaef tests: added test for LPS331AP sensor driver 2014-10-30 20:24:51 +01:00
Hauke Petersen
d31ed0f85b board/iot-lab_M3: added interface for LPS331AP 2014-10-30 20:24:51 +01:00
Hauke Petersen
7b666eb2a9 drivers: added LPS331AP pressure sensor driver 2014-10-30 20:24:44 +01:00
Oleg Hahm
7b95b613b2 sys: fix thread_print_all 2014-10-30 20:16:48 +01:00
Ian Martin
6170d10bd4 boards/cc2538dk: Support flashing and debugging using the SEGGER JLink. 2014-10-30 14:44:05 -04:00
Hauke Petersen
56911ed01c Copy SEGGER JLink scripts from boards/openmote to boards/cc2538dk. 2014-10-30 14:43:39 -04:00
Hauke Petersen
e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Oleg Hahm
313d5b4e56 doc: added and fixed some copyright boilerplates 2014-10-30 19:30:14 +01:00
Thomas Eichinger
a11e4fe534 Merge pull request #1712 from haukepetersen/fix_stm32f0_hardfault
cpu/stm32f0: fixed hardfault indication
2014-10-30 19:05:04 +01:00