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

21727 Commits

Author SHA1 Message Date
80b337b756
boards/iotlab: update lps331ap device addr define
The default address is the same one
2019-03-20 14:43:36 +01:00
5338d0403f
sys/auto_init: rename lps331ap to lpsxxx unified version 2019-03-20 14:43:36 +01:00
f3b7b6066a
tests/driver_lpsxx: use new unified driver 2019-03-20 14:43:36 +01:00
1f4dee90a1
drivers/lpsxxx: unify lps331ap and lps25h drivers 2019-03-20 14:43:36 +01:00
Hauke Petersen
c0819c7a46
Merge pull request #11216 from haukepetersen/opt_nimble_verbump
pkg/nimble: bump version to a7b3c93
2019-03-20 14:13:02 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Hauke Petersen
4ec250b24f pkg/nimble: bump version to a7b3c93
- version update to a7b3c93
- remove patches (merged to changes to nimble upstream)
- adapt initialization order to upstream changes
2019-03-20 13:36:00 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Gaëtan Harter
31c21e4165
Merge pull request #11165 from kaspar030/fix_xtimer_lock_timeout
sys/xtimer: make xtimer_mutex_lock_timeout() actually use us arg
2019-03-20 12:29:41 +01:00
Hauke Petersen
8216c9397a
Merge pull request #11096 from haukepetersen/add_board_reel
boards: add support for Phytec 'reel board'
2019-03-20 10:47:21 +01:00
Marian Buschsieweke
e7e9084c64
Merge pull request #11185 from cladmi/pr/make/msba2/compile_flasher
msba2: compile 'lpc2k_pgm' when flashing
2019-03-20 10:38:46 +01:00
Dylan Laduranty
c99c0f61ab
Merge pull request #11156 from jcarrano/update-edbg
tools/edbg: Update to latest version.
2019-03-19 21:36:28 +01:00
d7b3091abc
Merge pull request #9521 from OTAkeys/pr/stm32f0_pm
cpu/stm32f0: add periph_pm support
2019-03-19 18:26:00 +01:00
Vincent Dupont
7590d528b8 cpu/stm32f0: add pm_layered support 2019-03-19 17:53:12 +01:00
Vincent Dupont
e83f27140a cpu/stm32_common: refactor pm implementation 2019-03-19 17:51:19 +01:00
Juan I Carrano
5488c5fef6
Merge pull request #11129 from jcarrano/pkg-update-version
pkg/pkg.mk: make sure we are building the correct commit.
2019-03-19 14:05:56 +01:00
Martine Lenders
fb5a298c1f
Merge pull request #11193 from haukepetersen/rm_pkbuf_getiovec
net/gnrc_pktbuf: rm deprecated _pktbuf_get_iovec()
2019-03-19 11:52:14 +01:00
Juan Carrano
f8f229b6f7 pkg/pkg.mk: make sure we are building the correct commit.
Once the repo is downloaded, the version is not checked gain. This
means that even if a package's Makefile is touched, that will only
cause a rebuild of the previously downloaded version. For packages
that are normally not deleted, like edbg, this renders PKG_VERSION
bumps ineffective, unless the user manually deletes the repo
directory.

This patch fixes that by always checking that the repo is at the
right commit.
2019-03-19 11:49:41 +01:00
Kevin "Bear Puncher" Weiss
005275a1e9
Merge pull request #11205 from yegorich/pr/uart/stm32/fix-data-bits
cpu/stm32_common: use correct data bits macro
2019-03-19 10:17:56 +01:00
Kees Bakker
5cf23c8414
Merge pull request #11154 from ibr-cm/petersen/bmp180-fix-pr
bmp180: Fixes conversion bug
2019-03-18 21:25:29 +01:00
611d268ef5
Merge pull request #11202 from bergzand/pr/samd21/expose_pm_states
samd21: Expose PM states
2019-03-18 15:39:07 +01:00
Sebastian Meiling
29f7cd2840
Merge pull request #11198 from cladmi/pr/make/uniflash/updates
makefiles/tools/uniflash.inc.mk: add a common configuration for using UniFlash
2019-03-18 14:25:52 +01:00
ca5b5a6d0f
samd21: Expose numerical PM states 2019-03-18 13:44:26 +01:00
fb2c7eaec4
Merge pull request #11181 from kaspar030/add_riotboot_flashwrite
riotboot: add riotboot_flashwrite module
2019-03-18 11:15:25 +01:00
Torben Petersen
04d346667b drivers/bmp180: fix conversion 2019-03-18 09:43:39 +01:00
Andreas "Paul" Pauli
fbac2d47bb
Merge pull request #10397 from Josar/pr/test/xtimer_hang/separate_debug_pin
test/xtimer hang: separate debug pins
2019-03-18 02:10:22 +01:00
Yegor Yefremov
ca8f74a0b0 cpu/stm32_common: use correct data bits macro
USART_CR1_M combines both USART_CR1_M0 and USART_CR1_M1 macros
affecting bits 12 and 28 on 7 data bits capable UARTs. Whereas
for other UARTs USART_CR1_M macro affects only bit 12.

This patch fixes wrong data bits usage on 7 data bits capable
UARTs with using USART_CR1_M0 macro for modes 8-E-x and 8-O-x.

It also simplifies bits unsetting as USART_CR1_M macro clears
all data bits related bits for both UART types.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-03-17 18:58:34 +01:00
Ken Bannister
0bb0c55cd9
Merge pull request #11098 from leandrolanzieri/pr/sys/net/nanocoap-path_options
sys/net/application_layer/nanocoap: Add path prefix option
2019-03-17 10:34:50 -04:00
Leandro Lanzieri
1885e1dd55 examples/nanocoap_server: Add echo resource and fix README 2019-03-17 14:26:11 +01:00
Leandro Lanzieri
6bb4158c31 sys/net/application_layer/nanocoap: Add path prefix opt
This adds a prefix option for the methods field of a coap resource and
modifies the way the path is matched on a request to accept prefix
matching.
2019-03-17 14:26:11 +01:00
josar
254d25fc5a test/xtimer_hang: separate debug pins
Previously one pin was used for both slacker threads.
For better debugging seperating the threads to use one pin each is better.
2019-03-17 09:21:30 +01:00
9e9a51a3ea
Merge pull request #11196 from miri64/at86rf2xx/fix/i11163
at86rf2xx: don't call tx_load when iol->iol_len == 0
2019-03-16 13:26:27 +01:00
Gaëtan Harter
239d8a959d
makefiles/uniflash.inc.mk: update FFLAGS to use FLASHFILE
Update to use FLASHFILE as file to be flashed on the board.
2019-03-15 16:24:32 +01:00
Gaëtan Harter
6b904f5f3e
makefiles/uniflash.inc.mk: update xds110reset path
In UniFlash 4.4.0 the directory where 'xds110reset' is changed.
Try to use the newest one available. If none is found in UNIFLASH_PATH,
try to use one from the PATH to be sure to have a value.

./uniflash_4.1/simplelink/gen2/bin/xds110reset
./uniflash_4.3.0/simplelink/gen2/bin/xds110reset
./uniflash_4.4.0/simplelink/imagecreator/bin/xds110reset
./uniflash_4.5.0/simplelink/imagecreator/bin/xds110reset
2019-03-15 16:12:34 +01:00
Gaëtan Harter
edaaa78851
boards/cc2650: use the common uniflash configuration
The content is exactly the same.
2019-03-15 15:54:34 +01:00
Gaëtan Harter
f7ec4b7c8a
makefiles/uniflash.inc.mk: add common uniflash flasher
Put the uniflash flasher in common.
2019-03-15 15:53:58 +01:00
Gaëtan Harter
d2103b21ab
boards/cc2650stk: fix whitespace
Make it more similar to cc2650-launchpad
2019-03-15 15:39:42 +01:00
Martine Lenders
6611be5140 at86rf2xx: don't call tx_load when iol->iol_len == 0 2019-03-15 15:34:38 +01:00
Semjon Kerner
db589365f0
Merge pull request #11161 from miri64/gnrc_pktbuf/fix/start-write-size-0
gnrc_pktbuf: allow write-protect of size 0 snips
2019-03-15 15:10:59 +01:00
Semjon Kerner
7820a78d42
Merge pull request #11146 from bergzand/pr/nrf802154/fix_ifs
nrf802154: Fix IFS timings
2019-03-15 14:02:24 +01:00
Marian Buschsieweke
50e939e808
Merge pull request #11092 from benpicco/rssi_ping
shell_commands: include RSSI in ping output
2019-03-15 13:51:22 +01:00
658fb0651e
nrf802154: Disable hardware IFS handling 2019-03-15 13:39:09 +01:00
de2f193da3
nrf802154: Fix timer behaviour of the IFS timer
The timer_clear function doesn't clear the hardware timer counter, but
is designed to clear the allocation of the channel. The consequence is
that the IFS timer here is not set to zero in the callback, but only
stopped at the current value. When the timer is started again, it has to
count the full timer range until it matches the timeout value again.

This commit fixes this issue by using timer_set instead of
timer_set_absolute. This way the current timer value (when the timer is
stopped) is read and the IFS timeout value is added to the current timer
value.
2019-03-15 13:39:09 +01:00
8c4760050e
nrf802154: Change timer frequency to match symbols rate
ieee802.15.4 specifies 40 symbols as LIFS value and 12 symbols as SIFS
value. Furthermore, the 2.4Ghz DSSS mode has a symbol rate of
62.5Ksymbols/s. To have the LIFS and SIFS in the code match the timings
from the specification, the TIMER_FREQ must match the symbol rate of
62.5Ksymbol/s such that one tick of the timer equals one symbol in time.
2019-03-15 13:38:32 +01:00
Semjon Kerner
6c84b4126f
Merge pull request #11138 from bergzand/pr/nrf802154/fix_fcs_lifs
nrf802154: take FCS into account for lifs/sifs calculation
2019-03-15 13:10:39 +01:00
Semjon Kerner
a46927c990
Merge pull request #11195 from miri64/netdev/enh/send-iolist-doc
netdev: document valid values for iolist in send()
2019-03-15 13:09:18 +01:00
ccc09d9ed4
Merge pull request #11023 from miri64/gnrc_netif_ieee802154/enh/propagate-pend-frames
gnrc_netif_ieee802154: propagate pend. frame flag to stack
2019-03-15 12:51:50 +01:00
Semjon Kerner
112e9fcb69
Merge pull request #11123 from miri64/gnrc_netif/enh/queue-size
gnrc_netif: increase message queue size
2019-03-15 12:45:33 +01:00
641a32bfeb tests/riotboot_flashwrite: initial commit 2019-03-15 12:32:50 +01:00
a15f07b04b riotboot: move slot variables to sys/riotboot/Makefile.include 2019-03-15 12:32:50 +01:00