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

30314 Commits

Author SHA1 Message Date
Leandro Lanzieri
31b288443a
cpu/nrfx_common: Add Kconfig symbols 2020-07-16 10:23:48 +02:00
046bf64046
Merge pull request #14527 from miri64/gh-actions/enh/release-branches
gh-actions: run for PRs against release branches
2020-07-16 08:54:49 +02:00
Martine Lenders
6f81aff81d
Merge pull request #14523 from fjmolinas/pr_xtimer_now_irq_32b
tests/xtimer_now_irq: don't fail for 32bit timers
2020-07-15 22:59:54 +02:00
benpicco
2331f9ae4b
Merge pull request #14369 from aabadie/pr/drivers/makefile_include
drivers: remove drivers/Makefile.include and add driver specific Makefile.include
2020-07-15 21:59:23 +02:00
9f3254533d
Merge pull request #14518 from RIOT-OS/examples/fix/micropython-14224
examples/micropython: fix checked PID
2020-07-15 21:50:35 +02:00
7fd25f21c9
Merge pull request #14426 from maribu/stm32f4_uart_init
cpu/stm32: Fix garbage on UART init
2020-07-15 21:14:42 +02:00
Martine S. Lenders
494198c7e6
gh-actions: run for PRs against release branches 2020-07-15 20:57:46 +02:00
628777fa90
doc: adapt driver guide documentation 2020-07-15 20:36:27 +02:00
0d9aeba804
Makefile.include: don't include drivers/Makefile.include anymore 2020-07-15 20:36:27 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories 2020-07-15 20:36:27 +02:00
38f32be24f
Makefile.include: include per driver Makefile.include if available 2020-07-15 20:34:00 +02:00
Martine Lenders
7150c7ae10
Merge pull request #14524 from RIOT-OS/tests/fix/gnrc_dhcpv6_client-pl-output
tests/gnrc_dhcpv6_client: fix expected output
2020-07-15 20:17:53 +02:00
Martine Lenders
2ab65da409
Merge pull request #14519 from RIOT-OS/riotctrl_shell/fix/superflous-quotation-marks
riotctrl_shell.gnrc: remove superfluous quotation marks
2020-07-15 17:35:50 +02:00
Francisco
3934f9f09b
Merge pull request #13977 from maribu/pm_atomic_access
sys/pm: Correctly access pm_blocker
2020-07-15 16:53:06 +02:00
Francisco Molina
6bb765a362
tests/xtimer_now_irq: don't fail for 32bit timers 2020-07-15 16:29:07 +02:00
Martine Lenders
550bfe519a
tests/gnrc_dhcpv6_client: fix expected output 2020-07-15 16:26:38 +02:00
Francisco
1167867d02
Merge pull request #14362 from maribu/msp430-irq-inline
cpu/msp430_common: Update to inline-able IRQ API
2020-07-15 15:34:04 +02:00
José Alamos
90911f4bf9
Merge pull request #14510 from miri64/riotctrl.netif/bug/multi-iface-w-stats
riotctrl_shell.netif: fix for multiple interfaces with netstats
2020-07-15 15:23:46 +02:00
Martine Lenders
198eda14e6
riotctrl_shell.gnrc: remove superfluous quotation marks 2020-07-15 13:46:34 +02:00
Marian Buschsieweke
1a8defd209
cpu/msp430_common: Refactor cpu.{c,h}
Drop `__enable_irq()` and `__disable_irq()` and replace single remaining
call of them with the standard IRQ API, as this is now equally fast.
2020-07-15 13:09:11 +02:00
Martine Lenders
5599b067ab
examples/micropython: fix checked PID
With https://github.com/RIOT-OS/RIOT/pull/14224 the idle thread became
optional, so the main thread can have either 1 or 2 as PID, depending
if the idle thread is included or not. As this might also change in the
future, it is probably the best to just expect any number.
2020-07-15 12:43:02 +02:00
Marian Buschsieweke
aec9eb7f6a
cpu/stm32: Fix uart_init()
- Make use of the fact that gpio_init_af() does not need prior call to
  gpio_init() for all STM32 families anymore and drop call to gpio_init()
- Initialize the UART periph first, before initializing the pins
    - While uninitialized, the UART periph will send signal LOW to TXD. This
      results in a start bit being picked up by the other side.
    - Instead, we do not connect the UART periph to the pins until it is
      initialized, so that the TXD level will already be HIGH when the pins
      are attached.
    - This results in no more garbage being send during initialization
2020-07-15 12:12:46 +02:00
Marian Buschsieweke
73c9161517
cpu/stm32: Fix gpio_init() / gpio_int_af()
- Do not set an intermediate mode, prepare correct mode settings in a temporary
  variable
- Consistently enabled the GPIO periph in gpio_init_af()
    - Previously, STM32 F1 did not require a separate call to gpio_init() prior
      to a call of gpio_init_af(), but other STM32 families did
    - Now, gpio_init_af() can be used without gpio_init() consistently
- STM32 F1: Do not touch ODR for non input pins
    - For input pins, this enables / disabled pull up resistors. For outputs,
      this register should remain untouched (according to API doc)
2020-07-15 12:12:45 +02:00
Francisco
83396ac83c
Merge pull request #14486 from aabadie/pr/tools/pkg_clean_build_standalone
tools: build more tools with tools-buildtest
2020-07-15 11:22:26 +02:00
Marian Buschsieweke
5ecafab83d
sys/pm: Correctly access pm_blocker
Replace `volatile` access to pm_blocker by guarding the accesses with
`irq_disable()` ... `irq_restore()`.

`volatile` does only guarantee that no compiler optimizations are performed on
a variable access, but does not provide atomic access. E.g. on systems with
a memory bus of less than 32 bit, the access to pm_blocker cannot be done
with a single CPU instruction. Thus, resorting to disabling IRQs is the easiest
and most portable way to actually achieve atomic access.
2020-07-15 11:21:59 +02:00
Martine Lenders
7cff1b915d
Merge pull request #14422 from maribu/cortexm_thread_arch
cpu/cortexm_common: Fixes for thread_arch.c and dropped workaround
2020-07-15 11:19:28 +02:00
Marian Buschsieweke
91a294aa45
cpu/cortexm_common: Drop LTO workaround for Cortex M thread_arch.c
The `ldr    r1, =sched_active_thread` instruction couldn't be assembled with
LTO, as the no immediate offset could be found to construct the address of
`sched_active_thread`. This commit instructs the assembler to generate a
literate pool which can be used to construct the address. While this issue
was only triggered during LTO, it theoretically could also pop up without LTO
due to unrelated changes. Thus, it is a good idea to create the literate pool
even without LTO enabled.
2020-07-15 10:37:15 +02:00
Marian Buschsieweke
0feebcb094
cpu/cortexm_common: Drop #7776's LTO workaround
The workaround from #7776 is no longer needed with recent toolchains, e.g. such
as the toolchain in the riot/riotbuild docker image.
2020-07-15 10:37:15 +02:00
Martine Lenders
ba329daeee
Merge pull request #14515 from benpicco/CODING_CONVENTIONS-float
CODING_CONVENTIONS.md: add a note about float
2020-07-15 10:27:54 +02:00
Leandro Lanzieri
db29db330b
Merge pull request #14513 from akshaim/Kconfig_credman
net/credman : Expose configurations to Kconfig
2020-07-15 10:10:54 +02:00
benpicco
50f8fdd492
Merge pull request #14322 from benpicco/drivers/soft_uart
drivers/soft_uart: add software based UART implementation
2020-07-15 00:13:32 +02:00
Benjamin Valentin
b080d3da7a drivers/soft_uart: implement inverted TX & RX
In the current implementation, RX is flank based, so it's entirely level
agnostic.
I still chose to include a SOFT_UART_FLAG_INVERT_RX flag for symmetry and
to allow for a possible future, sampling based implementation.
2020-07-14 23:04:36 +02:00
Benjamin Valentin
5d1dddb3fc tests/driver_soft_uart: add test for software UART 2020-07-14 23:04:36 +02:00
Benjamin Valentin
96c67b0fa5 drivers/soft_uart: add software based UART implementation 2020-07-14 22:51:59 +02:00
Benjamin Valentin
7c4097bd52 CODING_CONVENTIONS.md: add a note about float
Floating point math should be avoided in the embedded space.
2020-07-14 20:41:00 +02:00
Akshai M
b898c65ecf net/credman : Update documentation 2020-07-14 21:26:19 +05:30
Akshai M
1ad76240c5 net/credman : Expose to Kconfig
Expose 'CONFIG_CREDMAN_MAX_CREDENTIALS' to Kconfig
2020-07-14 21:26:19 +05:30
Akshai M
774c18ea79 net/credman : Move 'CREDMAN_MAX_CREDENTIALS' to 'CONFIG_' 2020-07-14 21:26:19 +05:30
Martine Lenders
d968f16cc1 riotctrl_shell.netif: fix for multiple interfaces with netstats 2020-07-14 14:32:29 +02:00
Martine S. Lenders
92957e571f riotctrl_shell.tests: provide case for multiple interfaces with stats 2020-07-14 14:32:29 +02:00
Martine Lenders
60def88929
Merge pull request #14058 from jia200x/pr/fix_gnrc_lorawan
net/gnrc_netif_lorawan: fix unaligned copy
2020-07-13 17:47:25 +02:00
Jose Alamos
96ee1d2bf8 net/gnrc_netif_lorawan: fix unaligned copy 2020-07-13 16:57:26 +02:00
benpicco
e2e51ae7ef
Merge pull request #14368 from jia200x/pr/byteorder_bebuftohs
core/byteorder: add uint32 from/to buffer funcs
2020-07-13 12:31:43 +02:00
Martine Lenders
8b14bd64cf
Merge pull request #12543 from MrKevinWeiss/pr/doc/contributingguide
CONTRIBUTING/MAINTAINING: Clarify guidelines
2020-07-13 11:51:06 +02:00
Jose Alamos
2592dd7805 unittest/byteorder: add tests for uint32 from/to funcs 2020-07-13 11:21:31 +02:00
Jose Alamos
244d5191c8 core/byteorder: add uint32 from/to buffer funcs 2020-07-13 11:21:30 +02:00
MrKevinWeiss
e8674fd6dd MAINTAINING: Clarify guidelines
Push for helping contributors and providing snippits.
2020-07-13 10:57:03 +02:00
Martine Lenders
651b506fd4
Merge pull request #14494 from miri64/emb6/cleanup/rm
pkg/emb6: remove deprecated package
2020-07-11 02:45:48 +02:00
Martine S. Lenders
ac3a22f548
LOSTANDFOUND.md: document removal of emb6 2020-07-11 02:19:44 +02:00
Martine S. Lenders
4f243c52ea
pkg/emb6: remove deprecated package
Deprecation was noted in 7cf1bab2e6
2020-07-11 02:18:17 +02:00