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

21744 Commits

Author SHA1 Message Date
Hauke Petersen
d293d3ece0 net/bluetil/ad: add bluetil_ad_find_and_cmp() 2019-03-21 21:50:34 +01:00
b19fa40104
Merge pull request #11228 from maribu/msp430fxyz_missing_include
cpu/msp430fxyz: Add missing #include
2019-03-21 20:23:23 +01:00
Marian Buschsieweke
569427b741
cpu/msp430fxyz: Add missing #include 2019-03-21 16:49:03 +01:00
Juan I Carrano
c391ed4109
Merge pull request #10943 from gschorcht/cpu/mps430_common_heap
cpu/msp430_common: set top of heap for sbrk
2019-03-21 11:44:35 +01:00
Gaëtan Harter
2523c1b8ef
Merge pull request #11126 from bergzand/pr/nrf52/riotboot
nrf52: Add riotboot support
2019-03-20 19:58:41 +01:00
Gaëtan Harter
7d360fcd2a
Merge pull request #11200 from danpetry/tools/jlink_handle_image_offset
jlink: handle flashing at IMAGE_OFFSET
2019-03-20 19:13:28 +01:00
Gaëtan Harter
f9cee9e820
Merge pull request #11174 from fjmolinas/stm32lx_dual_bank
boards/common/stm32l0: use dual bank with openocd if available
2019-03-20 18:38:19 +01:00
Juan I Carrano
a97fe8fff7
Merge pull request #11222 from cladmi/pr/tests/posix_semaphore/abstime
tests/posix_semaphore: sem_timedwait should not return before abstime
2019-03-20 17:11:58 +01:00
danpetry
80d4838b1a jlink: handle flashing at IMAGE_OFFSET
- Handling of flashing address is now similar to that in openocd,
  except FLASH_ADDR is not automatically determined
2019-03-20 16:07:51 +01:00
danpetry
f8bb42f787 Openmote-cc2538: format flash start address as hex
Declaring the address in decimal format meant that it was being
interpreted as a decimal rather than hex address by the tooling
and the intermediate bash arithmetic. This fixes that bug.
2019-03-20 16:07:51 +01:00
905376eef8
Merge pull request #11103 from aabadie/pr/boards/nrf52832-mdk-v2
boards/nrf52832-mdk: add basic support
2019-03-20 15:48:13 +01:00
Gaëtan Harter
732bcc7335
tests/posix_semaphore: sem_timedwait should not return before abstime
Update the test as sem_timedwait is not supposed to return before the
given abstime.

Source: http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/functions/sem_timedwait.html

    The timeout shall expire when the absolute time specified by abstime
    passes, as measured by the clock on which timeouts are based (that is,
    when the value of that clock equals or exceeds abstime), or if the
    absolute time specified by abstime has already been passed at the time
    of the call.
2019-03-20 15:18:25 +01:00
ef0fbe516b
Merge pull request #11217 from OTAkeys/pr/change_thread_main_prio
thread: allow overriding THREAD_PRIORITY_MAIN
2019-03-20 15:04:00 +01:00
Marian Buschsieweke
3aec0c77ee
Merge pull request #11188 from cladmi/pr/make/lpc2k_pgm/flashfile
boards/lpc2k_pgm: use FLASHFILE for boards using lpc2k_pgm
2019-03-20 14:56:16 +01:00
4cc9c8876f
examples/nimble_gatt: whitelist nrf52832-mdk 2019-03-20 14:41:26 +01:00
d08a028c20
boards: add support for nrf52832-mdk 2019-03-20 14:41:26 +01:00
Gaëtan Harter
9d5e06a512
boards/lpc2k_pgm: use FLASHFILE for boards using lpc2k_pgm
Update to use FLASHFILE as file to be flashed on the board.
2019-03-20 14:31:25 +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
Vincent Dupont
e8619b327b thread: allow overriding THREAD_PRIORITY_MAIN 2019-03-20 14:09:16 +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