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

11898 Commits

Author SHA1 Message Date
b2b42c7b71 Merge pull request #5451 from mali/uno
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
5b8cfb0b58 boards/arduino-common: use software interrupt for context swap 2016-09-21 22:44:05 +02:00
Ludwig Knüpfer
6d30ced410 Merge pull request #5763 from jthacker/avr_thread_arch_isr_stack_usage
atmega: use software interrupt for context swap
2016-09-21 21:13:05 +02:00
Laurent Navet
3ff576e46a tests: adapt for arduino uno and duemilanove support
- blacklist arduino-uno and arduino-duemilanove for
  coap, libfixmath_unittests, lwip, nhdp,
  pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
  pthread_cooperation, pthread_rwlock and pthread_tls tests.

- fix sys/pipe build

- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +02:00
Laurent Navet
80cf8389a8 boards: add arduino uno and duemilanove support
Uno and Duemilanove(atmega328p version) are nearly the same boards.
The only difference is that the Duemilanove use an FTDI usb chip,
while the Uno use an Atmel which acts as USB/Serial converter.
All of the code needed to support these boards is in arduino-common.
2016-09-21 21:11:01 +02:00
Martine Lenders
03a82bc295 Merge pull request #5857 from smlng/pr/tests/driver_at86rf2xx/fix
tests/driver_at86rf2xx: corrects flag compare
2016-09-21 18:01:36 +02:00
smlng
671831d326 corrects flag compare 2016-09-21 16:51:12 +02:00
Sebastian Meiling
8234a0029d Merge pull request #5853 from cgundogan/pr/vagrant
vagrant: minimize Vagrantfile and make it loadable
2016-09-21 10:40:50 +02:00
Cenk Gündoğan
9457703607 vagrant: minimize Vagrantfile and make it loadable
By parameterizing certain paths with `RIOTBASE`, it is possible to load
this Vagrantfile from other Vagrantfiles. This feature will be used by the
Tutorials repository, so that this Vagrantfile has no knowledge about
the tutorials, hence the deletion of the `tutorials` definition at this
place.
2016-09-21 10:22:35 +02:00
Joakim Nohlgård
6be334b4f4 Merge pull request #5833 from immesys/fix-i2c-checks
samd21: i2c: check all busstate bits
2016-09-20 10:06:40 +02:00
Michael Andersen
e367ab93f6 samd21: i2c: improve busstate comparison 2016-09-19 10:54:17 -07:00
Joakim Nohlgård
0a15d1b2ed Merge pull request #5838 from gebart/pr/nucleo-f207-mcu-group
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-19 12:55:29 +02:00
Joakim Nohlgård
d9d0646545 Merge pull request #5850 from smlng/pr/dist_fix_readme
minor typos in README corrected
2016-09-19 12:54:54 +02:00
smlng
f9432cef4b minor typos in README corrected 2016-09-19 12:09:46 +02:00
Sebastian Meiling
0d901c410f Merge pull request #5846 from cgundogan/pr/vagrantfile_tutorial
vagrant: sync Tutorials folder into vbox
2016-09-16 18:10:20 +02:00
Sebastian Meiling
77f8aabec1 Merge pull request #5847 from cgundogan/pr/vagrant_file_provisioner
vagrant: prevent error by checking existence of .gitconfig
2016-09-16 17:47:58 +02:00
Joakim Nohlgård
ee486fd908 Merge pull request #5794 from smlng/pr/fix_osx_5742
correcting linker LTO flags on OSX
2016-09-16 17:37:52 +02:00
Cenk Gündoğan
f41f7bd8ff vagrant: prevent error by checking existence of .gitconfig 2016-09-16 17:15:24 +02:00
Joakim Nohlgård
8160717485 boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP 2016-09-16 17:07:14 +02:00
Cenk Gündoğan
c767f27168 vagrant: sync Tutorials folder into vbox 2016-09-16 16:32:20 +02:00
Cenk Gündoğan
674f7a1cf9 Merge pull request #5843 from smlng/pr/boards/nucleo-f207/fixing_cpp11
nucleo-f207: fix uart configuration init
2016-09-16 12:10:04 +02:00
add6e1d36d Merge pull request #5674 from aabadie/driver_io1_xplained
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
smlng
20fd33c927 nucleo-f207: fix uart configuration init 2016-09-15 13:43:57 +02:00
Martine Lenders
8a74475e70 Merge pull request #5761 from mali/rmdeadcode
boards/atmega_common: remove dead code on link
2016-09-12 17:01:15 +02:00
Martine Lenders
03fbe9c2a5 Merge pull request #5766 from zhuoshuguo/fix_cpu_atmega_header_include_guards
fix cpu/atmega header include guardes.
2016-09-12 17:00:56 +02:00
Martine Lenders
55a08aeb59 Merge pull request #5827 from miri64/make/enh/quiet-per-default
make: build quiet as default
2016-09-12 16:59:59 +02:00
smlng
291c1a54eb native: correcting linker LTO flags for OSX
- corrects and enhances changes introduced in #5742
2016-09-12 15:41:38 +02:00
Martine Lenders
9cb73dd63f Merge pull request #5832 from immesys/patch-1
samd21: i2c: clear timeout_counter
2016-09-12 15:08:06 +02:00
Martine Lenders
b5f22a73ef Merge pull request #5836 from gebart/pr/quiet-typo
Makefile.buildtests: Fix typo QUITE -> QUIET
2016-09-12 14:26:51 +02:00
Martine Lenders
d301ae279b Merge pull request #5839 from cgundogan/pr/ccnl_example_docfix
examples: ccn-lite-relay: minor doc fix
2016-09-12 13:50:29 +02:00
Cenk Gündoğan
c0f05a8a88 examples: ccn-lite-relay: minor doc fix 2016-09-11 22:39:20 +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
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
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