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

25528 Commits

Author SHA1 Message Date
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
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
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
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
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
9eac4b8b75
Merge pull request #12825 from JannesVolkens/ncv7356_doc
drivers/ncv7356: Add documentation
2019-11-28 12:32:10 +01:00
benpicco
b9b7e652e2
Merge pull request #12833 from dylad/pr/tests/adc_fix_printf
tests/periph_adc: fix printf content on failure
2019-11-28 11:57:38 +01:00
Francisco
a0783afe6d
Merge pull request #12632 from aabadie/pr/tests/memarray_autotest
tests/memarray: add python script for automatic testing
2019-11-28 11:52:56 +01:00
Benjamin Valentin
3417cf7d8a cpu/arm7_common: be less cryptic in setup code
There is no restriction in variable names in early boot, so use
better names then p1, p2 and p3 to name our pointers.
2019-11-28 11:34:59 +01:00
Benjamin Valentin
32bbba2fc5 cpu/lpc2387: add support for backup RAM
lpc23xx has 2k of battery RAM that is retained in Deep Power Down mode.

To not overwrite that data it must only be initialized on Power On Reset.
However, RSIR looks the same when waking up from Deep Power Down as it does
on the power-on case.

So use 4 bytes of the backup RAM to keep a signature that is only valid if
memory was retained (no power-on Reset).

A small change to the linker script is required so two sections can be
placed into flash.
2019-11-28 11:33:03 +01:00
Benjamin Valentin
15fcbe837a cpu/lpc2387: add definition of RSIR bits
Add the bits of the Reset Source Identification Register
2019-11-28 11:30:38 +01:00
Dylan Laduranty
6a4259e48a
Merge pull request #12064 from benpicco/sam0-buffered_uart
cpu/sam0_common/periph/uart: implement non-blocking write
2019-11-28 10:07:11 +01:00
Benjamin Valentin
0c08abd19a tests/periph_uart_nonblocking: add simple test application
The application is mainly to compile-test non-blocking UART
functionality, but some functional testing is also possible.

With non-blocking UART the total runtime of the program is 2100735 µs
on same54-xpro.
With blocking UART the total runtime is 2152407 µs.
2019-11-28 09:26:58 +01:00
Francisco
372ae95d28
Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup
make/develhelp: make usage consistent + add ci check
2019-11-28 09:26:52 +01:00
Dylan Laduranty
3f1027d0c2 tests/periph_adc: fix content printf on failure 2019-11-28 09:07:52 +01:00
Dylan Laduranty
53994bdfeb
Merge pull request #12828 from bergzand/pr/sam0/adc_api
sam0/periph_adc: Fix API to return `-1` on unsupported resolution
2019-11-28 09:05:39 +01:00
Gunar Schorcht
e3bb708e4d cpu/esp32/periph: flush UART TX FIFO before a baudrate change 2019-11-28 08:57:26 +01:00
ae223308bf
tests/memarray: add automatic test script 2019-11-28 08:47:57 +01:00
60c922df1a
tests/memarray: allow overridable macros and print them
MAX_NUMBER_BLOCKS and NUMBER_OF_TESTS can be overriden via CFLAGS
2019-11-28 08:47:57 +01:00
7d046b6b8d
Merge pull request #12831 from fjmolinas/pr_fix_interactive_sync_shell
autoinit: interactive sync if no shell% in USEMODULE
2019-11-28 08:47:20 +01:00
4e07a26375
Merge pull request #12819 from maribu/atmega_fix
cpu/atmega_common: Fixed atmega_exit_isr
2019-11-28 08:43:10 +01:00
f885b90bd9
tests/ps_schedstatistics: improve automatic test script
- Ensure the whole ps output is displayed in the terminal before exiting the script
- Escape parenthesis in line regexp
2019-11-28 08:31:11 +01:00
Gunar Schorcht
83892aa184 cpu/esp32/periph: workaround for UART clock problems
The UART peripheral clock seems to be sporadically set to wrong value when the CPU clock is changed. In this case, the UART clock is not set to 115.200 kbps but to 96 kbps, so that the output in the console seems like garbage. This can also cause automatic tests to fail. Therefore, the CPU clock is only changed if CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ defines a different default CPU clock than the one already used at boot time.
2019-11-28 08:22:30 +01:00
c9fccbc34d
tests/ps_schedstatistics: use lower load in background threads
On slow platforms, such as AVR, the main thread could never run and the shell would remain stuck.
2019-11-28 08:05:00 +01:00
15d58760a9
Merge pull request #12822 from fjmolinas/pr_fix_eol
tests: fix tests matching varied sized group regex
2019-11-28 08:01:30 +01:00
Leandro Lanzieri
2733ef45d7
Merge pull request #12798 from kb2ma/gcoap/init_delay
net/gcoap: add macro to delay initialization of gcoap
2019-11-28 05:10:43 +01:00
Ken Bannister
e873e5814a net/gcoap: add macro to delay initialization of gcoap 2019-11-27 17:56:55 -05:00
benpicco
7c9f2e1794
Merge pull request #12791 from maribu/test_isr_yield_higher
tests/isr_yield_higher: Make use of US_PER_MS
2019-11-27 23:21:12 +01:00
Francisco Molina
817df972b5 autoinit: interactive sync if no shell% 2019-11-27 23:19:48 +01:00
83215befd9
sam0: change ADC periph to return -1 on wrong resolution
The common ADC API dictates that a sample call must return -1 on an
incorrect resolution. The sam0 ADC implementation instead threw an
assertion failure.
2019-11-27 21:09:02 +01:00
7d2e10335d
sam0: remove duplicate _done() call 2019-11-27 21:08:28 +01:00
chudov
0a151a78da boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
Dylan Laduranty
5287e1c052
Merge pull request #12782 from ML-PA-Consulting-GmbH/fix/20191122__sam0common_spi_release
cpu/sam0_common/periph/spi: power off spi bus on release
2019-11-27 19:13:19 +01:00
Benjamin Valentin
0d977b3b3c cpu/sam0_common/periph/uart: implement buffered write
Implement interrupt based uart_write() using a tsrb for the TX buffer.

To enable it, add

    USEMODULE += periph_uart_nonblocking

to your Makefile.
2019-11-27 19:01:00 +01:00
1271274964
Merge pull request #12824 from fjmolinas/pr_pexpect_doc
tests/README: add automated tests guidelines
2019-11-27 18:52:09 +01:00
6e2513a724
Merge pull request #12461 from fjmolinas/pr_apply_interactive_sync_tests
tests: use test_interactive_test_util when possible
2019-11-27 17:57:04 +01:00
f318572d8a
Merge pull request #12823 from gschorcht/make/fix_log_level
makefiles: fix LOG_LEVEL handling
2019-11-27 17:55:10 +01:00