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

5112 Commits

Author SHA1 Message Date
René Kijewski
5f29fed076 core: introduce msg_sent_by_int()
msg_send_int() sets `m->sender_pid = target_pid`. This was used to flag a
message as having been sent by an ISR.

This PR introduces a static inline function `msg_sent_by_int()` and a
specific define for this purpose.
2014-12-18 23:04:03 +01:00
Oleg Hahm
a17d89fbed Merge pull request #1619 from rousselk/msp430-hwtimer-16bit
Only use 16 significative bits for MSP430 hwtimers
2014-12-18 18:49:02 +01:00
bapclenet
55aabf9dfb cpu/samd21: add rtc periph implementation 2014-12-18 15:25:49 +01:00
Thomas Eichinger
a9379881cf pkg/openwsn: update to current openwsn version 2014-12-18 13:48:12 +01:00
Ludwig Ortmann
695d702b4f Merge pull request #2212 from Lotterleben/fix_ipv6_iface_set_routing_provider
exclude ``ipv6_iface_set_routing_provider()`` from ``#ifdef MODULE_RPL``...
2014-12-17 19:03:47 +01:00
Thomas Eichinger
ca53077e3c Merge pull request #1998 from Troels51/samr21-hwtimer-fix
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Thomas Eichinger
82be58e35a pkg/openwsn: remove old openwsn pkg 2014-12-17 16:36:46 +01:00
Hauke Petersen
3a2867fa50 Merge pull request #2179 from PeterKietzmann/adapt_srf08_ultrasonic_driver
drivers/srf08: improved and adapted ultrasonic ranger driver to general i2c interface
2014-12-17 15:41:20 +01:00
PeterKietzmann
46fdcf64c1 drivers/srf08: initial import of the updated ultrasonic driver 2014-12-17 15:37:25 +01:00
Troels Hoffmeyer
7124ec6258 samr21: implemented 32 bit hwtimer 2014-12-17 14:44:54 +01:00
Ludwig Ortmann
b8b50e8579 Merge pull request #2210 from Lotterleben/fix_sixlowpan_typos
fix typos in ip.h, mac.h, ndp.h and types.h
2014-12-17 12:32:35 +01:00
Lotte Steenbrink
743146a803 fix typos in ip.h, mac.h, ndp.h and types.h 2014-12-17 03:29:37 -08:00
Kévin Roussel
1fb12b770e Reduce variable scope in init function 2014-12-17 12:21:16 +01:00
Kévin Roussel
d101b30dd8 Make hwtimer_spin() work even with interrupts disabled
by using only 16 significative bits on MSP430 hardware timers
2014-12-17 12:21:07 +01:00
Ludwig Ortmann
2feb6423a7 Merge pull request #2208 from Lotterleben/cbor_add_define_parentheses
add parentheses to ENABLE_DEBUG in CBOR_NO_PRINT
2014-12-17 12:06:37 +01:00
Lotte Steenbrink
1bd60400f0 add parentheses to ENABLE_DEBUG in CBOR_NO_PRINT 2014-12-17 03:03:33 -08:00
Thomas Eichinger
5689a7d218 Merge pull request #1997 from Troels51/samr21-transceiver-port
samr21: implemention of transceiver via spi
2014-12-17 11:56:37 +01:00
Joakim Gebart
390b8394d6 msba2: Use --gc-sections when linking.
- Add `-Wl,--gc-sections` to LDFLAGS
 - Add `-fdata-sections` and `-ffunction-sections` to CFLAGS
 - Update lpc2387 linker script to keep the isr vector and init
   sections when garbage collecting.
 - Keep .ctors and .dtors sections (similar to what binutils default
   linker script does when building for Linux targets)

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2014-12-17 11:37:58 +01:00
Lotte Steenbrink
a8b3c9f535 exclude `ipv6_iface_set_routing_provider() from #ifdef MODULE_RPL` so that other routing protocols can use it too. 2014-12-17 02:09:09 -08:00
Ludwig Ortmann
2ec5f9daf6 Merge pull request #2205 from LudwigOrtmann/periph-rtc-doc
periph/rtc: move struct tm note to the top
2014-12-17 10:44:48 +01:00
Ludwig Ortmann
624ef19dd7 Merge pull request #2193 from LudwigOrtmann/libfixmath-test
Revert "tests: don't build test/libfixmath on Travis CI"
2014-12-17 10:38:02 +01:00
Hauke Petersen
765c4f38e5 Merge pull request #2201 from BytesGalore/mbed_lpc1768_uartUSB
board/mbed_lpc1768 changed the serial device to UART0
2014-12-17 10:35:03 +01:00
Ludwig Ortmann
c070afb883 periph/rtc: move struct tm note to the top
The remark is valid for the whole interface, not just `rtc_get_time`.
2014-12-17 09:58:54 +01:00
Ludwig Ortmann
a7f7d7e516 Revert "tests: don't build test/libfixmath on Travis CI"
This reverts commit f061d0214e.
2014-12-17 09:47:43 +01:00
BytesGalore
c40e5267a6 board/mbed_lpc1768 changed the serial device to UART0
-> enables USB/serial communication
2014-12-17 07:27:28 +01:00
Martine Lenders
5c9d749649 Merge pull request #2204 from authmillenon/riot_and_cpp/fix/not-link-stm32f0discovery
riot_and_cpp: do not link on build tests for stm32f0discovery
2014-12-16 21:31:55 +01:00
Martine Lenders
58e8b75fc7 riot_and_cpp: do not link on build tests for stm32f0discovery 2014-12-16 21:31:03 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
Oleg Hahm
124c13bbab pttu: add periph_rtc also to this MSB-A2 variant 2014-12-16 17:02:44 +01:00
Oleg Hahm
f7b197007d travis: make travis happy for empty header files 2014-12-16 17:02:44 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
849580a9c9 cpu: lpc2387: further rtc cleanup 2014-12-16 17:02:44 +01:00
Oleg Hahm
587920cc49 cpu: remove superfluous gettimeofday functions 2014-12-16 17:02:44 +01:00
Oleg Hahm
93cf446b55 rtc: cleanup of lpc2387-rtc implementation 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
Oleg Hahm
ed54a5765a boards: created periph-conf.h for remaining boards 2014-12-16 17:02:44 +01:00
Hauke Petersen
652abe7517 Merge pull request #2168 from haukepetersen/add_lpc1768_timer
cpu/lpc1768: added basic timer implementation
2014-12-16 16:56:49 +01:00
Hauke Petersen
78eed22dd2 cpu/lpc1768: added basic timer implementation 2014-12-16 16:57:31 +01:00
Hauke Petersen
54ca0b9a65 board/mbed_lpc1768: added timer definitions 2014-12-16 16:57:31 +01:00
Hauke Petersen
216de4c473 Merge pull request #2202 from haukepetersen/fix_driver_timerdoc
driver/timer: adjusted doxygen for speed value
2014-12-16 16:48:51 +01:00
Hauke Petersen
f80c4a4d7e driver/timer: adjusted doxygen for speed value 2014-12-16 16:36:36 +01:00
Ludwig Ortmann
ca36e9c4a7 sys/shell: refactor _parse_time 2014-12-16 16:15:17 +01:00
Ludwig Ortmann
8ec17560e4 examples/default: use periph/rtc instead of rtc
The rtc module is deprecated and will be removed.
2014-12-16 16:09:15 +01:00
Ludwig Ortmann
3729789dc3 sys/shell: use more common libc calls
use strtol instead of sscanf
use plain printf instead of asctime
2014-12-16 16:08:49 +01:00
Ludwig Ortmann
4942882949 sys/shell: rewrite rtc command for periph/rtc 2014-12-16 16:07:01 +01:00
Ludwig Ortmann
2ec0a1ca02 native/rtc: apply naming conventions 2014-12-16 15:46:56 +01:00
Ludwig Ortmann
474c8afd93 native/rtc: define ENABLE_DEBUG, move include 2014-12-16 15:41:51 +01:00
Ludwig Ortmann
17d2f57473 Merge pull request #2200 from haukepetersen/fix_i2c_doc
driver/i2c: additional docu for pull resistors
2014-12-16 15:36:34 +01:00
Hauke Petersen
f3de73fe54 driver/i2c: additional docu for pull resistors 2014-12-16 15:17:42 +01:00