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

35970 Commits

Author SHA1 Message Date
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
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