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
Gaëtan Harter
9bf7d5bb1a
tools/avrdude.inc.mk: use FLASHFILE variable
...
Update to use FLASHFILE as file to be flashed on the board.
2019-03-14 18:16:43 +01:00
francisco
026f7dc4a4
boards/stm32lx: use openocd dual bank if possible
2019-03-14 18:10:27 +01:00
Gunar Schorcht
5a782fe3b5
cpu/esp_common: esp_now doesn't call memcpy if iol_len is 0
2019-03-14 17:08:18 +01:00
Gunar Schorcht
06c59784b5
cpu/esp32: esp_eth doesn't call memcpy if iol_len is 0
2019-03-14 16:57:26 +01:00
Gaëtan Harter
702db3468d
msba2: compile 'lpc2k_pgm' when flashing
...
Add a rule to build `lpc2k_pgm` when flashing.
It is only compiled if it is using the one in `tools`.
If overwritten to `lpc2k_pgm` if it should be taken from the path,
it is not compiled.
The compilation is still done in `boards/common/msba2/tools` as it was
the case before and this commit does not address this.
2019-03-14 16:41:13 +01:00
Gunar Schorcht
ad57337c4e
cpu/esp32: esp_wifi doesn't call memcpy if iol_len is 0
2019-03-14 16:11:24 +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
Martine Lenders
b970d00064
gnrc_ipv6_nib: check if pkt is NULL on error
...
According to the documentation of `gnrc_ipv6_nib_get_next_hop_l2addr()`
`pkt` may be `NULL`. However, whenever that function sends an error
message (the methods for that require `orig_pkt` not to be NULL) `pkt`
is not checked, which may lead to failed assertions.
2019-03-14 14:29:13 +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
005710effb
nrf52: include riotboot feature when possible
...
The riotboot feature is not compatible with the nordic_softdevice_ble
package at the moment
2019-03-14 12:03:39 +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
Gunar Schorcht
55f433103b
cpu/msp430_common: set top of heap for sbrk
...
Set __heap_end to current SP before entering thread mode to make the remaining RAM available as heap for module oneway_malloc.
2019-03-13 13:30:56 +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
Martine Lenders
3582dedd4e
gnrc_sixlowpan_iphc: check ptr != NULL in compressible check
...
Not only does this leave open a risk to crash the node for the check
in `_compressible()` but also is the `tmp` check below getting confused
when `ptr` is `NULL`, since `gnrc_pktbuf_start_write()` returns `NULL`
in that case.
2019-03-12 16:48:33 +01:00
francisco
78c77c497a
cpu/stm32_common: remove WKUP2 pin enable
2019-03-12 16:34:44 +01:00
069a1f6e8b
sys/xtimer: make xtimer_mutex_lock_timeout() actually use us arg
2019-03-12 16:09:04 +01:00
b650f355c7
nrf802154: Add rssi/lqi to received frames
...
LQI calculation following the instructions from the datasheet. RSSI
calculation appears to only require the offset and not the scaling
factor
2019-03-12 15:11:13 +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
Martine Lenders
4f733840c6
gnrc_pktbuf_malloc: allow write-protect of size 0 snips
...
Size 0 snips are legal packet snips (empty payload e.g.) so it doesn't
make sense to issue an error in the write-protection in that case.
API documentation doesn't mention it either and the tests still pass
with the check removed.
2019-03-12 14:35:58 +01:00
Martine Lenders
efb658a67c
gnrc_pktbuf_static: allow write-protect of size 0 snips
...
Size 0 snips are legal packet snips (empty payload e.g.) so it doesn't
make sense to issue an error in the write-protection in that case.
API documentation doesn't mention it either and the tests still pass
with the check removed.
2019-03-12 14:34:49 +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
87a81d224a
murdock: pass on makefile error in get_app_board_toolchain_pairs()
2019-03-12 11:29:31 +01:00