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

4052 Commits

Author SHA1 Message Date
René Kijewski
0c3bc4a58d tests: Add unittests for byteorder.h 2014-09-29 21:07:02 +02:00
René Kijewski
749db8d0dd core: Provide functions for different byte orders
Rationale: see #1586.
2014-09-29 21:07:02 +02:00
Oleg Hahm
762e9492a6 Merge pull request #1528 from OlegHahm/silent_rpl
rpl: mute RPL
2014-09-29 10:56:10 +02:00
Oleg Hahm
b43fda4b0f Merge pull request #1725 from LudwigOrtmann/dont-make-alot
make: only depend on directories that don't exist
2014-09-28 19:17:37 +02:00
René Kijewski
9f5b65166a make: del no-delete-null-pointer-checks for clang++
This PR enables the use of clang++ to compile C++ projects by adding
`CXXUWFLAGS += -fno-delete-null-pointer-checks`, if `${CC}` understands
`-fno-delete-null-pointer-checks` but `${CXX}` does not.
2014-09-28 14:56:29 +02:00
Ludwig Ortmann
bf87d8ff04 Merge pull request #1462 from backenklee/smallPR
pkg/Makefile.http: There were two recipes for clean.
2014-09-28 02:33:18 -07:00
Ludwig Ortmann
7e123c797d make: optimize archive creation/modification
Only add/replace changed members to the archive.
2014-09-28 11:28:42 +02:00
Ludwig Ortmann
182b603a01 make: 1571 fixup: dont create existing directories
This fixes an error which was introduced by commit
346313bf07

The timestamp of directories is updated when a file inside a directory
is changed.
Therefore, make decides a target needs to be rebuilt, whenever that
target depends on its parent directory, because the directory is
always newer than the file inside.

http://www.gnu.org/savannah-checkouts/gnu/make/manual/html_node/Prerequisite-Types.html

    Occasionally, however, you have a situation where you want to
    impose a specific ordering on the rules to be invoked without
    forcing the target to be updated if one of those rules is
    executed. In that case, you want to define order-only
    prerequisites. Order-only prerequisites can be specified by
    placing a pipe symbol (|) in the prerequisites list: any
    prerequisites to the left of the pipe symbol are normal; any
    prerequisites to the right are order-only:

         targets : normal-prerequisites | order-only-prerequisites
2014-09-28 11:26:51 +02:00
Leon George
bff3bf72c8 pkg/Makefile.{http,git}: Minor issues resolved.
The were two recipes for clean. One of them is now "dist-clean"
2014-09-28 03:26:32 +02:00
Matthias Waehlisch
72b06cc9b1 sys/net/ccn_lite/README.md change wording + add ACM ICN reference
sys/net/ccn_lite/README.md fix encoding
2014-09-27 11:17:06 +02:00
Ludwig Ortmann
f539f30691 Merge pull request #1698 from Kijewski/ssize_t-for-all
core: Provide ssize_t in a common place
2014-09-27 00:26:34 -07:00
Ludwig Ortmann
5a8e449299 Merge pull request #1723 from LudwigOrtmann/issue-1719
make: add objdump target + .PHONY missing targets from Makefile.include
2014-09-27 00:05:59 -07:00
Ludwig Ortmann
71b961bef7 make: .PHONY missing targets from Makefile.include 2014-09-27 08:11:44 +02:00
Ludwig Ortmann
9053cfe2de make: add objdump target 2014-09-27 08:11:29 +02:00
Ludwig Ortmann
7e860449f3 Merge pull request #1714 from LudwigOrtmann/add_driver_pir
drivers: import PIR motion sensor driver
2014-09-26 11:57:40 -07:00
Ludwig Ortmann
e75dd40eea drivers: import PIR motion sensor driver
Includes an application for manual testing.
2014-09-26 18:07:46 +02:00
Hauke Petersen
0651020547 boards: added LED macro for pca1000 & yunjia-nrf 2014-09-26 17:50:27 +02:00
Hauke Petersen
964c145eef cpu/nrf51822: fixed gpio driver 2014-09-26 17:25:21 +02:00
Ludwig Ortmann
99760f3825 Merge pull request #1696 from N8Fear/mega2560-debug
boards:mega2560: add debug and debug-server targets
2014-09-26 06:43:36 -07:00
Hinnerk van Bruinehsen
17fe3f4348 boards:mega2560: add debug and debug-server targets 2014-09-26 15:09:37 +02:00
Thomas Eichinger
c4f3b88490 Merge pull request #1471 from thomaseichinger/impl_uart0
cpu: make stm32f{0,1,3,4} comply to UART0 module
2014-09-26 14:20:36 +02:00
Thomas Eichinger
d0b0af6d81 stm32f*: rename STDIO buffer and enable getchar with UART0 2014-09-26 14:16:59 +02:00
Thomas Eichinger
c83e4cb361 stm32f1: unify UART0 use 2014-09-26 14:16:59 +02:00
Thomas Eichinger
fc3864756f stm32f3: be UART0 aware 2014-09-26 14:16:31 +02:00
Thomas Eichinger
aefa818338 stm32f4: be UART0 aware 2014-09-26 14:16:31 +02:00
Thomas Eichinger
8fc2e61e20 stm32f0: be UART0 aware 2014-09-26 14:16:31 +02:00
René Kijewski
4e50d74272 core: Provide ssize_t in a common place
Now you can include `kernel_types.h` if you need the `ssize_t`, without
 facing problems due to the terrible MSP toolchain.
2014-09-26 14:04:30 +02:00
René Kijewski
866c713a7e native: -DNATIVE_INCLUDES if using NATIVEINCLUDES
It can be useful to know if the current compilation builds the native
board module, because e.g. then we must not include `sys/types.h`.

This diff adds `-DNATIVE_INCLUDES` to the make variable
`NATIVEINCLUDES`.
2014-09-26 13:59:37 +02:00
Thomas Eichinger
1c150cee18 Merge pull request #1701 from thomaseichinger/samr21
cpu/board: Initial import of samr21-xpro
2014-09-25 15:48:06 +02:00
Hauke Petersen
5fd6c265f6 Merge pull request #1622 from haukepetersen/fix_pca_sripts
board/pca1000x: added/fixed dist scripts
2014-09-25 15:02:33 +02:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00
Thomas Eichinger
408eb3dc6e Merge pull request #1711 from haukepetersen/fix_stm32f1_spi
cpu/stm32f1: added missing spi function
2014-09-25 14:37:23 +02:00
Hauke Petersen
d7741efa03 cpu/stm32f1: added missing spi function 2014-09-25 14:25:04 +02:00
Hauke Petersen
d717fbca85 Merge pull request #1710 from thomaseichinger/fix_test_spi
tests/periph_spi: fix usage of board specific LED define
2014-09-25 14:03:15 +02:00
Thomas Eichinger
89608b613e tests/periph_spi: fix usage of board specific LED define 2014-09-25 13:59:12 +02:00
Hauke Petersen
934eb44c13 Merge pull request #1488 from haukepetersen/add_stm32f0_spi
board/cpu: added SPI driver for the stm32f0discovery
2014-09-25 11:59:11 +02:00
Ludwig Ortmann
7b3f0c5b6a Merge pull request #1693 from Kijewski/sched_switch-only-if-higher
core: sched_switch only switch for higher priority
2014-09-25 02:35:50 -07:00
Ludwig Ortmann
bd0ff3712e Merge pull request #1706 from locicontrols/sam3x8e-break
cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear()
2014-09-25 01:42:46 -07:00
Oleg Hahm
90efdbdcb6 Merge pull request #1700 from Kijewski/license-statement
Add license statement to {msp430_types,net_help}.h
2014-09-25 10:40:01 +02:00
René Kijewski
1df0b5644a core: sched_switch only switch for higher priority
sched_switch() is called by some library functions when a call unblocks
another thread. Then it needs to be tested if the current thread should
be preempted for the newly runnable thread.

A non-volutarily yield should only happen if the unblocked thread has a
_higher_ priority than the current thread. The current implementation,
which tests if the other thread has the same or a higher priority, does
not fit the documentation.
2014-09-25 10:16:33 +02:00
René Kijewski
d4f144eb47 Add license statement to {msp430_types,net_help}.h 2014-09-25 10:14:58 +02:00
René Kijewski
221d8c9e51 Merge pull request #1707 from locicontrols/bloom
tests/bloom: Prevent word lists from being copied into RAM and un-blacklist some boards.
2014-09-25 09:46:47 +02:00
Ian Martin
94a6a4cab0 Wake-up Travis 2014-09-24 19:41:02 -04:00
Ian Martin
505ced492a tests/bloom: Un-blacklist boards mbed_lpc1768, stm32f3discovery, pca10000, pca10005, and yunjia-nrf51822. 2014-09-24 16:55:04 -04:00
Ian Martin
853640afbc tests/bloom: Prevent word lists from being copied into RAM. 2014-09-24 16:51:53 -04:00
Ian Martin
ab3b731ca8 cpu/sam3x8e bug: missing break statements in gpio_set() and gpio_clear() 2014-09-24 14:26:36 -04:00
René Kijewski
84f8954cd9 Merge pull request #1705 from haukepetersen/fix_stm32f4_pwmdoxygen
cpu/stm32f4: fixed doxygen for PWM driver
2014-09-24 17:57:27 +02:00
Hauke Petersen
3d797d8f4b cpu/stm32f4: fixed doxygen 2014-09-24 17:51:37 +02:00
Oleg Hahm
cbb4b6b9c2 Merge pull request #1702 from OlegHahm/pyterm_dtr_option
pyterm: make pin toggling optional
2014-09-24 17:06:05 +02:00
Oleg Hahm
9b4d22aaa0 pyterm: make pin toggling optional
For the MSB-A2 the DTR and RTS pins have to be pulled down over the
serial interface in the beginning. (This is required because the Linux
usbserial driver pulls them up when initializing the device which set
the node into reset mode.) Since this is not necessary on most other
platforms and might even cause problems, it's better to make this an
optional behavior of pyterm.
2014-09-24 17:05:36 +02:00