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

12038 Commits

Author SHA1 Message Date
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
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
Matthias Kolja Miehl
318bc53671 pkg/emb6: emb6_conn_udp: fix nullPointer error 2016-09-05 02:17:34 +02:00
Matthias Kolja Miehl
906b22699d pkg/nordic_softdevice_ble: gnrc_nordic_ble_6lowpan: fix nullPointer error 2016-09-05 02:16:42 +02:00
Matthias Kolja Miehl
3733bb7c14 drivers/dht: fix variableScope 2016-09-05 02:15:51 +02:00
Aaron Sowry
2ba43d560f cpu/cc2538: Remove superfluous mutex lock 2016-09-04 20:51:51 +12:00
Oleg Hahm
908f5489b6 Merge pull request #5653 from aeneby/rssi_lqi_fix_v2
cpu/cc2538: Make ED and LQI values 802.15.4 compliant
2016-09-04 10:27:02 +02:00
Oleg Hahm
3e05a90d41 Merge pull request #5800 from miri64/at86rf2xx/doc/get_random_operation
at86rf2xx: document operation mode concerns for
2016-09-02 23:41:48 +02:00
Martine Lenders
0b59372eb0 at86rf2xx: document operation mode concerns for 2016-09-02 22:48:47 +02:00
Laurent Navet
3f0e1862a8 cpu/atmega328p: add atmega328p mcu support
add atmega328p support with:
uart, timer, spi and gpio
2016-09-02 22:26:19 +02:00
Martine Lenders
09703e1fdf fixup! sock: Introduction of new application layer API
Add more error classes
2016-09-02 19:02:33 +02:00
Martine Lenders
d17ef910f0 fixup! sock: Introduction of new application layer API
Include missing header
2016-09-02 18:59:34 +02:00
Martine Lenders
9b2cff9a7b lwip: port mboxes to core_mbox 2016-09-02 15:04:18 +02:00
Martine Lenders
9b63d5c25e Merge pull request #4989 from mtausig/at86rf2xx_get_random
at86rf2xx: at86rf2xx_get_random to at86rf2xx_internal for supporting boards
2016-09-02 11:02:19 +02:00
3aa1ffb5fb drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init 2016-09-02 10:42:09 +02:00
Martine Lenders
b43ffab953 Merge pull request #5515 from miri64/csma_sender/fix/adaptations
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Mathias Tausig
48083a7c10 at86rf2xx: Add at86rf2xx_get_random to at86rf2xx_internal
Works for at86rf233 and at86rf231 chips
2016-09-02 09:54:39 +02:00