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

16980 Commits

Author SHA1 Message Date
Gilles DOFFE
6b2e9ff426 boards/nucleo-f401: add qdec
Use TIM3 (PA6 and PA7 pins) and TIM4 (PB6 and PB7 pins) timers.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-24 18:06:33 +01:00
Gilles DOFFE
d5488d108e boards/native: add qdec
Add periph_qdec to native native board features.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:38 +01:00
Gilles DOFFE
bee493ac71 cpu/stm32_common: add qdec implementation
* Add support for the STM32 encoder interface
* The STM32 only supports X2 and X4 modes.
* Enable interrupt handler on counter overflow
* Add simple test code for QDEC based on nucleo-f401 board

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:26 +01:00
Gilles DOFFE
07158755ea cpu/native: add qdec implementation
* Add support for the native encoder interface
* Native QDEC is there mostly for simulation
* Calling code will have to simulate QDEC increment/decrement

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:16:42 +01:00
Gilles DOFFE
58b7ed3fa9 drivers: add periph_qdec
QDEC interface enables access to CPU peripherals acquiring quadrature
signals.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 21:40:15 +01:00
Bas Stottelaar
f8070edb05
Merge pull request #8624 from gebart/pr/efm32-adc-res-undef
efm32: Use different values for each unsupported ADC res
2018-02-23 17:03:41 +01:00
Martine Lenders
f5b65abb30
Merge pull request #8622 from miri64/gnrc_netreg/fix/revert-8517-partly
gnrc_netreg: Revert #8517 partly
2018-02-23 12:29:26 +01:00
2d6f34d113
Merge pull request #8617 from jia200x/pr/cxxflags
make: add flag for no-implicit-fallthrough in CXXFLAGS
2018-02-23 09:49:27 +01:00
Joakim Nohlgård
d4e5bea0a3 efm32: Use different values for each unsupported ADC res 2018-02-23 09:36:57 +01:00
bc9fb40c10
Merge pull request #8618 from basilfx/bugfix/efm32_typo
cpu: efm32: fix typo in cpus.txt
2018-02-22 23:12:23 +01:00
de75eb8111
Merge pull request #8620 from smlng/fix/sys/can
sys/can: fix compiler warning due to usage of potentially uninitialized variables
2018-02-22 22:04:47 +01:00
Martine Lenders
2316d336da gnrc: keep speed optimizations of c2b403f4 2018-02-22 20:40:59 +01:00
Martine Lenders
467e9548cf gnrc_netreg: optimize gnrc_netreg_num() to use _netreg_lookup() 2018-02-22 20:39:23 +01:00
Martine Lenders
dbda759b40 Revert "gnrc/netreg: remove usages of gnrc_netreg_num"
This reverts commit c2b403f4ad.
2018-02-22 20:30:03 +01:00
Martine Lenders
2757f1d7dd Revert "unittests: adapt tests-netreg"
This reverts commit a7b7789388.
2018-02-22 20:29:55 +01:00
Martine Lenders
49f80b7cf1 Revert "gnrc/netreg: remove gnrc_netreg_num"
This reverts commit c178ea8798.
2018-02-22 20:28:32 +01:00
Ken Bannister
d7004ebcd8
Merge pull request #8513 from kaspar030/nanocoap_add_context_to_resources
nanocoap: add context pointer to resources
2018-02-22 18:30:43 +00:00
smlng
18bccb55e3 sys/can: reduce scope of variable 2018-02-22 19:13:39 +01:00
smlng
b46b24b34f sys/can: init variables before usage 2018-02-22 19:12:41 +01:00
Vincent Dupont
ea7e08604c
Merge pull request #8500 from aabadie/pr/stm32l0_openocd_config
boards/b-l072z-lrwan1/dist: fix openocd reset_config options
2018-02-22 16:21:51 +01:00
Bas Stottelaar
11638eb1d6 cpu: efm32: fix typo in cpus.txt 2018-02-22 15:38:13 +01:00
Bas Stottelaar
e092144307
Merge pull request #8585 from basilfx/feature/efm32_stk3600_v2
boards: stk3600: add support (v2)
2018-02-22 15:34:20 +01:00
1f49c0dda2
Merge pull request #8604 from gebart/pr/sx127x-uninitialized
drivers/sx127x: Fix -Wmaybe-uninitialized warning
2018-02-22 14:43:53 +01:00
f42242a2ef
Merge pull request #8605 from aabadie/pr/saul_sense
drivers/saul: add UV and distance sense options
2018-02-22 14:38:25 +01:00
Jose Alamos
67cbcfb588 make: add flag for no-implicit-fallthrough in CXXFLAGS 2018-02-22 14:28:22 +01:00
jia200x
520852f616
Merge pull request #8616 from aabadie/pr/fix_openthread_build
pkg/openthread: cleanup makefile + fix implicit-fallthrough warning
2018-02-22 14:27:17 +01:00
78078b3f28 drivers/saul: add UV and distance sense options 2018-02-22 11:34:44 +01:00
dfc89d0256 pkg/openthread: cleanup + fix implicit-fallthrough warning 2018-02-22 09:14:25 +01:00
ec51117305
Merge pull request #8609 from aabadie/pr/fix_sx127x_test
tests/driver_sx127x: fix setup issue
2018-02-22 09:02:29 +01:00
Joakim Nohlgård
73c85ccff4 drivers/sx127x: Fix -Wmaybe-uninitialized warning 2018-02-22 08:44:16 +01:00
Bas Stottelaar
9b1af9dadd boards: stk3600: add support 2018-02-21 19:16:49 +01:00
Bas Stottelaar
864839cb90 cpu/efm32: efm32lg: add support 2018-02-21 19:16:49 +01:00
Bas Stottelaar
1e3fdce1d7 cpu/efm32: efm32lg: add vendor headers 2018-02-21 19:16:49 +01:00
Joakim Nohlgård
745f1fc38f
Merge pull request #8365 from beduino-project/fix-clang-5.0-build
makefiles: always link with GCC even if TOOLCHAIN is set to LLVM
2018-02-21 15:13:57 +01:00
e5a5978a6d
Merge pull request #8606 from aabadie/pr/fix_drivers_include_indent
drivers: fix indentation in Makefile.include
2018-02-21 13:14:33 +01:00
587299d0e3 tests/driver_sx127x: fix setup issue 2018-02-21 13:13:51 +01:00
Sören Tempel
55b026b349 Makefile.include: Introduce LINKXX variable
This variable can be used to specify the linker which should be used to
link C++ object files. This is needed in order to use g++ for linking
with TOOLCHAIN=llvm.
2018-02-21 12:26:20 +01:00
Sören Tempel
18f99ef708 makefiles: always link with gcc even if TOOLCHAIN is set to LLVM
Fixes #8356
2018-02-21 12:26:20 +01:00
33b0b7592f
Merge pull request #8608 from smlng/pkg/gecko/fix
pkg: fix compile errors in gecko_sdk and umorse
2018-02-21 11:50:48 +01:00
smlng
8e151e9f0c pkg/umorse: fix missing posix defines for usleep 2018-02-21 11:44:27 +01:00
smlng
218dc728e5 pkg/gecko_sdk: fix compile error 2018-02-21 11:25:20 +01:00
88bc7ccd6f drivers: fix indentation in Makefile.include
- soft_spi was using a 4 spaces indentation, but only 2 are required
2018-02-21 10:38:19 +01:00
8b43659230
Merge pull request #8597 from bergzand/pr/tests/emb6-feat-req
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile
2018-02-21 09:40:19 +01:00
Joakim Nohlgård
278ac297b8
Merge pull request #8603 from kaspar030/disable_fallthrough_warning
make: always set -Wno-implicit-fallthrough
2018-02-20 17:22:50 +01:00
1c091cc462 make: always set -Wno-implicit-fallthrough 2018-02-20 15:45:18 +01:00
490a72ee5a
Merge pull request #8599 from kaspar030/remove_benchmark_setup
sys/benchmark: remove BENCHMARK_SETUP()
2018-02-20 10:30:11 +01:00
5efd9599e0 sys/benchmark: remove BENCHMARK_SETUP() 2018-02-20 10:10:13 +01:00
a5dff84b79
Merge pull request #8578 from kaspar030/edbg_reset
tools: edbg: use for resetting
2018-02-19 22:14:10 +01:00
1d716befc8
tests/emb6: remove obsolete FEATURES_REQUIRED from makefile 2018-02-19 21:07:15 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00