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

35884 Commits

Author SHA1 Message Date
05e7b5e803
github/bug_report.md: Remove users@ and devel@ 2021-05-12 11:41:25 +02:00
834cb2192d
make: Remove mailing list advertisement 2021-05-12 11:41:25 +02:00
a7acf5ee6e
CONTRIBUTING: remove mailing list mentions 2021-05-12 11:41:21 +02:00
4560fefca0
Merge pull request #16464 from chrysn-pull-requests/libcose-update
pkg/libcose: Update to latest master
2021-05-12 09:38:06 +02:00
Leandro Lanzieri
b628d93731
Merge pull request #16466 from aabadie/pr/tests/qr-code-generator-opt
tests/pkg_qr-code-generator: improve display speed in test application
2021-05-11 14:30:34 +02:00
55fc61f295
tests/pkg_qr-code-generator: improve encoder buffer lenghts 2021-05-11 13:47:55 +02:00
chrysn
3a53a1815f
Merge pull request #16468 from chrysn-pull-requests/native-doc-flashpage
boards/native: Document flashpage support
2021-05-11 12:01:15 +02:00
chrysn
855517326a boards/native: Document flashpage support
This documents the additions of [15935].

[15935]: https://github.com/RIOT-OS/RIOT/pull/15935
2021-05-11 10:28:03 +02:00
612eb5a4bf
.murdock: add pkg_qr-code-generator to TEST_KCONFIG list 2021-05-11 10:10:26 +02:00
74ad930be9
tests/pkg_qr-code-generator: optimize display in test application 2021-05-11 09:25:29 +02:00
Marian Buschsieweke
8c31227060
tests/malloc: test for correct calloc() behavior 2021-05-10 18:04:53 +02:00
chrysn
a5d1639a25 pkg/libcose: Update version
introducing an optional dependency on tinycrypt
2021-05-10 17:35:03 +02:00
chrysn
f65a9e1306 pkg/tinycrypt: Avoid pulling in default_CSPRNG
... which would be provided through ecc_platform_specific.c but would
only so happen to work on native -- and conflicts with any
default_CSPRNG provided in the future (eg. through a newer libcose
packet).
2021-05-10 17:31:17 +02:00
Marian Buschsieweke
a9dea12eb8
cpu/esp_common: add overflow detection to calloc
If esp_idf_heap is not used, implement calloc through a custom wrapper
function on top of malloc to add overflow detection, which is not
present in the newlib forks with xtensa support yet.
2021-05-10 15:29:48 +02:00
Leandro Lanzieri
0c3ece3ce8
Merge pull request #16462 from aabadie/pr/pkg/qr-code-generator
pkg: add QR Code generator package
2021-05-10 15:26:37 +02:00
4e37e1ad44
tests/pkg_qr-code-generator: extend with disp_dev API 2021-05-10 14:25:18 +02:00
08ae97257c
tests: add test application for qrcode package 2021-05-09 17:19:13 +02:00
4b6a5abc47
pkg: add qrcode generator package 2021-05-09 17:19:13 +02:00
benpicco
36b05b20c6
Merge pull request #16460 from chrysn-pull-requests/codeowners-coap-chrysn
CODEOWNERS: Notify @chrysn on CoAP changes
2021-05-08 13:07:24 +02:00
chrysn
c378760eca CODEOWNERS: Notify @chrysn on CoAP changes 2021-05-08 10:57:00 +02:00
Francisco
8cb8bba4e7
Merge pull request #16104 from maribu/external_modules
build system: Rework EXTERNAL_MODULE_DIRS
2021-05-07 23:27:17 +02:00
Marian Buschsieweke
81411e3539
tests: Update to new EXTERNAL_MODULE_DIRS interface 2021-05-07 21:29:16 +02:00
Marian Buschsieweke
ef5ec6d038
tests/external_module_dirs: update to new interface 2021-05-07 21:29:10 +02:00
Marian Buschsieweke
6ac8aba955
build system: rework EXTERNAL_MODULE_DIRS
Previously, external modules had to be individually added to both
EXTERNAL_MODULE_DIRS and USEMODULE. If those where not in sync, this
resulted in build errors.

With this commit, search folders for external modules are added to
EXTERNAL_MODULE_DIRS instead. So lets say the file system structure is
like this

```
└── /path/to/external/modules
    ├── mod_a
    │   ├── Makefile
    │   ├── Makefile.dep
    │   ├── Makefile.include
    │   ├── foo.c
    │   └── include
    │       └── external_module.h
    └── mod_b
        ├── Makefile
        └── bar.c

```

One now adds `/path/to/external/modules` to EXTERNAL_MODULES and only
with `USEMODULE += mod_a` the corresponding module, dependencies and
include settings are actually used. Hence, it is possible to configure
`EXTERNAL_MODULE_DIRS` from `~/.profile` or `~/.bashrc` once and never
needs to worry about them again.
2021-05-07 21:29:05 +02:00
Francisco
26b61d0254
Merge pull request #16457 from aabadie/pr/cpu/native_custom_thread_sizes
cpu/native: make thread stacksize defines overridable
2021-05-07 16:28:29 +02:00
136c630870
cpu/native: make thread size defines overridable 2021-05-07 13:12:01 +02:00
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
Marian Buschsieweke
eefed0e0cd
sys/malloc_thread_safety: fix overflow in calloc
some standard c libraries (e.g. newlib before 4.0.0) don't perform
proper overflow check in the multiplication. We just implement calloc
here ourselves on top of malloc with proper overflow check in place.
This might even safe a handful of ROM bytes.
2021-05-06 13:04:01 +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