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
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