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

20049 Commits

Author SHA1 Message Date
22b2306536 sys/auto_init: add saul adaptation for vcnl40x0 2018-10-15 11:44:10 +02:00
1ca44cf072 drivers/vcnl40x0: initial implementation 2018-10-15 11:44:10 +02:00
83be0314be makefiles/pseudomodules: define vcnl40x0 sensor types 2018-10-15 11:44:04 +02:00
9cedd7e244 drivers/saul: add proximity sensor type 2018-10-15 11:44:04 +02:00
d4bfb0f0a3 sys/phydat: add counts unit 2018-10-15 11:44:04 +02:00
Sebastian Meiling
2b67078896
Merge pull request #10141 from MrKevinWeiss/pr/remoteb/docupdate
boards/remote-revb: Update broken link in readme
2018-10-15 11:24:31 +02:00
Gunar Schorcht
eb350292fb boards/esp32-wrover-kit: change default PORT_LINUX
Changes the default port on LINUX systems to /dev/ttyUSB1. /dev/ttyUSB0 is the JTAG interface for OCD.
2018-10-15 11:14:52 +02:00
8ee2bc5ffb coap: deprecate COAP_CT_ content type defines
COAP_CT_ style defines for the content types are deprecated in favour of
COAP_FORMAT_ style defines. COAP_FORMAT_ is expanded to include any
missing content type that was available with COAP_CT_.
2018-10-15 09:44:17 +02:00
726ebf3dad coap: use COAP_FORMAT style content-format defines
Replaces all occurences of COAP_CT_.* with COAP_FORMAT_.*
2018-10-15 09:44:17 +02:00
Sebastian Meiling
41c8c1e863
Merge pull request #10054 from toonst/fix/make_column_position
make: fix info-objsize column name position
2018-10-15 09:28:00 +02:00
da48e01029
Merge pull request #10109 from silkeh/add-libb2
pkg: add libb2 (BLAKE2)
2018-10-14 20:26:20 +02:00
Gunar Schorcht
5ef7adfbcb cpu/esp32: fix problem with tests/thread_race
The problem seemed to be a pipelining problem of write and read instructions when swapping the context. An isync instruction when returning from a context switch solves the potential pipelining problem.
2018-10-14 15:08:31 +02:00
Ken Bannister
14c9b3062b
Merge pull request #8932 from bergzand/pr/nanocoap/block2
nanocoap: add server-side block2 support
2018-10-14 13:03:08 +00:00
f3b4e44a26 examples/nanocoap: add blockwise block2 example 2018-10-14 14:30:29 +02:00
551b3513db nanocoap: Add server-side block2 support 2018-10-14 14:30:29 +02:00
Gunar Schorcht
df1b6521f4 cpu/esp32: fixes the problem with tests/pthread_*
Reason for the problem was that tast_exit function in thread_arch.c tried to release the thread a second time although it was already released in sched_task_exit. A simple check whether the thread is already released (sched_active_thread == NULL) solved the problem.
2018-10-14 13:55:43 +02:00
Gunar Schorcht
fddfe86a4b cpu/esp32: fixes dependency problem for timer
Xtensa newlib version requires pthread_setcancelstate as symbol. Therefore, the module pthread was always used, which in turn requires the module xtimer. The xtimer module, however, uses TIMER_DEV(0). Therefore, tests/timers failed for TIMER_DEV(0).
2018-10-14 13:50:38 +02:00
Silke Hofstra
7a49bd0747 tests: add test for the libb2 package 2018-10-13 21:36:41 +02:00
Silke Hofstra
07c0ac81c7 pkg: add libb2 (BLAKE2) 2018-10-13 20:39:00 +02:00
Martine Lenders
a73c499b67
Merge pull request #10117 from miri64/tools/enh/pr-check-label-rename
tools/pr_check: adapt for label categorization
2018-10-12 20:17:57 +02:00
Emmanuel Baccelli
f5c5d6b6e0
Merge pull request #6191 from emmanuelsearch/memos
Doc: initial RIOT developer memo + directory structure
2018-10-12 19:28:42 +02:00
Emmanuel Baccelli
48c981b1e2 rdm : initial rdm directory + rdm0 2018-10-12 19:11:08 +02:00
Silke Hofstra
58e39da255 nrf5x_common: gpio: fix port 1 functionality
Pins on GPIO port 1 were not correctly set.
This is resolved by using the (previously unused) pin_num function.
2018-10-12 18:12:22 +02:00
Martine Lenders
1095ac2487
Merge pull request #7428 from haukepetersen/add_rdcli
net: add full CoRE Resource Directory endpoint implementation
2018-10-12 17:56:05 +02:00
Silke Hofstra
8efeb4a4f1 Revert "Merge pull request #9699 from miri64/nrf5x_common/fix/gpio-unused-function"
This reverts commit 2d10390b56, reversing
changes made to 2f480efb60.
2018-10-12 17:46:43 +02:00
Federico Pellegrin
75c4dab3c7 sys/arduino: correct micros() return type 2018-10-12 17:40:37 +02:00
MrKevinWeiss
cfebd7b4a2 boards/remote*: Update broken link in readme 2018-10-12 15:55:04 +02:00
Kevin "Bear Puncher" Weiss
ceba02f368
Merge pull request #10149 from fedepell/arduino_1
sys/arduino: add docs for analog map (strictly needed to build)
2018-10-12 15:09:38 +02:00
Hauke Petersen
cba288bf4f examples/rdcli: blacklist low memory boards 2018-10-12 14:41:40 +02:00
Hauke Petersen
c9c7bf8d41 examples: add example for rdcli 2018-10-12 14:41:40 +02:00
Hauke Petersen
899d7fee8a shell: add shell command for rdcli 2018-10-12 14:41:40 +02:00
Hauke Petersen
49f21b8935 sys/auto_init: added rdcli_standalon initialization 2018-10-12 14:41:40 +02:00
Hauke Petersen
9acce40aad net: added full RD endpoint implementation 2018-10-12 14:41:40 +02:00
Hauke Petersen
314dfcb805 net/rdcli_common: added RES_LOC_LEN 2018-10-12 14:41:40 +02:00
Kevin "Bear Puncher" Weiss
b08131c9df
Merge pull request #10154 from fedepell/arduino_3
sys/arduino: add possibility to customize Arduino serial port at compile time
2018-10-12 12:40:50 +02:00
Kevin "Bear Puncher" Weiss
33aa604dd7
Merge pull request #10145 from gschorcht/drivers_hd44780_fix
drivers/hd44780: fix compilation errors
2018-10-12 09:51:15 +02:00
Kevin "Bear Puncher" Weiss
0719442ddc
Merge pull request #10072 from haukepetersen/fix_nrf52xxxdk_resetpin
boards/nrf52xxxdk: make reset pin work
2018-10-12 09:36:30 +02:00
Kevin "Bear Puncher" Weiss
ee3ebe17f8
Merge pull request #10078 from cladmi/pr/make/ensure_board_includes_cpu_features
boards: always include cpu features
2018-10-12 08:04:51 +02:00
Federico Pellegrin
a89e43ae31 sys/arduino: add possibility to customize Arduino serial port at compile time 2018-10-11 21:33:50 +02:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
cladmi
d809d82b91
Makefile.include: sanity check that cpu Makefile.features is used
This prepares for being able to always include Makefile.features
globally. It prevents new board for missing this until it is done.
2018-10-11 17:12:47 +02:00
Vincent Dupont
746d3e1d77
Merge pull request #10153 from cladmi/pr/stm32/fix_source_file_selection
cpu/stm32_common: fix source selection declared as module dependencies (broken)
2018-10-11 16:52:32 +02:00
26abf4cf8c
Merge pull request #10152 from miri64/tools/fix/doccheck
doccheck: exclude dist/tools directory from group check
2018-10-11 16:13:30 +02:00
cladmi
e0a5860bb7
cpu/stm32_common: remove inadapted periph_flash_common
The `periph_flash_common` feature was only defined here to trigger
inclusion of a source file with common functions.
It even only defines private symbols `_lock` and `_unlock` so no reason
to expose it to the build system.
And in practice, all stm cpus providing `periph_flashpage` or
`periph_eeprom` were required to provide `periph_flash_common` to allow
including it.

The previous implementation was only parsing in the modules were in
`FEATURES_REQUIRED` wich did not take cases of `FEATURES_OPTIONAL` into
account.
And also, in the same time, as the dependencies was declared in
`Makefile.include` it was processed before `Makefile.dep` so never handled
cases where a module could depend on `periph_flashpage` or
`periph_eeprom` feature.

It is replaced by selecting the common source file when module using it
are included.

The now useless feature `periph_flash_common` is removed from
`FEATURES_PROVIDED`.
2018-10-11 15:20:44 +02:00
cladmi
d8080a66e4
cpu/stm32_common: Do not use USEMODULE to select i2c implem
`cpu/stm32_common/Makefile.dep` was never included by the global
`Makefile.dep`, so declaring this `USEMODULE +=` here was never shown to
the build system and never exported as `MODULE_PERIPH_I2C_X` variables.

In fact, `USEMODULE` was only used to trigger the `periph.mk`/`SUBMODULES`
mechanism to add matching source files names to `SRC` and so select
the implementation for each CPU type.

It is replaced by just explicitly selecting the right source file.
2018-10-11 15:20:25 +02:00
Martine Lenders
6f8fd1d6df doccheck: exclude dist/tools directory from group check 2018-10-11 15:16:09 +02:00
Federico Pellegrin
4960607a1e sys/arduino: add arduino time functions micros() and delayMicroseconds() 2018-10-11 14:42:46 +02:00
Hauke Petersen
0089a52ff4
Merge pull request #10144 from haukepetersen/fix_my_email
misc: use correct hauke.petersen@fu email address
2018-10-11 14:40:39 +02:00
Federico Pellegrin
4a7222072f sys/arduino: add docs for analog map (strictly needed to build) 2018-10-11 14:17:50 +02:00
Martine Lenders
94adf875c0
Merge pull request #10139 from haukepetersen/fix_rdclisimple_donotsendct
net/rdcli_simple: do not send CF opt in POST msg
2018-10-11 12:46:12 +02:00