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

26378 Commits

Author SHA1 Message Date
benpicco
844aa43288
Merge pull request #13213 from kb2ma/coap/add_uquery_opt
net/coap: Packet API function to add Uri-Query option
2020-01-29 16:45:37 +01:00
Hauke Petersen
ab90a42610
Merge pull request #13231 from miri64/examples/cleanup/border-router-fib
examples/gnrc_border_router: remove `fib` module
2020-01-29 16:41:35 +01:00
Ken Bannister
b354722574 net/gcoap: remove test migrated to nanocoap 2020-01-29 09:24:46 -05:00
Ken Bannister
22ce1c140b net/nanocoap: use new function in query test 2020-01-29 09:23:47 -05:00
Ken Bannister
0ed4fe2da6 net/coap: move/rename function to add query option 2020-01-29 09:23:47 -05:00
Martine S. Lenders
7831a98bce
examples/gnrc_border_router: remove fib module
IPv6 routers use the FIB of `gnrc_ipv6_nib` for a while now, so the
`fib` module is not used.
2020-01-29 14:59:59 +01:00
0d3180d534
Merge pull request #13218 from fjmolinas/pr_remove_make_4
Makefile.include: remove support for make <4
2020-01-29 09:27:53 +01:00
Cenk Gündoğan
2fcd9e0456
Merge pull request #13225 from leandrolanzieri/pr/net/gcoap/fix_ref_to_variance
gcoap: Remove reference to COAP_ACK_VARIANCE in docs
2020-01-28 21:28:32 +01:00
Leandro Lanzieri
8250f4d198 net/gcoap: Remove reference to COAP_ACK_VARIANCE in docs 2020-01-28 20:14:46 +01:00
Cenk Gündoğan
c84d7d2623
Merge pull request #12887 from leandrolanzieri/pr/kconfig_migrate/gcoap
Kconfig: Expose Gcoap configurations
2020-01-28 18:58:29 +01:00
Gunar Schorcht
ddd7cb0a7d
Merge pull request #12898 from aabadie/pr/cpu/dependencies_cleanup
cpu: move cpu level dependencies in dedicated Makefile.dep files
2020-01-28 17:57:02 +01:00
Martine Lenders
aea8761a89
Merge pull request #13223 from smlng/pr_doxygen_groups
doc: fix doxygen groups for atmega CPUs
2020-01-28 17:46:04 +01:00
Sebastian Meiling
91cff05a15 doc: use @name for doxygen groups 2020-01-28 15:46:09 +01:00
Sebastian Meiling
2eae1952f7 doc: fix doxygen groups for atmega cpus 2020-01-28 15:44:29 +01:00
ac446f71da
Merge pull request #13222 from fjmolinas/pr_deps_sort
makefiles/dependencies_debug.inc.mk: add DEPENDENCY_DEBUG_SORT_VARS
2020-01-28 14:21:41 +01:00
e969b2fcd5
cpu/atmega_common: move common dependencies 2020-01-28 13:20:53 +01:00
9b7f06034e
cpu/efm32: move some dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
90e10d3009
cpu/atmega_common: move avr-libc-extra dependency to Makefile.dep 2020-01-28 13:20:52 +01:00
3869397ed3
cpu/fe310: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
32525b7728
cpu/lpc1768: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
98780ea023
cpu/armv7: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
1ae5a08ec7
cpu/cc26xx_cc13xx: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
6d46621610
cpu/msp430: move dependencies to Makefile.dep 2020-01-28 13:20:51 +01:00
e3b3ea0403
cpu/mips*: move dependencies to Makefile.dep
This commit also removes not needed use of export
2020-01-28 13:20:51 +01:00
66d903c209
cpu/nrf5x: move dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
925445d0ff
cpu/sam0: factorize dependencies in Makefile.dep 2020-01-28 13:18:39 +01:00
a32c1074ad
cpu/stm32: move all dependencies to Makefile.dep 2020-01-28 13:18:39 +01:00
Francisco Molina
8b9afc3fed makefiles/dependencies_debug.inc.mk: add DEPENDENCY_DEBUG_SORT_VARS
Define DEPENDENCY_DEBUG_SORT_VARS that can be set as 1 so that
DEPS_DEBUG_VARS are sorted before saving to file.
2020-01-28 13:02:15 +01:00
Leandro Lanzieri
cf7a73800e examples/gcoap: Set configs via CFLAGS if Kconfig is not used
This adds a check in the Makefile so configurations are set via CFLAGS
only if Kconfig is not being used as the configurator for the module.
Otherwise there may be a conflict.
2020-01-28 11:59:52 +01:00
Leandro Lanzieri
926d32ff30 Kconfig: Expose Gcoap configurations 2020-01-28 11:59:52 +01:00
Leandro Lanzieri
bab6f4737c net/gcoap: Move config macros to 'CONFIG_' namespace
Macros that changed:
GCOAP_MSG_QUEUE_SIZE -> CONFIG_GCOAP_MSG_QUEUE_SIZE
GCOAP_NO_AUTO_INIT -> CONFIG_GCOAP_NO_AUTO_INIT
GCOAP_NO_RETRANS_BACKOFF -> CONFIG_GCOAP_NO_RETRANS_BACKOFF
GCOAP_NON_TIMEOUT -> CONFIG_GCOAP_NON_TIMEOUT
GCOAP_OBS_CLIENTS_MAX -> CONFIG_GCOAP_OBS_CLIENTS_MAX
GCOAP_OBS_OPTIONS_BUF -> CONFIG_GCOAP_OBS_OPTIONS_BUF
GCOAP_OBS_REGISTRATIONS_MAX -> CONFIG_GCOAP_OBS_REGISTRATIONS_MAX
GCOAP_OBS_VALUE_WIDTH -> CONFIG_GCOAP_OBS_VALUE_WIDTH
GCOAP_PDU_BUF_SIZE -> CONFIG_GCOAP_PDU_BUF_SIZE
GCOAP_PORT -> CONFIG_GCOAP_PORT
GCOAP_RECV_TIMEOUT -> CONFIG_GCOAP_RECV_TIMEOUT
GCOAP_REQ_OPTIONS_BUF -> CONFIG_GCOAP_REQ_OPTIONS_BUF
GCOAP_REQ_WAITING_MAX -> CONFIG_GCOAP_REQ_WAITING_MAX
GCOAP_RESEND_BUFS_MAX -> CONFIG_GCOAP_RESEND_BUFS_MAX
GCOAP_RESP_OPTIONS_BUF -> CONFIG_GCOAP_RESP_OPTIONS_BUF
GCOAP_TOKENLEN -> CONFIG_GCOAP_TOKENLEN
2020-01-28 11:59:52 +01:00
Francisco Molina
e637fd1658 Makefile.include: remove support for make <4 2020-01-28 11:27:30 +01:00
Cenk Gündoğan
d5a5b18da3
Merge pull request #13211 from leandrolanzieri/pr/gcoap/use_random_factor
gcoap: Use random factor for timeout range
2020-01-28 11:02:34 +01:00
98995f685b
Merge pull request #13179 from fjmolinas/pr_openocd_stm32f7_probe
boards/nucleo-f767zi: add correct flash bank openocd config
2020-01-28 10:48:23 +01:00
f0cde06391
Merge pull request #13203 from phectori/pr/pinetime_pyocd
boards/pinetime: add pyocd support
2020-01-27 22:59:13 +01:00
Francisco Molina
1dec5ba61b boards/common/stm32f7: add correct flash bank configuration
openocd configuration file for `stm32f7` relies on probing to find out
FLASH_ADDR. On nucleo-f767zi board probing (`flash probe 0`) fails when
`srst` is asserted, but `srst` needs to be asserted to be able to flash
the `BOARD` when sleeping or after a hardfault.

To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
flash bank with the appropriate fash start address and specify that this is
the flash bank to be used as default configuration instead of the
default by setting FLASH_BANK=4
2020-01-27 22:32:06 +01:00
Francisco Molina
53f60db66f dist/tools/openocd/openocd.sh: add FLASH_BANK
Allow specifying index of `flash bank` to read configuration from
in cases where the configuration provided in openocd is incorrect.

This is the case for the majority of stm32 boards where it relies
on `flash probe` to get the correct value.
2020-01-27 22:32:00 +01:00
Leandro Lanzieri
4e85241270 net/coap: Remove unused COAP_ACK_VARIANCE macro 2020-01-27 19:47:20 +01:00
Leandro Lanzieri
3f382dc323 net/gcoap: Use COAP_RANDOM_FACTOR_1000 to calculate timeout range
With this the range for the random timeout is calculated using
COAP_RANDOM_FACTOR_1000 (ACK_RANDOM_FACTOR in RFC 7252).
2020-01-27 19:47:20 +01:00
Leandro Lanzieri
8c25d12ae5 net/coap: Represent ACK_RANDOM_FACTOR multiplied by 1000 2020-01-27 19:47:20 +01:00
Frits Kuipers
9206b955eb boards/pinetime: Add pyocd support to pinetime board 2020-01-27 19:43:48 +01:00
142d7b14c0
Merge pull request #13171 from aabadie/pr/make/pkg_deps_early
Makefile.dep: include package deps earlier
2020-01-27 16:23:15 +01:00
7a1859d660
pkg/nordic-softdevice: define dependencies in package 2020-01-27 12:51:19 +01:00
2b3a9d0e4b
pkg/ndn-riot: define dependencies in package 2020-01-27 12:51:19 +01:00
ed0a8d67c4
Makefile.dep: include package deps earlier 2020-01-27 12:50:50 +01:00
Leandro Lanzieri
c5dfc7d16c
Merge pull request #13198 from fjmolinas/pr_fix_info_board_RIOTBASE
makefiles/boards.inc.mk: set RIOTBOARD
2020-01-27 09:57:45 +01:00
benpicco
f6d750afe9
Merge pull request #13201 from gschorcht/boards/nucleo-f4xx-doc-fix
boards: doc fix for several nucleo-f4xxxx boards
2020-01-25 15:19:55 +01:00
Gunar Schorcht
6fc82f2b2a boards: doc fix for several nucleo-f4xxxx boards
Rows in markdown tables must not contain a line break. Otherwise the table is broken.
2020-01-25 13:28:15 +01:00
Francisco Molina
ff70ad377a makefiles/boards.inc.mk: simply expand ALLBOARDS
We can't use memoized here since if we don't expand immediatly
the value for BOARDSDIR might change.
2020-01-24 17:59:48 +01:00
benpicco
43b736969b
Merge pull request #13138 from francois-berder/pic32-docs
boards: Improve documentation for pic32-clicker and pic32-wifire
2020-01-24 17:48:43 +01:00