1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 19:52:45 +01:00
Commit Graph

29543 Commits

Author SHA1 Message Date
Francisco
c290bdf9cc
Merge pull request #14201 from maribu/board-doc
boards: Fix incorrect units and alignment
2020-06-16 13:21:29 +02:00
Leandro Lanzieri
89570087d8
Merge pull request #14250 from aabadie/pr/pkg/semtech_loramac_make
pkg/semtech-loramac: cleanup build system integration
2020-06-16 13:12:48 +02:00
Francisco
c819acdeed
Merge pull request #14287 from aabadie/pr/tools/mosquitto_rsmb_standalone_build_fix
dist/tools/mosquitto_rsmb: fix stand-alone build
2020-06-16 12:47:12 +02:00
3758eaf62e
Merge pull request #14275 from fjmolinas/pr_samr21_hw_fc
boards/samr21-xpro: add uart hw cts/rts
2020-06-16 12:40:07 +02:00
1ff609167e ztimer: convert_frac: use self->scale_now for max_value
When using convert_frac to slow down a timer, the extension machinery is
used to prevent converting values that would be larger than, after
conversion, 2**32. In order to calculate the maximum value, UINT32_MAX
is converted.

Previously, this was mistakenly converted by multiplying with the
fraction used to scale up a value. E.g., when using convert_frac to
slow down a 1us timer to provide a 1ms timer, UINT32_MAX was multiplied
by 1000. As the result is used % UINT32_MAX, this lead to a wrong value
close to UINT32_MAX, as ((UINT32_MAX * N) % UINT32_MAX = (UINT32_MAX - N - 1)).

This PR fixes the calculation so max_value is determined by multiplying
with the fraction used to scale down a value.
2020-06-16 12:24:11 +02:00
Leandro Lanzieri
2c4c04d11b
cpu/cortexm_common: Unify Kconfig and Makefile arch identifiers 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
5dc29886b3
cpu/kinetis: Include CPU information in Makefile.features 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
649017f0b2
cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
Kees Bakker
affa7e8081
Merge pull request #14292 from bergzand/pr/sodaq/add_dma_conf
boards/sodaq: Add DMA config to SPI peripherals
2020-06-16 11:44:21 +02:00
Francisco Molina
39f073e71f
boards/samr21-xpro: add uart hw cts/rts 2020-06-16 11:41:47 +02:00
Marian Buschsieweke
ba2dfd5be5
boards/nucleo-f070rb: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
4afe9e58ac
boards/nucleo-f030r8: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
d555f6de37
boards/firefly: Fix units in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
52e1e36668
boards/nrf52dk: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
06764f07d9
boards/nrf51dongle: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
7cfabf0142
boards/mulle: Fix units & alignment in doc 2020-06-16 11:36:49 +02:00
Marian Buschsieweke
ff17e63042
boards/msba2: Fix units in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
137cc289c6
boards/msb-430h: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
a2433cddbb
boards/microbit: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
3adcfe73f4
boards/mcb2388: Fix units in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
8bbcc1bfc3
boards/mbed_lpc1768: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
501586e586
boards/lobaro-lorabox: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
17bfa37fb1
boards/limifrog-v1: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
387000995c
boards/iotlab-m3: Fix units & alignment in doc 2020-06-16 11:36:48 +02:00
Marian Buschsieweke
21868bea78
boards/im880b: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
00fd3d1b5f
boards/ikea-tradfri: Fix units in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
f5628184a2
boards/frdm-k64f: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
b7d89c84f9
boards/fox: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
89a5125297
boards/chronos: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
9667aef6ac
boards/cc2650stk: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
d0459fa126
boards/cc2538dk: Fix units & alignment in doc 2020-06-16 11:36:47 +02:00
Marian Buschsieweke
88bda9592c
boards/cc1312-launchpad: Fix units & alignment in doc 2020-06-16 11:36:44 +02:00
2778e037fe
Merge pull request #14220 from aabadie/pr/pkg/lwip_nrf802154
pkg/lwip: add support for nrf802154
2020-06-16 11:13:33 +02:00
2c030c3c38
Merge pull request #14122 from benpicco/boards/stm32f429i-disc1_usb_stdio
boards/stm32f429i-disco: add support
2020-06-16 11:12:53 +02:00
818dc09a24
Merge pull request #14270 from keestux/fix-test-thread_msg_seq
tests/thread_msg_seq: better guarantee sequence of output lines
2020-06-16 10:31:26 +02:00
Francisco
b041221905
Merge pull request #13825 from kaspar030/cortexm_free_svc
cpu/cortexm: "free" SVC
2020-06-16 10:31:09 +02:00
9daaaf25a5
sodaq-sara-sff: Add DMA config to SPI peripheral 2020-06-16 09:44:51 +02:00
01a6044400
boards/sodaq: Add DMA to common SPI config 2020-06-16 09:44:14 +02:00
f93ba336e8
Merge pull request #12730 from keestux/add-sodaq-sff
boards/sodaq-sff: add support for SODAQ SFF
2020-06-16 08:47:48 +02:00
benpicco
471b0e2a5a
Merge pull request #14283 from bergzand/pr/tests/periph_spi_dma/initial
tests/periph_spi_dma: Add test for SPI with DMA
2020-06-16 00:52:46 +02:00
Kees Bakker
c062b7f33d tests/unittests: add sodaq-sara-sff to BOARD_INSUFFICIENT_MEMORY 2020-06-15 21:58:17 +02:00
Kees Bakker
0965cc75be examples/lua_REPL: add sodaq-sara-sff to BOARD_INSUFFICIENT_MEMORY 2020-06-15 21:57:53 +02:00
Kees Bakker
370e166f31 tests/thread_msg_seq: better guarantee sequence of output lines
This also changes to expectations of the test script. It does not rely
on fixed thread IDs anymore, because boards with CDC ACM as stdio have
a different first thread then boards with "normal" stdio via UART.

This resolves issue #14256
2020-06-15 21:53:56 +02:00
Kees Bakker
c307c3946b tests/bench_xtimer: add sodaq-sara-sff to LOW_MEMORY_BOARDS 2020-06-15 21:13:14 +02:00
Kees Bakker
446892a356 boards/sodaq*: correct the XTIMER defines
There is now a common set of defines for all Sodaq boards. This commit
removes old configurations.
2020-06-15 21:10:09 +02:00
Kees Bakker
76a4f145d9 boards/sodaq-sff: add support for SODAQ SFF
The following features were tested (briefly):
* UART (the first, and the second connected to the UBlox SARA)
* xtimer
* I2C (using driver BMX280 and SHT2x)
* ADC
* WDT
* RGB-LEDs

SPI isn't tested, but it should be working.
2020-06-15 21:10:09 +02:00
ed827cb453
tests/periph_spi_dma: Add test for SPI with DMA
This new test inherits everything from the regular periph_spi test, but
with DMA enabled
2020-06-15 19:28:12 +02:00
Leandro Lanzieri
78f8cef88b
Merge pull request #14290 from fjmolinas/pr_lwip_bl_nucleo_f302r8
tests/lwip: blacklist nucleo-f302r8
2020-06-15 17:39:24 +02:00
Francisco Molina
e2dac2f23d
tests/lwip: add nucleo-f302r8 to BOARD_INSUFFICIENT_MEMORY 2020-06-15 14:45:04 +02:00