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

12103 Commits

Author SHA1 Message Date
Matthias Kolja Miehl
2ba795eb81 cpu/stm32f0: uart: make sure that 'port' and 'dev' are !=NULL
This fixes some cppcheck nullPointer errors.
2016-09-11 16:56:35 +02:00
Joakim Nohlgård
c6f280a104 dist/tools/drone-scripts: Delete because Drone can now use the Travis script 2016-09-11 14:41:42 +02:00
Joakim Nohlgård
2df85d7100 travis: Add missing host build group 2016-09-11 14:39:34 +02:00
Joakim Nohlgård
0a61415fb0 drone: Update to Drone v0.5 yaml format 2016-09-11 14:39:08 +02:00
Joakim Nohlgård
0fe461f1e4 Makefile.buildtests: Fix typo QUITE -> QUIET 2016-09-11 12:54:14 +02:00
Andreas "Paul" Pauli
662076e150 Merge pull request #5747 from miri64/tests/feat/od-test
tests: provide tests for od module
2016-09-10 15:24:01 +02:00
Laurent Navet
4c9c3ab7d6 cpu/atmega_common: fix timer_set_absolute return code
according to timer documentation, timer_set and timer_set_absolute should
return 1 on succes, not 0.
2016-09-10 00:12:39 +02:00
Martine Lenders
5552b92023 Merge pull request #5831 from mali/timer
drivers/timer: fix copy/paste error
2016-09-08 22:22:38 +02:00
Martine Lenders
2cc52fba19 tests: provide tests for od module 2016-09-08 20:02:24 +02:00
597409574d Merge pull request #5801 from miri64/pkg/enh/lwip-mbox-port
lwip: port mboxes to core_mbox
2016-09-08 13:36:29 +02:00
Michael Andersen
082d8e85a9 samd21: i2c: clear timeout_counter
If not cleared, long writes timeout incorrectly
2016-09-07 18:21:38 -07:00
Laurent Navet
f30c4ade2c drivers/timer: fix copy/paste error 2016-09-07 21:59:25 +02:00
Jon Thacker
e0365e0bf9 atmega: use software interrupt for context swap
Fixes #5745
For AVR based boards, three defines must be defined AVR_CONTEXT_SWAP_INIT,
AVR_CONTEXT_SWAP_INTERRUPT_VECT, and AVR_CONTEXT_SWAP_TRIGGER.
These defines are used to trigger a software interrupt used for context
switching.

When AVR_CONTEXT_SWAP_INTERRUPT_VECT is handled, the scheduler is run
and a context swap will happen if necessary, with the resulting thread
starting following the reti instruction. This results in threads running
at normal priority instead of at interrupt priority.

Atmega devices do provide a pure software interrupt. The method used
here for waspmote-pro and arduino-mega2560 is to use pin change
interrupts, set the pin to act as an output, and toggle the value to
simulate a software interrupt. The main limitation here is that a
physical pin is now occupied and must be defined for each board
supported by RIOT. On the plus side, it provides an easy method for
detecting context swaps with an oscilloscope.
2016-09-07 14:35:53 -05:00
Ludwig Knüpfer
379560752c Merge pull request #5696 from LudwigKnuepfer/pr/fix-5695
make: include RIOT_VERSION in CFLAGS for riotbuild
2016-09-07 20:13:39 +02:00
Sebastian Meiling
b4b1bb597a Merge pull request #5822 from cgundogan/pr/vagrant/add_info_about_vboxusers_group
vagrant: update README and add info about vboxusers group
2016-09-07 09:28:25 +02:00
Bas Stottelaar
597035602f pkg: u8g2: don't toggle unused pins. 2016-09-06 19:14:05 +02:00
Martine Lenders
043eb677dd make: build quiet as default 2016-09-06 18:20:02 +02:00
Cenk Gündoğan
63b7cf475a vagrant: restructure 'addit. info.' in README 2016-09-06 16:54:05 +02:00
Sebastian Meiling
814fe93791 Merge pull request #5826 from thomaseichinger/pr/fix_freebsd
dist/tools: include uname check for FreeBSD in genconfigheader
2016-09-06 16:08:26 +02:00
Cenk Gündoğan
39e2ad12bf vagrant: change RIOT-OS to RIOT in readme 2016-09-06 14:53:40 +02:00
Cenk Gündoğan
c75c9194d8 vagrant: update ubuntu version in readme 2016-09-06 14:52:53 +02:00
Thomas Eichinger
59bc1b46b7 dist/tools: include uname check for FreeBSD in genconfigheader
Analog to Darwin set `MD5SUM` to `md5 -r`.
2016-09-06 14:45:58 +02:00
Cenk Gündoğan
6e8d4dc686 vagrant: info about vboxusers group for USB access 2016-09-06 07:12:43 +02:00
53a7225419 Merge pull request #5702 from basilfx/feature/pkg_u8g2_improvements
pkg: u8g2: improvements and bugfixes
2016-09-05 17:27:38 +02:00
Oleg Hahm
b35b270fe4 Merge pull request #5813 from makomi/hamming256
sys/ecc/hamming256: fix variableScope (cppcheck)
2016-09-05 16:54:00 +02:00
Bas Stottelaar
dc0d8efc38 tests: pkg_u8g2: simplify Makefile + default display per output type
This matches better with other tests and makes code less bloated.
2016-09-05 16:48:43 +02:00
Bas Stottelaar
716ab1ce36 pkg: u8g2: upgrade package to latest version.
New version introduces better support for the different SPI modes.
2016-09-05 16:48:43 +02:00
42a50faaa6 Merge pull request #5814 from makomi/nordic_softdevice_ble
pkg/nordic_softdevice_ble: gnrc_nordic_ble_6lowpan: fix nullPointer error (cppcheck)
2016-09-05 15:58:30 +02:00
d94e53690b Merge pull request #5820 from makomi/xtimer_now64_continuity
tests/xtimer_now64_continuity: fix variableScope (cppcheck)
2016-09-05 15:33:21 +02:00
Martine Lenders
8754a3da4d Merge pull request #5812 from makomi/periph_uart
tests/periph_uart: fix invalidPrintfArgType_sint (cppcheck)
2016-09-05 13:08:40 +02:00
Martine Lenders
f20715bc54 Merge pull request #5810 from makomi/emb6
pkg/emb6: emb6_conn_udp: fix nullPointer error (cppcheck)
2016-09-05 13:08:15 +02:00
Martine Lenders
0b627be82e Merge pull request #5809 from makomi/driver_dht
tests/driver_dht: fix invalidPrintfArgType_sint (cppcheck)
2016-09-05 13:06:46 +02:00
Martine Lenders
9874a6d69a Merge pull request #5811 from makomi/gnrc
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
Martine Lenders
e04933b2b5 Merge pull request #5808 from makomi/dht
drivers/dht: fix variableScope (cppcheck)
2016-09-05 09:53:06 +02:00
BytesGalore
5893c9ba0f Merge pull request #5806 from makomi/base64
sys/base64: fix variableScope (cppcheck)
2016-09-05 08:48:52 +02:00
Matthias Kolja Miehl
5456d6e2d2 dist/tools/tunslip: tapslip6: fix unusedVariable 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
8cb5624655 dist/tools/tunslip: tapslip6: fix variableScope 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
eb39aec480 dist/tools/tunslip: tunslip6: fix invalidPrintfArgType_uint
Since the argument type is 'long', the printf
format string has to be '%li' instead of '%lu'.
2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
652f5ef8b9 dist/tools/tunslip: tunslip6: fix variableScope 2016-09-05 02:32:10 +02:00
Matthias Kolja Miehl
c458f9958e dist/tools/tunslip: fix variableScope 2016-09-05 02:32:09 +02:00
Matthias Kolja Miehl
c06bf1019d dist/tools/tunslip: add comment regarding missing break at the end of case 2016-09-05 02:32:09 +02:00
Matthias Kolja Miehl
2ea342dcaf tests/xtimer_now64_continuity: fix variableScope 2016-09-05 02:31:11 +02:00
Matthias Kolja Miehl
da0fb324a5 tests/periph_gpio: fix variableScope 2016-09-05 02:30:10 +02:00
Matthias Kolja Miehl
6ea7a8f6ae tests/periph_uart: fix invalidPrintfArgType_sint
Since the argument type is 'unsigned int', the printf
format string has to be '%u' instead of '%i'.
2016-09-05 02:27:24 +02:00
Matthias Kolja Miehl
54fc0fd2a8 tests/driver_dht: fix invalidPrintfArgType_sint
Since the argument type is 'unsigned int', the printf
format string has to be '%u' instead of '%i'.
2016-09-05 02:26:41 +02:00
Matthias Kolja Miehl
95baea86d6 sys/net/gnrc: gnrc_zep: fix nullPointer error 2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340 sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope 2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637 sys/net/gnrc: gnrc_ipv6_ext: fix variableScope 2016-09-05 02:23:59 +02:00
Matthias Kolja Miehl
08fd7f857b sys/ecc/hamming256: fix variableScope 2016-09-05 02:22:37 +02:00
Matthias Kolja Miehl
1e8d768701 sys/base64: fix variableScope 2016-09-05 02:21:50 +02:00