Joakim Gebart
c404bd97ad
k60: Add workaround for errata e4218
...
e4218: SIM/FLEXBUS: SIM_SCGC7[FLEXBUS] bit should be cleared when the
FlexBus is not being used.
Errata type: Errata
Description:
The SIM_SCGC7[FLEXBUS] bit is set by default. This means that the
FlexBus will be enabled and come up in global chip select mode. With
some code sequence and register value combinations the core could
attempt to prefetch from the FlexBus even though it might not actually
use the value it prefetched. In the case where the FlexBus is
unconfigured, this can result in a hung bus cycle on the FlexBus.
Workaround:
- If the FlexBus is not being used, disabled the clock to the FlexBus
during chip initialization by clearing the SIM_SCGC7[FLEXBUS] bit.
- If the FlexBus will be used, then enable at least one chip select as
early in the chip initialization process as possible.
2015-10-25 15:12:22 +01:00
Ludwig Knüpfer
01b3486edc
boards: add ADC definitions to periph_conf
2015-10-25 14:30:35 +01:00
Ludwig Knüpfer
73d21efe7d
cpu/nrf51: add ADC driver
2015-10-25 14:30:14 +01:00
Joakim Nohlgård
1e35b1abe9
Merge pull request #4146 from LudwigKnuepfer/pr/s_tiemr_timer
...
cpu/nrf51 + boards: fix typo - TIEMER -> TIMER
2015-10-25 09:04:15 +01:00
Joakim Nohlgård
97189b6541
tests/xtimer_drift: Introduce drift test application.
...
The xtimer_drift test application can be used to measure the drift of
the xtimer subsystem when referenced against the wall clock or,
preferably, a PC with NTP synchronized clock as reference.
2015-10-25 08:33:51 +01:00
Ludwig Knüpfer
0b5918003f
cpu/nrf51 + boards: fix typo - TIEMER -> TIMER
2015-10-25 08:07:21 +01:00
Cenk Gündoğan
6dc27059aa
Merge pull request #4141 from OlegHahm/ping_simplify_param_parsing
...
shell: simplify ping6 parameter parsing
2015-10-24 15:19:57 +02:00
Johann Fischer
f31db0431f
Merge pull request #4132 from jfischer-phytec-iot/pr@kinetis-ldscript
...
kinetis_common: use cortexm_common ldscript
2015-10-24 09:59:38 +02:00
Joakim Nohlgård
cb95954a15
Merge pull request #4130 from jfischer-phytec-iot/fix@pit-xtimer
...
kinetis_common: cleanup and fix the (pit) timer
2015-10-23 20:51:17 +02:00
Oleg Hahm
025c85f8dc
shell: simplify ping6 parameter parsing
...
Removes some duplication.
2015-10-23 14:59:06 +00:00
Cenk Gündoğan
855a669ef4
Merge pull request #4139 from jfischer-phytec-iot/pr@git-ignore
...
gitignore: add ctags index file and gdb initialization script
2015-10-23 14:13:50 +02:00
Johann Fischer
b355c69f09
gitignore: add ctags index file and gdb initialization scripts
2015-10-23 12:06:31 +02:00
Johann Fischer
e95afc80fb
kinetis_common: use cortexm_common ldscript
...
kinetis.ld includes cortexm_common ldscript, the fields for the
isr vectors and fcfield remain in kinetis.ld.
2015-10-23 12:01:22 +02:00
Johann Fischer
f0e7d2fc03
cpu/kinetis_common/timer.c: cleanup and fix the pit timer
...
It simplifies the virtual "count up timer" and improves
the accuracy a little. The LDVAL for the prescaler should
be set as a number of prescaler cycles-1. The virtual
up-counter should be corrected in the isr by +1
(See PIT reference manual). This also fixes a bug where
the timer is not used by xtimer and up-counter does not overflow.
2015-10-23 11:58:10 +02:00
Hauke Petersen
13fcefb638
s cpu: moved pwm_conf_[chan_]t to periph_cpu.h
2015-10-23 11:41:04 +02:00
Hauke Petersen
83b322f9ce
s board: fixes
...
- moved pwm_conf[_chan]_t to periph_cpu.h
- fixed comments for channel definitions
2015-10-23 11:41:04 +02:00
Hauke Petersen
d70d59592e
boards/samr21-xpro: adjusted PWM pin configuration
2015-10-23 11:41:04 +02:00
Hauke Petersen
fe6b3e7d54
cpu/samd21: optimized pin config for PWM driver
2015-10-23 11:41:04 +02:00
Hauke Petersen
d8cefaf97f
Merge pull request #4080 from thomaseichinger/pr/openmote-fix-flasher
...
boards/openmote: This board *doesn't* use openocd
2015-10-23 11:16:40 +02:00
Peter Kietzmann
835c2db5a5
Merge pull request #3135 from jfischer-phytec-iot/pr@tcs37727
...
Driver for TCS3772 Color Light-to-Digital Converter
2015-10-23 10:05:31 +02:00
Cenk Gündoğan
054bca637c
Merge pull request #3737 from cgundogan/pr/rpl/instance_dodag_refactoring
...
rpl: refactoring of instances and dodags
2015-10-22 16:55:46 +02:00
Cenk Gündoğan
40e504de65
nc: use xtimer for gnrc_ipv6_nc_t::type_timeout
2015-10-22 15:55:46 +02:00
Cenk Gündoğan
9faa50201b
Merge pull request #4050 from authmillenon/gnrc_pktbuf_static/enh/stats-chunk-addr
...
gnrc_pktbuf_static: print chunk addresses in stats
2015-10-22 15:53:12 +02:00
Peter Kietzmann
8a63bb43ec
Merge pull request #4135 from haukepetersen/add_srf08_deps
...
drivers: added dependencies for srf08
2015-10-22 13:29:14 +02:00
Johann F
a3e187e767
tests/driver_tcs37727: initial commit for tcs37727 driver test
2015-10-22 12:06:35 +02:00
Johann F
c6cec830f9
drivers/tcs37727: initial commit for tcs37727 driver
...
The driver supports lux and ct calculation and autogain funktion.
2015-10-22 12:05:19 +02:00
Peter Kietzmann
c59f2450a7
Merge pull request #4133 from gebart/pr/mulle-xtimer-init
...
mulle: Initialize xtimer early to support nvram usage in board_init
2015-10-22 11:49:02 +02:00
Peter Kietzmann
a29e99dbb1
Merge pull request #4099 from authmillenon/timex/api/usec_to_ns
...
timex: introduce USEC_IN_NS constant
2015-10-22 11:13:11 +02:00
Hauke Petersen
7a91be7c93
drivers: added dependencies for srf08
2015-10-22 11:06:38 +02:00
Peter Kietzmann
24a82833f1
Merge pull request #4128 from haukepetersen/opt_boards_makefeat
...
boards: cleaned up entries in Makefile.features
2015-10-22 11:05:45 +02:00
Peter Kietzmann
2aa8c9f4a1
Merge pull request #4127 from haukepetersen/opt_makedep_dri
...
make: moved driver deps to drivers/Makefile.dep
2015-10-22 11:03:19 +02:00
Peter Kietzmann
97dc546be1
Merge pull request #4131 from gebart/pr/periph-timer-doxyfix
...
periph/timer: Fix Doxygen module grouping
2015-10-22 10:57:58 +02:00
Joakim Nohlgård
043deca350
mulle: Initialize xtimer early to support nvram usage in board_init
2015-10-22 07:54:25 +02:00
Daniel Amkær Sørensen
6040531ae1
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
2015-10-22 07:05:33 +02:00
Martine Lenders
cffdb1c8e2
timex: introduce USEC_IN_NS constant
2015-10-21 19:45:58 +02:00
Cenk Gündoğan
d64fdbba3a
rpl: refactoring of instances and dodags
2015-10-21 18:02:16 +02:00
Peter Kietzmann
fc539573a4
Merge pull request #3485 from gebart/pr/mulle-nvram
...
mulle: Initialize NVRAM storage at boot, update boot counter
2015-10-21 18:01:23 +02:00
BytesGalore
df54d2dbfb
Merge pull request #4073 from cgundogan/pr/rpl/shell_cleanup_fix
...
sys/shell/commands/sc_gnrc_rpl: don't calculate cleanup timer twice
2015-10-21 17:29:30 +02:00
Peter Kietzmann
020d708683
Merge pull request #4112 from dkm/patch-1
...
servo ctor fix
2015-10-21 17:24:59 +02:00
Joakim Nohlgård
4c6e8769f6
periph/timer: Fix Doxygen module grouping
2015-10-21 16:53:55 +02:00
Hauke Petersen
528e832c90
boards: cleaned up entries in Makefile.features
2015-10-21 16:45:21 +02:00
Hauke Petersen
0399995305
make: moved driver deps to drivers/Makefile.dep
2015-10-21 15:18:12 +02:00
Joakim Nohlgård
30584a49e5
cortexm-common: Workaround for error: r7 cannot be used in asm here
...
Fixes https://github.com/RIOT-OS/RIOT/issues/4125
2015-10-21 14:35:02 +02:00
Hauke Petersen
c24028f408
boards/samr21-xpro: rm unused radio interface defs
2015-10-21 14:14:06 +02:00
Cenk Gündoğan
71a3cc1779
Merge pull request #4120 from cgundogan/pr/gnrc_ipv6_nc/doc_fix_minor
...
nc: minor doc fix
2015-10-20 22:57:53 +02:00
Cenk Gündoğan
0146c1b1b9
netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout
2015-10-20 22:55:12 +02:00
Cenk Gündoğan
f796f6339c
nc: minor doc fix
2015-10-20 22:02:21 +02:00
Marc Poulhiès
0464892aee
drivers/servo: fix initialization
...
The pwm to initialize must be read from arguments.
2015-10-20 21:41:35 +02:00
Martine Lenders
390e6c0e9a
Merge pull request #4118 from cgundogan/pr/gnrc_ipv6/nc_unused_timer
...
nc: remove unused rtr_sol_timer
2015-10-20 20:53:00 +02:00
Cenk Gündoğan
beb3321132
nc: remove unused rtr_sol_timer
2015-10-20 19:05:42 +02:00