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
Martine Lenders
3f82b530ad
Merge pull request #5765 from zhuoshuguo/revise_sys_embunit_header_include_guards
...
Fix sys/embunit header include guards.
2016-09-01 16:13:38 +02:00
Shuguo Zhuo
76f593af11
sys/embunit: revised header include guards.
2016-09-01 15:33:23 +02:00
Martine Lenders
8173fcbb34
Merge pull request #5562 from mtausig/feature/tiny-asn1
...
Include tiny-asn1 as a package
2016-09-01 14:52:35 +02:00
Mathias Tausig
1e5195722a
tiny-asn1: Created new package tiny-asn1
2016-09-01 13:57:35 +02:00
26e4004de4
Merge pull request #5397 from OTAkeys/pr/stm32f2xx
...
cpu: add stm32f2xx family support (based on #4497 )
2016-08-31 21:14:37 +02:00
kYc0o
5e3747ea8b
Merge pull request #5590 from mali/atmega_common
...
cpu/atmega_common: improve to add smaller atmega MCUs.
2016-08-31 18:29:53 +02:00
Cenk Gündoğan
924f27558c
Merge pull request #5784 from PeterKietzmann/tools_update_cc2538-bsl
...
dist/tools: update serial boot loader script
2016-08-31 10:10:01 +02:00
PeterKietzmann
5eafb071a6
dist/tools/cc2538-bsl: enforce python2
2016-08-30 23:38:14 +02:00
Martine Lenders
fad1467ad2
Merge pull request #5789 from gebart/pr/rm-dockerfile
...
dist: Remove Dockerfile in favour of separate repo
2016-08-30 23:23:10 +02:00
Martine Lenders
ebbfb8d9f1
Merge pull request #5739 from gebart/pr/doxygen-quiet
...
doc: Set QUIET=YES in Doxyfile
2016-08-30 23:21:41 +02:00
Peter Kietzmann
cd548cad46
Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
...
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Joakim Nohlgård
ab43f90985
dist: Remove Dockerfile in favour of separate repo
...
See https://github.com/RIOT-OS/riotdocker for an up-to-date Dockerfile.
2016-08-30 22:57:15 +02:00
Martine Lenders
a5cdd96e06
Merge pull request #5271 from miri64/dist/enh/testrunner-print-tb
...
dist: testrunner: optionally print traceback
2016-08-30 22:46:44 +02:00
Martine Lenders
9ba68cc88d
Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
...
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
Martine Lenders
60663109f7
Merge pull request #5431 from miri64/border_router/enh/term-target
...
gnrc_border_router: use start_network.sh script as for term target
2016-08-30 21:50:44 +02:00
BytesGalore
c34e9d268c
Merge pull request #5785 from x3ro/fix-mci-driver-timer-issue
...
lpc2387: Fix wrong factor in driver poll-timer
2016-08-30 21:09:17 +02:00
Peter Kietzmann
28638bea92
Merge pull request #5725 from aeneby/tx_underrun_fix
...
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-30 21:07:14 +02:00
Martine Lenders
3b4f025e5d
gnrc_border_router: use start_network.sh script as for term target
2016-08-30 21:05:26 +02:00
Lucas Jenss
1cf1f59ca9
lpc2378: Fix wrong factor in driver poll-timer
...
Fixes #4530
2016-08-30 19:59:34 +02:00
Peter Kietzmann
1048891ee8
Merge pull request #5783 from miri64/emb6/enh/double-dep
...
emb6: remove double inclusion in Makefile.dep
2016-08-30 18:56:41 +02:00
PeterKietzmann
5b3d7fadcf
dist/tools: update serial boot loader script
2016-08-30 18:41:59 +02:00
Peter Kietzmann
8264f41e91
Merge pull request #5708 from aabadie/nucleo_saul_support
...
boards/nucleo-common: add saul support for on-board user led and button
2016-08-30 17:14:17 +02:00
Martine Lenders
9d0881fae5
dist: testrunner: optionally print traceback
2016-08-30 16:50:36 +02:00
Martine Lenders
497867c54d
emb6: remove double inclusion in Makefile.dep
2016-08-30 16:33:28 +02:00
BytesGalore
fa475a6730
Merge pull request #5781 from kaspar030/add_ltoflags_to_riotbuild.h
...
make: add LTOFLAGS to CFLAGS used to generate riotbuild.h
2016-08-30 14:41:53 +02:00
c9d725ac0c
dist: tools: genconfigheader.sh: include LTOFLAGS as comment if set
2016-08-30 14:17:32 +02:00
Oleg Hahm
9d5e601bad
Merge pull request #5779 from OlegHahm/no_wchar_warnings
...
cpu: cortex-M: disable wchar warnings
2016-08-30 09:30:50 +02:00
Oleg Hahm
00dd2fdcd8
sys: newlib: conditionally ignore wchar warning
...
For certain versions of newlib this warning is ignored.
2016-08-30 09:04:01 +02:00
Oleg Hahm
6d65494ae9
Merge pull request #5778 from cgundogan/pr/vagrant/new_ubuntu
...
vagrant: use ubuntu 16.04 LTS
2016-08-29 19:02:28 +02:00
Joakim Nohlgård
455fb6cd4d
Merge pull request #5742 from kaspar030/fix_lto
...
LTO fixes
2016-08-29 19:00:09 +02:00
d1198b489d
cpu: k60: rename vector.c -> vectors.c, add to SRC_NOLTO
2016-08-29 17:29:53 +02:00
76fc7a56c9
cpu: kw2x: rename vector.c -> vectors.c, add to SRC_NOLTO
2016-08-29 17:29:45 +02:00
Cenk Gündoğan
0ffa3c69f9
vagrant: use ubuntu 16.04 LTS
2016-08-29 16:59:02 +02:00
Oleg Hahm
0703d80563
Merge pull request #5661 from OlegHahm/ccnl_update
...
pkg: ccn_lite update
2016-08-29 16:16:22 +02:00
5ab97fe38b
cpu: build cortexm vectors.c without LTO
2016-08-29 13:30:17 +02:00
5a03f08f91
cpu: cortexm_common: compile thread_arch.c without LTO
2016-08-29 13:30:17 +02:00
0bd2805b0c
cpu: cortexm_common: explicitly define isr_pendsv and isr_svc
2016-08-29 13:30:17 +02:00
25a6ef5273
core: sched: mark sched_run() as used
2016-08-29 13:30:17 +02:00
1f9a87972b
make: allow per-file conditional LTO compile
2016-08-29 13:30:17 +02:00
3bb782f864
boards/nucleo-common: add saul support for on-board user led and button
2016-08-29 10:56:54 +02:00
Ludwig Knüpfer
fcb08fac04
Merge pull request #5756 from kaspar030/remove_config
...
sys: remove config module
2016-08-27 10:17:51 +02:00
b3a061e0ab
sys: remove config module
2016-08-27 07:57:09 +02:00
Cenk Gündoğan
fbe84b20bf
Merge pull request #5771 from smlng/pr_rpl_fix_pfxlen
...
gnrc_rpl: fix prefix length
2016-08-25 18:00:01 +02:00
smlng
c1fe8d5d9d
gnrc_rpl: fix prefix length
2016-08-25 16:35:17 +02:00
Martine Lenders
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Aaron Sowry
5f71cc82fb
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-25 21:25:11 +12:00
Vincent Dupont
537d1d015a
stm32f2: exlude vendor headers from doxygen
2016-08-25 09:29:44 +02:00
kYc0o
932541678b
Merge pull request #5617 from jthacker/avr__uart_double_speed
...
cpu/atmega_common: Add support for double speed baud generator
2016-08-24 00:41:04 +02:00
Oleg Hahm
ee7b2e54f3
Merge pull request #5762 from makomi/fix/mag3110
...
drivers: mag3110: fix typo in header description
2016-08-21 15:44:41 +02:00