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

21659 Commits

Author SHA1 Message Date
Martine Lenders
51626a48d4 netdev: document valid values for iolist in send() 2019-03-15 11:34:19 +01:00
71204d1d70
Merge pull request #9830 from bergzand/pr/usb/usbdev
usbdev: Introducing a generic USB device driver API
2019-03-14 22:48:47 +01:00
9af6c69a93
usbdev: Introduce a common API for USB peripherals
This commit adds usbdev, a common API to interface USB peripheral
devices. The API is split into two parts, one for the USB device itself
and one for the USB endpoint.
2019-03-14 21:44:56 +01:00
30c8d97092
usbopt: Add usb control operation enum
Add usbopt, a number of defines to control USB peripheral device
settings. Options are split into settings for USB devices and USB
endpoints.
2019-03-14 21:40:05 +01:00
f52d0c7c53
usb: Add defines for USB peripheral devices 2019-03-14 21:39:57 +01:00
Francisco Acosta
cff2b5e23f
Merge pull request #9499 from maribu/arduino-nano
boards/arduino-nano: Support for the Arduino Nano
2019-03-14 16:03:45 +01:00
bee2f0bcc7
Merge pull request #11180 from kaspar030/riotboot_use_epoch_as_default_version
riotboot: use epoch as APP_VER default
2019-03-14 16:01:00 +01:00
Marian Buschsieweke
0e90e6195f
tests: Updated Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 15:39:54 +01:00
Marian Buschsieweke
31f84e655c
Merge pull request #11183 from leandrolanzieri/pr/drivers/ds3234_doxy_group
drivers/ds3234: Fix doxygen group
2019-03-14 15:36:39 +01:00
Leandro Lanzieri
e98de1a91a drivers/ds3234: Fix doxygen group 2019-03-14 14:32:28 +01:00
Leandro Lanzieri
94a10e9e10
Merge pull request #11132 from MichelRottleuthner/pr_sx127x_add_gpio_pull_config
drivers/sx127x: add gpio pull config define for DIO pins
2019-03-14 14:05:56 +01:00
Marian Buschsieweke
e14bea1cf5
examples: Updated BOARD_INSUFFICIENT_MEMORY
Added arduino-nano to BOARD_INSUFFICIENT_MEMORY/BOARD_BLACKLIST following suit
of how arduino-uno is marked, as arduino-nano is mostly an Uno in a different
form factor.
2019-03-14 13:58:45 +01:00
Marian Buschsieweke
e4ebbaf59f
boards: Add support for the Arduino Nano
The Arduino Nano board is the cheapest member of the Arduino family and used the
same MCU as the Arduino Uno. It differs in the form factor (the Nano is much
smaller), it uses an integrated FT232RL TTL adapter instead of an ATmega16u2 to
provide access to the serial console via USB, and it uses a different
bootloader (which occupies 2 KiB of the 32 KiB flash instead of 0.5 KiB occupied
on the Arduino Uno). This commit mostly copy pastes code from the Arduino Uno.
2019-03-14 13:54:38 +01:00
09a40fb6fc riotboot: use epoch as APP_VER default 2019-03-14 12:04:56 +01:00
Francisco Acosta
0f4e51d543
Merge pull request #11130 from cladmi/pr/make/flashfile/jlink
makefiles/tools/jlink.inc.mk: use FLASHFILE
2019-03-14 12:01:02 +01:00
e3b10e3d7d
Merge pull request #10343 from MrKevinWeiss/pr/fixnucleol1flasher
boards/stm32l0: Fix openocd to prevent flash locking
2019-03-14 10:27:02 +01:00
Francisco Acosta
de720730f6
Merge pull request #11127 from bergzand/pr/nrf52/ref_ldscripts
nrf52: use cortexm.ld script when applicable
2019-03-13 19:41:13 +01:00
Emmanuel Baccelli
8969fd32e9
Merge pull request #11080 from kaspar030/add_pyboard
boards: add pyboard v1.1 support
2019-03-13 17:07:40 +01:00
Juan I Carrano
999ef3bc53
Merge pull request #10952 from cladmi/pr/bug/testrunner/matching_local_echo
[BUG] testrunner matching local echo
2019-03-13 15:46:39 +01:00
Juan I Carrano
4af354852b
Merge pull request #11170 from haukepetersen/fix_nrf52840_dmafromrom
cpu/nrf52840: fix UART DMA when data is in ROM
2019-03-13 14:30:20 +01:00
Hauke Petersen
91057de140 cpu/nrf52840: fix UART DMA when data is in ROM 2019-03-13 13:05:36 +01:00
Gaëtan Harter
a3df00ca17
makefiles/mcuboot.mk: remove compatibility with old ldscript
Linkerscript for `nrf52dk` has been updated to use `cortexm.ld` so does
not need the configuration anymore for the removed
`cpu/nrf52/ldscripts/nrf52832xxaa.ld`.
2019-03-13 11:57:45 +01:00
3163b8d6e2
nrf52: use cortexm.ld script when applicable
The common linker script is not used when the nordic_softdevice_ble is
included
2019-03-13 11:57:44 +01:00
Gaëtan Harter
1e1611c50a
makefiles/mcuboot.mk: prepare for using cortexm.ld
Prepare mcuboot for changing `nrf52` to use `cortexm.ld`. It sets the
offset for linking the image.
2019-03-13 11:57:40 +01:00
49807f1fbb
Merge pull request #11159 from fjmolinas/cpu_stm32l1_pm
cpu/stm32l1: add stop and standby modes, adds pm_layered
2019-03-13 10:41:36 +01:00
Hauke Petersen
e8d06baebf
Merge pull request #10926 from kb2ma/gcoap/opt_finish_in_apps
examples: use coap_opt_finish() in gcoap based examples
2019-03-13 10:26:45 +01:00
francisco
e254235265 cpu/stm32_common: set ULP and regulator LP during stop/standby 2019-03-13 09:57:21 +01:00
francisco
4dda8abecb cpu/stm32l1: add support for STOP & STAND_BY mode 2019-03-13 09:57:17 +01:00
Ken Bannister
34e880499e examples/cord_ep: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Ken Bannister
682c1e9a7d examples/cord_epsim: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
Ken Bannister
a8cbc19241 examples/gcoap: use coap_opt_finish() 2019-03-13 00:24:29 -04:00
297efdd5b2
Merge pull request #10892 from kb2ma/gcoap/use_opt_finish
net/gcoap: Replace use of gcoap_finish() with coap_opt_finish()
2019-03-12 22:16:32 +01:00
57e3a7c81c
Merge pull request #11167 from fjmolinas/stm32_common_wake_pin_2
cpu/stm32_common: remove WKUP2 pin enable
2019-03-12 18:11:07 +01:00
francisco
78c77c497a cpu/stm32_common: remove WKUP2 pin enable 2019-03-12 16:34:44 +01:00
Juan I Carrano
b50ad9ed4c
Merge pull request #11040 from kaspar030/fix_hifive1_reset
boards/hifive1: fix hifive1 reset
2019-03-12 14:59:36 +01:00
847dc3d55c cpu/fe310: implement pm_reset() using watchdog 2019-03-12 11:49:02 +01:00
b1a7d6093b boards/hifive1: add and use custom openocd reset command 2019-03-12 11:49:02 +01:00
3583b00750 dist/tools/openocd: make "reset run" command configurable
Co-Authored-By: jcarrano <juan@carrano.com.ar>
2019-03-12 11:49:02 +01:00
Juan I Carrano
f7cdbdaab0
Merge pull request #11145 from kaspar030/test_newlib_nano_path_empty
make: newlib: check if newlib nano folder was found
2019-03-11 14:55:10 +01:00
4dcd958dce
Merge pull request #10415 from maribu/encx24j600
drivers/encx24j600: Implemented missing drop case
2019-03-11 14:15:40 +01:00
Juan I Carrano
265a118841
Merge pull request #11109 from cladmi/pr/make/refactor/modules.inc.mk
makefiles/modules.inc.mk: refactoring
2019-03-11 13:10:18 +01:00
f4bb315db2
Merge pull request #11153 from kaspar030/fix_encx24j600_netopt_linkstate
drivers/encx24j600: lock dev in netopt get()
2019-03-11 12:52:27 +01:00
4c2749041b drivers/encx24j600: lock dev in netopt get() 2019-03-11 12:35:09 +01:00
Juan I Carrano
04a922b9e0
Merge pull request #10290 from gdoffe/motor_driver
drivers/motor_driver: driver for analogic H-bridge driving DC motors
2019-03-11 12:19:04 +01:00
Martine Lenders
3742c437a3
Merge pull request #11148 from gschorcht/pkg/lwip/log_error/pr
pkg/lwip: include log.h if module log is used
2019-03-11 08:43:00 +01:00
Gilles DOFFE
f3130a3a81 boards/nucleo64: add motor driver
Add motor_driver driver configuration example.
The most simple motor driver type is used here (MOTOR_DRIVER_1_DIR) which
needs only one pin to work.
This example uses already configured PWM channels and 2 free GPIOS.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
37cfd17de6 tests: add motor_driver test
Test motor_driver API by making 2 motors turn clockwise and
counter-clockwise alternatively.
Speed varies from 0 to max PWM duty cycle.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
3fd3eea5bc boards/native: add two factice motors with qdec simulation
Configure 2 factice motors in one motor_driver.
native_motor_driver_qdec_simulation() is provided to simulate QDEC encoders
virtually linked to the motors.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
ffad5048fc boards/native: update doc.txt
Add PWM and QDEC peripheral description.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
d04c21bb8b boards/native: add qdec simulation callback
native_motor_driver_qdec_simulation() callback is called each time
motor_set() from motor_driver driver is called.
It set associated qdec value to the PWM duty cycle.
QDEC values are stored in qdecs_value[] array in the order motors
are described in board.h.
Then it is needed to configure in first motors that needs the QDEC in
board.h.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00