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

25721 Commits

Author SHA1 Message Date
0e2cffd1c1
Merge pull request #12495 from fjmolinas/pr_suit_update_trigger
suit/examples: add gpio callback trigger
2019-11-29 21:17:00 +01:00
Leandro Lanzieri
8d47813487 examples: Add Wakaama LwM2M example application 2019-11-29 20:31:41 +01:00
Leandro Lanzieri
c52ad2df9e pkg/wakaama: Add LwM2M Client implementation 2019-11-29 20:31:41 +01:00
Leandro Lanzieri
2826779fbf pkg/wakaama: Add patches to fix logging 2019-11-29 20:31:41 +01:00
Leandro Lanzieri
dc845841f0 Makefile.base: Set targets of *.d files to absolute object path
By passing the -MT flag with the absolute path to the object we make
sure that the compiler generates dependency files with rules that match
our building rules.
2019-11-29 18:52:48 +01:00
benpicco
4df6bb425f
Merge pull request #12830 from benpicco/lpc2387-ldfix
cpu/lpc2387: clean up lpc2387.ld, fixes tests/cpp_ctors
2019-11-29 17:44:58 +01:00
Martine S. Lenders
3fe1bf59a4
gnrc_sixlowpan_frag_rb: fix memory-leak in _rm_by_datagram()
This fits with the semantics of this function which doesn't provide or
uses any state of the reassembly buffer provided by the user, but finds
the entry itself and then removes it. This gives the user no chance to
remove the packet in the reassembly buffer entry, so
`gnrc_sixlowpan_frag_rb_rm_by_datagram()` has to release the packet
(other than `gnrc_sixlowpan_frag_rb_remove()` where not releasing the
packet is desired as it might be handed up to an upper layer).
2019-11-29 15:38:13 +01:00
Martine S. Lenders
e1d171b50e
tests/gnrc_sixlowpan_frag: check packet buffer in test_rbuf_rm_by_dg
gnrc_sixlowpan_frag_rm_by_datagram() currently doesn't release the
packet in the reassembly buffer entry removed, meaning it puts a leak
into the packet buffer. This changes the tests to check for that error.
2019-11-29 15:35:55 +01:00
Francisco Molina
ce609a8709 examples/suit_update: add button to trigger update 2019-11-29 15:12:34 +01:00
Francisco Molina
b14b5f3e67 makefiles/suit.v4.inc.mk: avoid basename in notify recipe 2019-11-29 15:03:14 +01:00
Francisco
b88e2ecb6d
Merge pull request #12471 from aabadie/pr/sys/suit_shell
sys/suit: sys/shell: examples/suit_update: add shell command for triggering suit updates
2019-11-29 13:32:23 +01:00
Sebastian Meiling
6ae8ffb1b0
Merge pull request #12355 from leandrolanzieri/pr/ifconfig_using_netif
shell/gnrc_netif: Use netif API for ifconfig
2019-11-29 13:10:21 +01:00
Benjamin Valentin
533e83ad2d tests/cpp_ctors: remove avsextrem & msba2 from blacklist
The test should be passing now.
2019-11-29 12:13:21 +01:00
Benjamin Valentin
f89b852c1d cpu/lpc2387: clean up lpc2387.ld
Clean up the linkerfile and bring it more in line with cortexm_base.ld
(so far only for the ROM part)

As a bonus, tests/cpp_ctors works now.
2019-11-29 12:13:21 +01:00
benpicco
56a2344869
Merge pull request #12843 from benpicco/openmote-b_fix
boards/openmote-b: fix defines
2019-11-29 12:11:32 +01:00
Benjamin Valentin
ed0f72c856 cpu/lpc2387: startup.s: remove dead code
Setting up the .data and .bss section happens in arm7_init.c now.
The code was commented out anyway, so just remove it.
Also remove leftover variable declarations that were only used in
the dead code.
2019-11-29 12:00:52 +01:00
Yegor Yefremov
87d8f29af2 drivers/ws281x: improve documentation
Replace 'to' with 'too' and remove the space between '8 MHz'.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-29 11:24:29 +01:00
MrKevinWeiss
ebe010125b boards/openmote-b: fix button pin define
According to the schematics user button should be on `PD5` not `PC5`
(so `GPIO_PIN(3, 5)`).
Due to the super high values resistors being used for the external
pullup it seems if you use a internal pullup it doesn't work.
2019-11-29 11:10:24 +01:00
Benjamin Valentin
70eef51cd8 boards/openmote-b: fix naming of RF24 switch pins.
The Sub-GHz Antenna of the Openmote-B is always connected to the AT86RF215.
It is the 2.4 GHz radial that can be switched between the CC2538 and the AT86RF215.

This changes the name of the defines accordingly.
2019-11-29 10:59:59 +01:00
Leandro Lanzieri
cb28400bce tests/gnrc_netif: Adapt test to new interface names 2019-11-29 10:22:00 +01:00
Leandro Lanzieri
8aa66e94ea net/gnrc/netif: Remove 'if' prefix from interface names 2019-11-29 10:22:00 +01:00
Leandro Lanzieri
5481124d86 shell/gnrc_netif: Use netif API 2019-11-29 10:22:00 +01:00
Leandro Lanzieri
7746ee0aa1 net/netopt: Fix NETOPT_CHANNEL_PAGE documentation. 2019-11-29 09:34:38 +01:00
Sebastian Meiling
bf7d9591ad
Merge pull request #12839 from benpicco/driver-guide_float
doc/driver-guide.md: add a note about float
2019-11-29 08:24:40 +01:00
Benjamin Valentin
97d8e9fec1 doc/driver-guide.md: fix typo 2019-11-28 19:33:35 +01:00
2ff3d4cd8d
sys/shell: add suit shell command
This command allows for triggering an update from the device itself
2019-11-28 19:15:34 +01:00
Benjamin Valentin
a8b540adcf doc/driver-guide.md: add a note about float
floating point variables should generally be avoided.
2019-11-28 19:11:33 +01:00
560ee3bac9
suit: add helper function for triggering updates 2019-11-28 19:08:28 +01:00
c68470fc3d
Merge pull request #12783 from maribu/driver_guide
doc: move device driver guide to a doxygen page
2019-11-28 19:00:27 +01:00
Gunar Schorcht
eb73358284 cpu/esp32: enable esp_log_startup on LOG_LEVL=4 2019-11-28 18:59:09 +01:00
Gunar Schorcht
91496b3cba cpu/esp32: add bootloaders without startup info
To reduce the information that are printed at the console during the startup, special bootloaders are required that suppress the outputs which are only informational. The according bootloader has to be selected during the make process.
2019-11-28 18:59:09 +01:00
Gunar Schorcht
8d25e6909e cpu/esp32: module to print startup info
Startup information, including board configuration, is only printed when module esp_log_startup is used. This reduces the amount of information that is printed by default to the console during the startup. The user can enable module esp_log_startup to get the additional startup information.
2019-11-28 18:59:09 +01:00
575cf05112
Merge pull request #12472 from fjmolinas/pr_build_basic_doc
doc/doxygen: add build-system-basics.md
2019-11-28 16:36:12 +01:00
Leandro Lanzieri
d868c9c5c3 makefiles: Do not set CCACHE_BASEDIR environmental variable
When CCACHE_BASEDIR variable is set, ccache rewrites absolute paths into
relative paths before computing the hash that identifies the compilation
for all the paths under that directory.

The problem is that those paths are also used when the compiler is
called, so the generated dependency files (*.d) will have a relative
path to the object files, and thus, it will not match our rule for
compiling (we use absolute paths). As dependency files define the
targets this way, any change on its dependencies (e.g. an included
header file) will not re-trigger a build.
2019-11-28 15:40:22 +01:00
Ken Bannister
5c2f37d9f1
Merge pull request #9857 from haukepetersen/opt_gcoap_contextptrtoresphandler
net/gcoap: add user ptr to response handler functions
2019-11-28 09:32:30 -05:00
benpicco
f4876013cd
Merge pull request #12789 from maribu/bmx280_endianess
drivers/bmx280: Fix incorrect endian conversion
2019-11-28 14:04:41 +01:00
f5252bf482
Merge pull request #12832 from aabadie/pr/tests/ps_schedstatistics_enh
tests/ps_schedstatistics: fix test on AVR + improve Python test script
2019-11-28 13:58:39 +01:00
Marian Buschsieweke
7108394172
doc/driver-guide.md: Doxygen integration
- Added the file to `riot.doxyfile`
- Shortened the header to display properly
- Added `[TOC]` to let doxygen create a table of contents
- Added manual anchors to the headers for consistency with other doc files
- Use @code and @endcode for code blocks (using fenced blocks doesn't parse
  with the Doxygen version used by the CI)
- Changed a numbered list containing code blocks to regular text, as the code
  blocks as list items are not parsed correctly
2019-11-28 13:58:26 +01:00
benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
Marian Buschsieweke
267253dc5c
doc/driver-guide.md: Applied coding convention
- Enforce 80 chars per line limit
- Fixed some typos
- Removed trailing whitespace
- Added markdown syntax for code highlight in two cases
- Reduced the TODO section heading from level 1 to level 2

==> No content changes
2019-11-28 13:57:47 +01:00
benpicco
40a419baef
Merge pull request #12794 from gschorcht/cpu/esp32/cpu_clk_workaround
cpu/esp32: workaround for UART problems
2019-11-28 13:57:23 +01:00
pokgak
4ed4ab404a pkg/tinydtls: implement DTLS sock API 2019-11-28 13:54:06 +01:00
pokgak
0eaf0b23df pseudomodules: add sock_dtls 2019-11-28 13:54:06 +01:00
benpicco
306319ae7a
Merge pull request #12748 from benpicco/lpc2387-lpram
cpu/lpc2387: add support for backup RAM
2019-11-28 13:51:52 +01:00
Hauke Petersen
3a7b60e4d4 net/cord_epsim: adapt to gcoap API changes 2019-11-28 12:50:24 +01:00
Hauke Petersen
7b1217a529 net/cord_ep: adapt to gcoap API changes 2019-11-28 12:50:24 +01:00
Hauke Petersen
de777f7655 examples/gcoap: adapt to gcoap_send() API changes 2019-11-28 12:50:24 +01:00
Hauke Petersen
3fd8357071 net/gcoap: allow to pass user context to requests 2019-11-28 12:50:24 +01:00
Hauke Petersen
75397a2be1 examples/gcoap: adapt to resp_handler API change 2019-11-28 12:48:37 +01:00
Hauke Petersen
383f395af3 net/gcoap: pass memo to resp_handler directly 2019-11-28 12:48:37 +01:00