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

35495 Commits

Author SHA1 Message Date
Dylan Laduranty
a1c3782e28
Merge pull request #16446 from ant9000/pr_cpu_saml21_slow_clock_fix_timers
CPU SAML21: fix timers frequency when using slow clocks
2021-05-06 20:17:02 +02:00
benpicco
60ac4de5b0
Merge pull request #16453 from IchiroKuroki/arduino_nano_33_iot_sercom_conflict
boards/arduino-nano-33-iot: resolved SPI and I2C configuration conflict
2021-05-06 15:01:46 +02:00
Gunar Schorcht
4cd8ff58c3
Merge pull request #16454 from IchiroKuroki/ccs811_full_default_config
drivers/ccs811: fix default config for ccs811_full
2021-05-06 12:06:16 +02:00
741917f955
Merge pull request #16439 from kaspar030/2021.04-release-notes
release-notes.txt: add 2021.04 release notes
2021-05-06 10:14:28 +02:00
512fa499b4 release-notes.txt: add 2021.04 release notes 2021-05-06 10:03:30 +02:00
Ichiro Kuroki
216943588e drivers/ccs811: fix default config for ccs811_full 2021-05-06 06:47:17 +03:00
Ichiro Kuroki
a637caedec boards/arduino-nano-33-iot: resolved SPI and I2C configuration conflict 2021-05-06 06:30:15 +03:00
Antonio Galea
c6f6f925a0 cpu/saml21: moved GCLK_GENCTRL_SRC_MAIN define to top 2021-05-05 23:59:05 +02:00
Martine Lenders
6c48fcd416
Merge pull request #16450 from miri64/gnrc_ipv6_nib/fix/acquire-race
gnrc_ipv6_nib: fix acquire race on gnrc_ipv6_nib_get_next_hop_l2addr()
2021-05-05 23:03:21 +02:00
benpicco
619a444741
Merge pull request #16347 from benpicco/drivers/rtt_rtc-rtc_get_time_ms
drivers/rtt_rtc: implement rtc_get_time_ms()
2021-05-05 19:13:21 +02:00
Martine Lenders
4b4eaf3b76
gnrc_ipv6_nib: fix acquire race on gnrc_ipv6_nib_get_next_hop_l2addr()
When two threads use `gnrc_ipv6_nib_get_next_hop_l2addr()` to determine
a next hop (e.g. when there is both an IPv6 sender and a 6LoWPAN
fragment forwarder), a race condition may happen, where one thread
acquires the NIB and the other acquires the network interface resulting
in a deadlock. By releasing the NIB (if acquired) before trying to
acquire the network interface and re-acquiring the NIB after the network
interface is acquired, this is fixed.
2021-05-05 17:48:24 +02:00
Antonio Galea
c03816f61f cpu/saml21: fix wrong timer for CORECLOCK at 48MHz 2021-05-05 16:34:01 +02:00
benpicco
6e4434a760
Merge pull request #16449 from nmeum/pr/riscv-lto
riscv_common: mark handle_trap as used (fixes LTO on RISC-V)
2021-05-05 16:00:36 +02:00
Sören Tempel
628c199f51 riscv_common: explicitly mark handle_trap as used
The handle_trap function is used internally by the trap_entry
implementation from the same file. However, the trap_entry
implementation calls handle_trap from inline assembly. This makes it
difficult for the compiler to infer that the handle_trap function is
used at all. This causes issues when LTO is enabled.

Without this patch compiling any RISC-V RIOT code with `LTO=1` causes
the following linker error:

	/home/soeren/src/RIOT/cpu/riscv_common/irq_arch.c:134: undefined reference to `handle_trap'
	/tmp/hello-world.elf.Nngidp.ltrans0.ltrans.o:cpu/riscv_common/irq_arch.c:134:(.text.trap_entry+0x34):
	  relocation truncated to fit: R_RISCV_GPREL_I against undefined symbol `handle_trap'

This commit fixes LTO support for RISC-V.

While at it, also mark the function as static as it is only used by the
trap_entry function from the same compilation unit.
2021-05-05 15:03:12 +02:00
Antonio Galea
7a253b4b76 boards: use SAM0_GCLK_TIMER for saml21 boards 2021-05-05 10:56:58 +02:00
Antonio Galea
8bd90aaf00 cpu/saml21: fix timer skew for slow clocks 2021-05-05 10:56:37 +02:00
Martine Lenders
77864c660d
Merge pull request #16445 from leandrolanzieri/pr/doc/riot_paper
doc: fix URLs to the new website
2021-05-05 10:36:52 +02:00
benpicco
904ba673e4
Merge pull request #16442 from benpicco/cpu/atmega_common-rtc_fix
cpu/atmega_common: RTC: fix off-by-one second normalization & simplify rtc_get_time()
2021-05-05 10:21:27 +02:00
Leandro Lanzieri
d7f6387019
doc/rdm1: fix URL to poster abstract 2021-05-05 10:00:48 +02:00
43103a65d5
Merge pull request #16438 from maribu/bad_alloc
pkg/tlsf,cpu/esp_common: fix possible overflow in calloc implementations
2021-05-05 09:53:00 +02:00
Leandro Lanzieri
ec3e540931
doc/mainpage: fix RIOT paper URL 2021-05-05 09:41:48 +02:00
Leandro Lanzieri
d36628d37e
Merge pull request #16183 from Ollrogge/aes_pr
sys/crypto: Enable support for AES-192, AES-256
2021-05-05 09:19:12 +02:00
Marian Buschsieweke
2f08f676dc
cpu/esp_common: fix possible overflow in calloc implementation 2021-05-05 08:58:34 +02:00
Marian Buschsieweke
84169266b4
pkg/tlsf: fix possible overflow in calloc implementation 2021-05-05 08:58:31 +02:00
Benjamin Valentin
7c1b5630d2 cpu/atmega_common: RTC: implement rtc_get_time_ms() 2021-05-04 23:17:05 +02:00
Benjamin Valentin
5ea85ca433 cpu/atmega_common: RTC: get rid of isr_flag 2021-05-04 23:14:35 +02:00
Dylan Laduranty
4af37a7751
Merge pull request #16433 from ant9000/pr_saml21_coreclock_enhancements
SAML21 CPU: support 4MHz, 8MHz, 12MHz CORE_CORECLOCK choices
2021-05-04 21:41:54 +02:00
Marian Buschsieweke
02dc63033f
Merge pull request #16441 from Mumpfie/gnrc-tx-sync-add-cast
gnrc tx-sync: add cast for c++ compatibility
2021-05-04 18:32:57 +02:00
Leandro Lanzieri
8107b8f3f2
Merge pull request #16434 from fjmolinas/pr_color_functions
TAKEOVER: makefiles/color: Add color functions, new attempt. #12156
2021-05-04 18:29:54 +02:00
Benjamin Valentin
2d706b3295 cpu/atmega_common: RTC: fix off-by-one normalisation 2021-05-04 17:56:13 +02:00
benpicco
4c38f69729
Merge pull request #16397 from benpicco/newlib_nano-default
cpu: make newlib_nano a DEFAULT_MODULE
2021-05-04 17:15:30 +02:00
Mumpfie
185570b034 gnrc tx-sync: add cast for c++ compatibility 2021-05-04 16:59:56 +02:00
Martine Lenders
c71a52dc0c
Merge pull request #15978 from miri64/riotctrl_ctrl/enh/native_reset
riotctrl_ctrl: A reset helper class for `native`
2021-05-04 13:48:18 +02:00
Martine Lenders
c044622c21
Merge pull request #16430 from jia200x/pr/fix_gnrc_lorawan_wf
gh_workflows: adapt to GNRC LoRaWAN Release Test env variables
2021-05-04 12:50:26 +02:00
benpicco
75edf89a12
Merge pull request #16436 from janosbrodbeck/pr/readme/doc
README: Update url of documentation
2021-05-04 12:36:34 +02:00
Benjamin Valentin
6d42c9fcfe cpu: make newlib_nano a DEFAULT_MODULE
This allows to disable nanospecs with

    DISABLE_MODULE += newlib_nano

if a full-features version of newlib is desired.
2021-05-04 12:12:36 +02:00
Marian Buschsieweke
46a5c34c5e
Merge pull request #16435 from fjmolinas/pr_info_boards_default_module_bug
makefiles/info-global.inc.mk: fix DEFAULT_MODULE inclusion
2021-05-04 12:01:19 +02:00
Martine Lenders
0fa29a4e09
Merge pull request #16432 from miri64/gh-actions/enh/release-tests-filter
gh-actions: release-tests: add filter input
2021-05-04 11:47:36 +02:00
Martine Lenders
9f8b4a1c9b
riotctrl_ctrl: add tests for NativeRIOTCtrl 2021-05-04 11:46:51 +02:00
Martine Lenders
49ea453df9
riotctrl_ctrl: provide helper class for native reset 2021-05-04 11:46:51 +02:00
János Brodbeck
5252dd92fb
README: Update url of documentation 2021-05-04 11:28:35 +02:00
Francisco Molina
bc8bfc7bb9
makefiles/info-global.inc.mk: fix DEFAULT_MODULE inclusion 2021-05-04 11:28:17 +02:00
Francisco
3cb3b5ab85
Merge pull request #16133 from miri64/congure_mock/enh/real-methods
congure_mock: add capability to provide actual methods
2021-05-04 11:06:35 +02:00
Juan Carrano
9fe8f54db9
makefiles/color: Add color functions.
c_xxxx functions can be used to wrap a piece of text in a
$(COLOR_X)...$(COLOR_RESET) block, thereby avoiding the easy mistake
of forgetting to place a COLOR_RESET.
2021-05-04 10:57:47 +02:00
Juan Carrano
1036115f2d
makefiles/utils/ansi: Refactor ansi codes into their own file.
The escape codes and special chars now live in their own module. The
color module is only concerned with detecting whether to use colors or
not.

Additional variables are defined with hard a coded ESC char, a tab and a
newline. This removes the need for echo or printf.
2021-05-04 10:52:50 +02:00
Juan Carrano
3ed96312af
makefiles/color: preprocess color strings.
The color strings COLOR_* are redefined so that they don't have to be
processed by "echo -e". This is done by storing the already interpreted
ANSI sequence in a shell variable.

With this change, not only can color messages be printed using normal
`echo` with no switches: colors also work with the `info` and `warning`
builtins of make.

The COLOR_ECHO variable is kept because it is also being used (confusingly)
to intepret tabs an newlines. This will be fixed in another commit.

This change should change absolutely anything and colors should still work
as always.
2021-05-04 10:50:58 +02:00
38062c414c
Merge pull request #16426 from fjmolinas/pr_small_test_fixes
tests: small fixes
2021-05-04 10:02:09 +02:00
c49162cc66
Merge pull request #16427 from fjmolinas/pr_test_malloc_refactor
tests/malloc: refactor test
2021-05-04 10:01:47 +02:00
Dylan Laduranty
efbd867484
Merge pull request #16421 from benpicco/cpu/sam0_common-rtc_reorder
cpu/sam0_common: only include RTC/RTT symbols if module is used
2021-05-03 22:07:09 +02:00
Martine Lenders
5b7b32e654
Merge pull request #16403 from fjmolinas/pr_riotctrl_shell_loramac
dist/pythonlibs/riotctrl_shell: add loramac shell
2021-05-03 19:18:48 +02:00