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

30239 Commits

Author SHA1 Message Date
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
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
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
Martine Lenders
8939ffaaf7
Merge pull request #14495 from aabadie/pr/wsn430_lost_and_found
LOSTANDFOUND.md: add note about wsn430 boards
2020-07-11 02:17:33 +02:00
benpicco
db9ed5a440
Merge pull request #14499 from btcven/2020_07_10-gnrc_udp
tests/gnrc_udp/udp.c: fix netif_hdr typo
2020-07-10 23:52:24 +02:00
Jean Pierre Dudey
80435ae838
tests/gnrc_udp/udp.c: fix netif_hdr typo
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-07-10 14:47:10 -05:00
171284a86c
LOSTANDFOUND.md: add reference for wsn430 boards 2020-07-10 20:42:50 +02:00
e63cd54f3b
Merge pull request #14491 from aabadie/pr/remove_wsn430_iotlab
boards: remove support for wsn430-1_3b and wsn430-1_4
2020-07-10 20:40:47 +02:00
Martine Lenders
8e74bfa511
Merge pull request #14306 from leandrolanzieri/pr/net/nettest_remove
net/gnrc: Remove deprecated module gnrc_nettest
2020-07-10 17:12:59 +02:00
5555dd3a97
tests/float: adapt comment for msp430 about increased timeout 2020-07-10 16:49:08 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
8b8e281789
boards: remove Senslab wsn430 boards
These boards are no longer available on IoT-LAB
2020-07-10 16:49:08 +02:00
9d0253bed3
Makefile.include: remove remaining references to wsn430 2020-07-10 16:49:08 +02:00
5efbb97b5c
dist/testbed-support: remove iotlab wsn430 mapping
The boards were removed (EOL) and thus are no longer usable using IOTLAB_NODE
2020-07-10 16:49:08 +02:00
Leandro Lanzieri
dfd662a015
LOSTANDFOUND.md: Add removed module gnrc/nettest 2020-07-10 15:58:57 +02:00
Leandro Lanzieri
cdc252ab7b
net/gnrc/nettest: Remove module
This module has been deprecated and scheduled for removal in release
2020.07.
2020-07-10 15:58:54 +02:00
benpicco
0bf3a2e279
Merge pull request #14476 from ML-PA-Consulting-GmbH/fix/20200706__sdcard_spi_auto_init
drivers/sdcard_spi: remove auto-init
2020-07-10 15:53:17 +02:00
276421d66b
.github/workflows: add more tools to tools-buildtest 2020-07-10 15:30:53 +02:00
Gilles DOFFE
892370121d
cpu/stm32/qdec: test null callback pointer (#14125)
cpu/stm32/qdec: test if callback pointer is set

Callback pointer is not tested and could result in a hard fault
if the pointer is NULL.
Thus only activate interrupt if a callback provided.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2020-07-10 15:05:53 +02:00
Chamaeleon-
547a880fa6
emcute example: Added more FAQ entries to readme (#12611)
* examples/emcute_mqttsn: add more FAQ entries

Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2020-07-10 14:21:47 +02:00
benpicco
6b9edb76bd
Merge pull request #13517 from gschorcht/cpu/esp32/multiheap
cpu/esp32: support of multiple heaps for newlib malloc
2020-07-10 14:07:03 +02:00
ce36767972
tools/setsid: cleanup and allow Makefile to be used standalone 2020-07-10 13:30:46 +02:00
5dd5c7913f
tools/pic32prog: cleanup and allow Makefile to be used standalone 2020-07-10 13:30:46 +02:00
7d5f08babf
tools/edbg: allow Makefile to be called stand-alone
Also:
- refactor the Makefile so all is not called if edbg is already there
- add a clean target to only remove the edbg binary
2020-07-10 13:30:38 +02:00
7e6b506ee6
tools/bossa: allow Makefile to be called stand-alone 2020-07-10 13:30:37 +02:00
06b152fac0
pkg/pkg.mk: improve clean and distclean for in-source builds 2020-07-10 13:30:37 +02:00
b05b2fddb9
Merge pull request #14484 from aabadie/pr/tools/bossa_factorize
tools/bossa: factorize Makefiles
2020-07-10 12:22:18 +02:00