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

30573 Commits

Author SHA1 Message Date
Jose Alamos
519f8f4529 cc2538: fix RSSI offset 2020-07-31 16:08:04 +02:00
benpicco
ecab75b529
Merge pull request #13632 from benpicco/cpu/sam0_common/uart-deinit
drivers/periph/uart: add periph_uart_reconfigure feature & implementation for sam0
2020-07-28 11:12:19 +02:00
benpicco
6ef4276c35
Merge pull request #14621 from benpicco/core/byteorder-be
core/byteorder: add Big Endian implementations
2020-07-28 10:30:27 +02:00
d59233baf1
Merge pull request #14556 from benpicco/bitarithm_test_and_clear
core/bitarithm: add bitarithm_test_and_clear()
2020-07-28 10:11:47 +02:00
Benjamin Valentin
e6f33fc436 cpu/sam0_common: uart: implement the periph_uart_reconfigure feature 2020-07-28 10:10:15 +02:00
Benjamin Valentin
62dbb21f19 cpu/sam0_common: UART move pin configuration to function
Makes the init code easier to read.
2020-07-28 10:10:15 +02:00
Benjamin Valentin
3eb54179ae drivers/periph/uart: add periph_uart_reconfigure feature 2020-07-28 10:10:15 +02:00
Marian Buschsieweke
76102eddbc
Merge pull request #14619 from benpicco/drivers/include/periph/timer-note
drivers/periph/timer: add note about TIM_FLAG_RESET_ON_MATCH
2020-07-28 08:28:18 +02:00
Benjamin Valentin
df18bfb459 core/byteorder: add Big Endian implementations 2020-07-27 18:36:07 +02:00
benpicco
22e9ba12a3
Merge pull request #14598 from maribu/avr-cpp
cpu/atmega_common: Provide C++ support (without libstdc++)
2020-07-27 17:41:31 +02:00
benpicco
5ce33e0b70
Merge pull request #14616 from pi76r/can_stm32f4
boards: enable CAN bus on nucleo-f446re & nucleo-f446ze
2020-07-27 17:40:50 +02:00
benpicco
35a0620465
Merge pull request #14617 from benpicco/core/OpenOCD_annotations
core: add comments to symbols used by OpenOCD
2020-07-27 17:40:37 +02:00
Benjamin Valentin
7af8a3e2d3 drivers/periph/timer: add note about TIM_FLAG_RESET_ON_MATCH 2020-07-27 17:17:08 +02:00
Benjamin Valentin
4d34cee72f core: add comments to symbols used by OpenOCD
OpenOCD makes assumptions about those symbol names / enum entries,
so add a note about it as a comment.
2020-07-27 16:14:42 +02:00
millotp
69858916c7 boards: enable CAN bus on nucleo-f446re & nucleo-f446ze
Changed the pinout for the CAN bus:
CAN RX: PB8
CAN TX: PB9

And added periph_can to FEATURES_PROVIDED and to Kconfig files
2020-07-27 14:36:29 +02:00
42eb044ec6
Merge pull request #14482 from hugueslarrive/cpu/stm32/periph/pwm
cpu/stm32/periph/pwm: some bugfixes...
2020-07-24 21:05:57 +02:00
Marian Buschsieweke
1ad7b4c21a
pkg/utensor: Require feature libstdcpp 2020-07-24 16:21:12 +02:00
Marian Buschsieweke
1d181d5bf3
examples/riot_and_cpp: require libstdcpp feature
The C++ header cstdio is used, but only provided by libstdc++
2020-07-24 15:22:34 +02:00
Marian Buschsieweke
7b49310147
cpu/atmega_common: Enable cpp feature 2020-07-24 15:22:34 +02:00
Martine Lenders
1ede9c11a2
Merge pull request #14535 from miri64/release/enh/notes-2020-07
release-notes.txt: add 2020.07 release notes
2020-07-24 15:00:19 +02:00
48fd1aa3e5
Merge pull request #14589 from kaspar030/reduce_tests_malloc_chunksize
tests/malloc: reduce chunk size to 128b
2020-07-24 09:52:19 +02:00
Leandro Lanzieri
a68a2cd70f
Merge pull request #14597 from maribu/libstdcpp-bugfix-kconfig
cpu/{mips32r2_common,arm7_common,native}/Kconfig: Select HAS_LIBSTDCPP
2020-07-23 21:43:21 +02:00
Dylan Laduranty
d294c41478
Merge pull request #14540 from benpicco/boards/common/saml1x_configure_timer
boards/saml1x: configure second timer
2020-07-23 21:42:47 +02:00
Marian Buschsieweke
7d4911e3ad
cpu/native/Kconfig: Select HAS_LIBSTDCPP 2020-07-23 20:34:20 +02:00
Marian Buschsieweke
c6df3ad643
cpu/arm7_common/Kconfig: Select HAS_LIBSTDCPP 2020-07-23 20:30:26 +02:00
Marian Buschsieweke
d15606908a
cpu/mips32r2_common/Kconfig: Select HAS_LIBSTDCPP 2020-07-23 20:28:32 +02:00
Marian Buschsieweke
6520db8ed9
sys/cxx_ctor_guards: Add guard for c++ ctors
For thread-safe calling of C++ constructs of statically allocated class
instances some platform support code is needed. This commit ads one
implementation compatible with g++.
2020-07-23 20:24:47 +02:00
Martine S. Lenders
ddb7cfe346
release-notes.txt: add 2020.07 release notes 2020-07-23 19:18:19 +02:00
benpicco
f3bce19646
Merge pull request #14503 from maribu/cpp-feature
build system: Add libstdcpp feature and doc
2020-07-23 19:05:10 +02:00
f39d40704c
Merge pull request #14593 from bergzand/pr/pkg_libcose/unistd
tests/pkg_libcose: add missing unistd.h include
2020-07-23 17:26:36 +02:00
Marian Buschsieweke
3b4c31c76c
Merge pull request #14591 from kaspar030/tests_bench_sys_base64_reduce_iterations
tests/bench_sys_base64: reduce test iterations (10000 -> 1000)
2020-07-23 17:03:10 +02:00
8b86168659
tests/pkg_libcose: add missing unistd.h include
Required for ssize_t
2020-07-23 14:43:55 +02:00
85c61b33f2
Merge pull request #14588 from kaspar030/tests_trace_reduce_bufsize
tests/trace: reduce trace buffer size
2020-07-23 13:15:23 +02:00
3420fcf436 tests/bench_sys_base64: reduce test iterations (10000 -> 1000) 2020-07-23 12:54:56 +02:00
da898e649c tests/malloc: reduce chunk size to 128b
Otherwise, the test fails on z1 (with no allocations).
2020-07-23 12:50:32 +02:00
0d85d853c7 tests/trace: reduce trace buffer size 2020-07-23 12:45:43 +02:00
107356ec5d
Merge pull request #14575 from gschorcht/cpu/stm32/fix_gpio_definition
cpu/stm32: GPIO ports definition fix
2020-07-23 12:24:44 +02:00
77b0df3c80
Merge pull request #14571 from fjmolinas/pr_fix_test_pthread_flood
tests/pthread_flood: cleanup test
2020-07-23 11:15:24 +02:00
Francisco Molina
eb107a08cb
tests/pthread_flood: cleanup test
- Cleans up pthread initialization, checks for ret code !=0,
  instead of -1. For some platforms the first thread was not
  started and therefore `pthread_join` could not succeed.
- Always specify stackaddr and stacksize to not use malloc
- Formatting and uncrustify
2020-07-23 10:05:37 +02:00
Gunar Schorcht
b082fd1941 board/nucleo32: fix Arduino pin mapping
On Nucleo-32 boards with STM32 MCUs that do not have the GPIO port F, the Arduino pins D7 and D8 are not connected to PF0 and PF1 but to PC14 and PC15. This is also the case for the Nucleo-L412KB.
2020-07-23 00:16:48 +02:00
benpicco
dc21084ab5
Merge pull request #14582 from benpicco/core/msg_bus-type
core/msg_bus: fix shift on 8-bit platforms
2020-07-22 16:59:47 +02:00
Francisco
d187e83221
Merge pull request #14570 from fjmolinas/pr_fix_mock_rtt_defs
drivers/rtt: override RTT_MAX_VALUE and RTT_FREQUENCY for mock
2020-07-22 16:33:29 +02:00
Benjamin Valentin
337ee38997 tests/thread_msg_bus: add check if all threads got the message 2020-07-22 16:11:36 +02:00
Benjamin Valentin
46b89eb723 core/msg_bus: fix shift on 8-bit platforms
The previous shift would wrap if the compiler defaults to 16 bit words.
Use explicit `unsigned long` integer constants to mitigate that.

before:

2020-07-22 15:25:17,063 # THREAD 1 start
2020-07-22 15:25:17,063 # THREAD 2 start
2020-07-22 15:25:17,065 # THREAD 3 start
2020-07-22 15:25:17,066 # THREADS CREATED
2020-07-22 15:25:17,068 # Posted event 22 to 0 threads
2020-07-22 15:25:17,071 # Posted event 23 to 0 threads
2020-07-22 15:25:17,076 # Posted event 24 to 0 threads
2020-07-22 15:25:17,076 # SUCCESS
2020-07-22 15:26:00,188 # Exiting Pyterm

after:

2020-07-22 15:26:10,374 # THREAD 1 start
2020-07-22 15:26:10,374 # THREAD 2 start
2020-07-22 15:26:10,377 # THREAD 3 start
2020-07-22 15:26:10,377 # THREADS CREATED
2020-07-22 15:26:10,380 # Posted event 22 to 0 threads
2020-07-22 15:26:10,383 # T1 recv: Hello Threads! (type=23)
2020-07-22 15:26:10,386 # T3 recv: Hello Threads! (type=23)
2020-07-22 15:26:10,388 # Posted event 23 to 2 threads
2020-07-22 15:26:10,391 # T2 recv: Hello Threads! (type=24)
2020-07-22 15:26:10,394 # Posted event 24 to 1 threads
2020-07-22 15:26:10,396 # SUCCESS
2020-07-22 15:27:31 +02:00
Francisco
eb576d652a
Merge pull request #14580 from aabadie/pr/pkg/lvgl_cosmetic_build
pkg/lvgl: adapt Makefile for nicer build output
2020-07-22 15:25:46 +02:00
Leandro Lanzieri
25723267f7
Merge pull request #14567 from akshaim/Kconfig_l2filter
net/l2filter : Expose configurations to Kconfig
2020-07-22 15:11:24 +02:00
56f9a4a686
Merge pull request #14577 from fjmolinas/pr_cc2538_uart_write_synchronous
cpu/cc2538/uart: uart_write wait for all bytes to be sent
2020-07-22 14:51:50 +02:00
f50d20f7fa
pkg/lvgl: adapt Makefile for nicer build output 2020-07-22 14:41:58 +02:00
Leandro Lanzieri
a017764382
Merge pull request #14573 from akshaim/gnrc_mac_update
net/gnrc/mac/types.h : Update configurations
2020-07-22 13:00:39 +02:00
Francisco Molina
da171f2254
cpu/cc2538/uart: uart_write wait for all bytes to be sent
uart_write should block until all bytes are sent out, so wait for
transmit fifo to empty before returning.
2020-07-22 12:56:12 +02:00