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

36595 Commits

Author SHA1 Message Date
Leandro Lanzieri
0129cbe954
Merge pull request #16594 from fjmolinas/pr_sys_fortuna_reseed_ms
sys/random/fortuna: change interval ressed to ms
2021-09-27 20:46:06 +02:00
Francisco Molina
c307caddf1 tests: add atomic_utils test to Kconfig 2021-09-27 17:30:05 +02:00
Francisco Molina
1af2462404 sys/fortuna: remove need for now64
Use a timer to required a reseed, enable use of plain ztimer (no now64)
2021-09-27 17:30:05 +02:00
benpicco
7313a1c28c
Merge pull request #16895 from benpicco/RIOT_VERSION_CODE-fallback
build system: add fallback for RIOT_VERSION_CODE
2021-09-27 16:23:01 +02:00
Benjamin Valentin
74a0f8d8b9 build system: add fallback for RIOT_VERSION_CODE
If the repository was checked out without tags, parsing RIOT_VERSION
will fail.

Fall back to creating a fake release version code based on the current
year and month.
2021-09-27 14:32:30 +02:00
José Alamos
1ee57f80a0
Merge pull request #15030 from jia200x/pr/lora/remove_xtimer
drivers/sx127x: remove ZTIMER_USEC dependency
2021-09-27 11:41:22 +02:00
Francisco Molina
8e675cd64f makefiles/features_modules.inc.mk: add periph_rtc_rtt to init ignore 2021-09-27 10:25:11 +02:00
Jose Alamos
e312155f30 drivers/sx127x: remove ZTIMER_USEC dependency 2021-09-27 10:22:06 +02:00
Martine Lenders
5e81bd56b0
Merge pull request #16894 from maribu/makefiles/vars.inc.mk
makefiles/vars.inc.mk: Document DEVELHELP and VERBOSE_ASSERT
2021-09-26 13:42:24 +02:00
benpicco
d1768e95a5
Merge pull request #16885 from bissell-homecare-inc/g0_adc
cpu/stm32: added ADC for g0
2021-09-25 18:32:19 +02:00
Marian Buschsieweke
65ddc09798
makefiles/vars.inc.mk: Document DEVELHELP and VERBOSE_ASSERT 2021-09-25 15:16:09 +02:00
benpicco
01b255ee7d
Merge pull request #16888 from fjmolinas/pr_event_thread_stacktest
sys/event/thread: add STACKSTEST flag
2021-09-25 01:23:55 +02:00
Hauke Petersen
e53d6c016e
Merge pull request #16890 from haukepetersen/fix_nimbleconn_getitvl
nimble/netif_conn: fix _conn_get_itvl_ms()
2021-09-24 19:08:02 +02:00
Hauke Petersen
625d5544ad nimble/netif_conn: fix _conn_get_itvl_ms() 2021-09-24 17:28:09 +02:00
benpicco
025892a0cc
Merge pull request #16884 from benpicco/VERBOSE_ASSERT
build system: add VERBOSE_ASSERT flag
2021-09-24 16:48:56 +02:00
1b83ecdd5d
Merge pull request #16881 from bissell-homecare-inc/add_g0_apbmul
added APB12 bus multiplier entry for applicable cpus
2021-09-24 16:25:07 +02:00
Dave VanKampen
ef6fc615ab boards/nucleo-g071rb: Added ADCs 0-5 for g071 nucleo 2021-09-24 10:21:17 -04:00
Dave VanKampen
f278df5c96 boards/nucleo-g070rb: Added ADCs 0-5 for g070 nucleo 2021-09-24 10:21:10 -04:00
Francisco Molina
ae5e10bc26 sys/event/thread: add STACKSTEST flag 2021-09-24 16:20:35 +02:00
Dave VanKampen
6414c64f89 cpu/stm32: added ADC for g0 2021-09-24 10:20:09 -04:00
Benjamin Valentin
9267d9dd61 build system: add VERBOSE_ASSERT flag
Add a compile-time convenience variable to enable verbose asserts.
2021-09-23 16:14:16 +02:00
Dave VanKampen
7ab8ec391a cpu/stm32: added APB12 bus multiplier entry for applicable cpus 2021-09-23 08:46:52 -04:00
benpicco
004b93edca
Merge pull request #16880 from vera/drivers/lps22hh
drivers/lpsxxx: add support for lps22hh
2021-09-23 00:20:09 +02:00
benpicco
01dacc1fe5
Merge pull request #16883 from kaspar030/riotboot_inttypes_include
sys/riotboot: add missing "inttypes.h" include
2021-09-23 00:19:51 +02:00
benpicco
6d33e360f6
Merge pull request #16882 from kaspar030/bench_msg_pingpong_stding
tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h)
2021-09-22 21:25:32 +02:00
benpicco
b1af25d4c6
Merge pull request #16743 from benpicco/net/sock/tcp-doc_fix
sock: tcp: fix sock_tcp_read() example
2021-09-22 20:58:49 +02:00
benpicco
3e285a2c4a
Merge pull request #16878 from mariemC/auto_init_compatibilty
sys/auto_init: change gnrc ipv6 and tcp types.
2021-09-22 20:48:01 +02:00
benpicco
cc3df3ec85
Merge pull request #16822 from benpicco/cpu/native-stdio
cpu/native: make use of stdio_read() / stdio_write()
2021-09-22 20:47:45 +02:00
136f59bc2c sys/riotboot: add missing "inttypes.h" include 2021-09-22 20:47:12 +02:00
0446ce2934 tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h) 2021-09-22 20:44:42 +02:00
Vera Clemens
06359e05ad drivers/lpsxxx: add support for lps22hh 2021-09-22 17:54:02 +02:00
Karl Fessel
c1e4a28c9b
Merge pull request #16877 from kfessel/p-add-risc-v-cpuarch-info
cpu/riscv,gd32,fe310: add CPU_ARCH, CPU_CORE information

adds CPU_ARCH to riscv_common preparing to handle it like cortex-m does
adds CPU_CORE to gd32v and fe310

match Kconfig to Makefile changes
2021-09-22 17:30:35 +02:00
Benjamin Valentin
13e16fa34f cpu/native: make use of stdio_read() / stdio_write()
On `native` the functions stdio_read() / stdio_write() were not
used.
Those functions are intended for alternative stdio implementations.
As a result, no alternative stdio could be used on `native`.

To fix this, call the functions in `_native_read()` / `_native_write()`
when dealing with stdio fds.
2021-09-22 17:22:30 +02:00
Karl Fessel
baf07e881e cpu/fe310: add CPU_CORE information 2021-09-22 15:51:54 +02:00
Karl Fessel
fe03c4c059 cpu/riscv,gd32: match Kconfig to Makefile changes 2021-09-22 15:50:28 +02:00
Karl Fessel
645cb04c4d cpu/riscv,gd32v: add CPU_ARCH, CPU_CORE information
adds CPU_ARCH to riscv_common preparing to handle it like cortex-m does
adds CPU_CORE to gd32v
2021-09-22 14:39:44 +02:00
mariem
9b9048af86 sys/auto_init: change gnrc ipv6 and tcp types. 2021-09-22 14:01:41 +02:00
Martine Lenders
ea8e632eda
Merge pull request #16765 from benpicco/RIOT_VERSION_CODE
build system: add machine-readable RIOT_VERSION_CODE macro
2021-09-22 12:47:35 +02:00
6cdd54e425
Merge pull request #16876 from jnohlgard/riscv-startup-absolute-fix
riscv: Simplify reset trampoline
2021-09-22 12:41:12 +02:00
Joakim Nohlgård
b70a4b7694 riscv: Simplify reset trampoline
By loading the absolute address of _start_real we can unconditionally
jump to it regardless if the PC is somewhere at 0x0 or at ROM_START_ADDR
2021-09-22 10:37:23 +02:00
Francisco
0b7eb2bbc9
Merge pull request #16836 from fjmolinas/pr_kconfig_mtd
drivers/mtd: fix Kconfig dependencies
2021-09-22 10:08:14 +02:00
Francisco Molina
14ef09b8b4 drivers/mtd: fix Kconfig dependencies
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.

There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Francisco Molina
af746208dc tests/mtd_raw: add Kconfig 2021-09-22 09:22:15 +02:00
Benjamin Valentin
eaf5162b5d tests/unittests: add test for kernel_defines 2021-09-21 17:43:29 +02:00
Benjamin Valentin
7ef2594327 core/include/kernel_defines.h: add RIOT_VERSION_NUM macro 2021-09-21 17:43:29 +02:00
benpicco
3090657b79
Merge pull request #16848 from benpicco/mtd_write_page-sector
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 16:50:12 +02:00
Benjamin Valentin
969d61b95a tests/mtd_raw: add test for mtd_write_page() across sectors 2021-09-21 15:20:02 +02:00
Benjamin Valentin
6f9b05cad8 mtd: fix mtd_write_page() across sector boundaries 2021-09-21 15:20:02 +02:00
Martine Lenders
fb05da46e3
Merge pull request #16874 from leandrolanzieri/pkg/tinydtls/fix_kconfig_detection
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 13:07:23 +02:00
Leandro Lanzieri
450884acf5
pkg/tinydtls: fix detection of Kconfig usage 2021-09-21 11:57:31 +02:00