chrysn
e65f3f372b
USB VID/PID: Set whitelist define for internals that use usb.h
...
This list is probably incomplete as it was created experimentally.
2020-01-30 15:04:10 +01:00
chrysn
f35ce9cd8e
USB VID/PID: Allow default VID/PID from inside RIOT code
...
A new define, USB_H_USER_IS_RIOT_INTERNAL, is defined that may only be
set from within RIOT's own compilation units that deem themselves
standard RIOT peripherals. If all usb.h users in a program match that
requirement, a default VID/PID pair is set.
Due to the new composite check, the individual checks for VID/PID being
set become moot and are removed.
2020-01-30 15:01:41 +01:00
Sebastian Meiling
a4c4c25b3b
Merge pull request #12866 from jia200x/pr/gnrc_lorawan_remove_netdev
...
net/gnrc_lorawan: remove netdev layer from MAC
2020-01-30 14:02:59 +01:00
05b409c85d
Merge pull request #13239 from gschorcht/periph/i2c/fix_ndebug
...
cpu: fix I2C compilation problems with NDEBUG for several CPUs
2020-01-30 13:03:16 +01:00
Gunar Schorcht
4911868746
cpu/cc26x0: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:57:56 +01:00
Gunar Schorcht
42db6861e1
cpu/cc2538: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:57:36 +01:00
Gunar Schorcht
2051167176
cpu/atmega: fix I2C compilation error with NDEBUG
...
When NDEBUG macro is defined during compilation, the assert macro produces empty code. The dev parameter is then unused.
2020-01-30 11:46:31 +01:00
596d02387f
Merge pull request #13229 from nmeum/pr/hifive_link_fix
...
fe310: fix power management configuration
2020-01-30 11:23:37 +01:00
benpicco
a2c257bad2
Merge pull request #13230 from nmeum/pr/wasm_pro_link
...
waspmote-pro: don't build the boards_common_atmega module
2020-01-30 10:43:27 +01:00
Sören Tempel
bd2f5fe110
fe310: fix power management configuration
2020-01-30 10:43:01 +01:00
MichelRottleuthner
2f418bf684
Merge pull request #13212 from Hyungsin/forupstream_xtimer_bug
...
sys/xtimer: compare two offsets rather than absolute times
2020-01-30 10:15:41 +01:00
Marian Buschsieweke
770de4db38
Merge pull request #13234 from benpicco/lpc2387-rtc-fix
...
cpu/lpc2387: rtc: set rtc callback arg
2020-01-29 20:18:49 +01:00
Hyungsin
eadd4c9f72
sys/xtimer: compare two offsets rather than absolute times
2020-01-29 10:52:43 -08:00
Benjamin Valentin
c24fb242ef
cpu/lpc2387: rtc: set rtc callback arg
...
`_cb_arg` was never set, it was simply ignored in `rtc_set_alarm()`.
The fix is trivial: just set `_cb_arg` to the assigned argument.
2020-01-29 19:49:18 +01:00
Karl Fessel
b4b9ffe362
cpu/stm32/eth: luid_get_eui48 match type information
...
changed type of hwaddr to eui48
moved hwaddr declaration where it is needed
2020-01-29 16:58:36 +01:00
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
Karl Fessel
7483826356
cpu/stm32/eth: Use luid_get_eui48 to generate local, non group EUI
...
luid_get may generate non compliant EUI (MAC-address) luid_get_eui48
fixes that.
2020-01-29 15:57:54 +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
Sören Tempel
8485c535d5
waspmote-pro: don't build the boards_common_atmega module
...
Only include its headers. Without this change board_init would be
defined twice. Once in `boards/waspmote-pro/board.c` and the other time
`boards/common/atmega/board.c`.
2020-01-29 12:32:16 +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