Hauke Petersen
0ea7bf33d0
nimble/netif: support ext adv and BLE 5 PHY modes
2022-01-27 10:30:29 +01:00
chrysn
99d245f538
Merge pull request #17520 from chrysn-pull-requests/rust-enable-riscv
...
cpu/riscv_common: Enable Rust applications
2022-01-26 19:14:50 +01:00
Gunar Schorcht
d6f86a9b7a
makefiles/libc/newlibc: allow toolchains with nano version only
...
The check for `newlib-nano` assumes that a toolchain which provides `newlib-nano` provides both the normal version and the nano version of the `newlib`.The nano version of `newlib.h` is therefore stored in its own include directory. This is the case for toolchains which allow to use both the normal and the nano version, e.g. for ARM and RISC-V.
However, if the toolchain provides `newlib_nano` but only allows the use of the nano version, it will only have the nano version of `newlib.h` and no separate directory for it, e.g. for ESP32.
To still be able to use such toolchains with `newlib_nano`, the check is changed so that the setting of the `-isystem` option depends on the existence of the separate directory.
2022-01-23 10:48:26 +01:00
Francisco Molina
8b45ed87be
drivers/rtt_rtc: select rtc_utils
2022-01-18 15:32:38 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
...
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
chrysn
210ad505aa
makefiles: Reuse some of Rust's ~/.cargo in Docker container
...
Without passing this through, any crate downloads would go to the
container's image's scratch space, to be re-downloaded for each build,
and with new time stamps that cause compilation to start anew as well.
2022-01-14 14:59:04 +01:00
chrysn
d391b1c5f4
cpu/riscv_common: Enable Rust applications
...
This contains a workaround for
https://github.com/rust-lang/rust-bindgen/issues/1555 (withouot which
bindgen would fail, with little information helping remedy the cause)
2022-01-14 13:42:32 +01:00
9eec6f4eb1
makefiles/openocd: remove DEBUG_ADAPTER and PRE_FLASH_CHECK_SCRIPT vars
2022-01-08 12:05:46 +01:00
135e0a6ca1
makefiles/tools/pyocd: remove deprecated FLASH_TARGET_TYPE var
2022-01-08 12:04:51 +01:00
6e8d3246e6
makefiles/tools: remove deprecated FFLAGS_OPTS variable
2022-01-08 12:04:02 +01:00
c7a27fb073
make: introduce makefile to optimize driver with disp/touch_dev build
2022-01-06 12:07:07 +01:00
1432d3b5b5
make: introduce makefile to optimize driver with saul build
2022-01-06 12:07:06 +01:00
Gunar Schorcht
181f6423ae
makefiles/cflags: enable C++14 by default
2022-01-06 11:15:23 +01:00
8d3d012acd
Merge pull request #17248 from benpicco/riotboot_serial-btn
...
riotboot_serial: enter bootloader mode by pin
2022-01-05 14:14:00 +01:00
0056648581
Merge pull request #17418 from aabadie/pr/drivers/periph_build_enh
...
drivers/periph_common: build periph module selectively
2022-01-04 14:59:39 +01:00
Gunar Schorcht
af621ec91b
sys/usb/cdc/acm: implementation of stdio_available
2022-01-03 16:14:11 +01:00
Gunar Schorcht
0ffad24112
sys/stdio_uart: implementation of stdio_available
2022-01-03 16:14:11 +01:00
Gunar Schorcht
a71dec81a2
sys/stdio_base: add optional function stdio_available
...
A couple of `stdio` backend implementations allow to check for the number of available bytes for reading before the blocking `stdio_read` is called. This helps to implement non-blocking functionalities while waiting for `stdin`.
2022-01-03 16:14:11 +01:00
79df157727
sys: move rtc utility functions to their own module
2021-12-20 13:04:20 +01:00
chrysn
4e3e21d3ab
build-info: Report Rust target
2021-12-19 10:02:38 +01:00
chrysn
afdabcf9b6
Merge pull request #16274 from chrysn-pull-requests/rust-application
...
Add some Rust building infrastructure and example
2021-12-16 16:17:28 +01:00
Martine Lenders
e062ad78f3
Merge pull request #17265 from miri64/ethos/fix/threadify-state-machine
...
ethos: move bulk of state machine out of ISR context
2021-12-16 12:24:14 +01:00
Marian Buschsieweke
882c593575
Merge pull request #17348 from krzysztof-cabaj/add-elf2uf2-tool
...
tools/elf2uf2: addition of new PROGRAMMER for RPi-pico
2021-12-15 22:08:51 +01:00
krzysztof-cabaj
940f1eea4b
tools/elf2uf2: addition of new PROGRAMMER for rpi-pico board
2021-12-15 11:40:10 -05:00
Martine Lenders
568be105f2
stdio_ethos: move to ethos_stdio
2021-12-15 16:15:29 +01:00
Francisco Molina
69d82777e2
makefiles/docker.inc.mk: pass TEST_KCONFIG
2021-12-14 20:23:55 +01:00
chrysn
732c369b7e
makefiles: Add mechanism to build modules through Cargo
...
... and to dissect the static libraries into invidial .o files to link
them the same way we link C.
2021-12-14 13:27:41 +01:00
chrysn
a2e1b92e1d
makefiles: Define RUST_TARGET for use with Cargo / Rust
...
For RISC-V and Cortex-M-not-3, triples are known and have worked in some
configuration, but do not work at the moment and stay disabled until the
reference platforms (native, M3) have been established well.
2021-12-14 12:55:13 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
...
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
Kevin "Tristate Tom" Weiss
ed94dd7085
Merge pull request #17376 from leandrolanzieri/pr/makefiles/add_board_cpu_config_variables
...
makefiles/kconfig: add board & CPU config variables
2021-12-13 13:26:40 +01:00
Leandro Lanzieri
df7ce1c647
makefiles/kconfig: use two lists for boards and CPUs default configs
...
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for
boards and CPUs (including common directories) to add default
configuration files to be merged. The current approach, as it uses
Makefile.features, would include boards first, not allowing them to
override CPU configurations.
2021-12-13 12:33:21 +01:00
Leandro Lanzieri
aec9d7a8e5
makefiles/features_modules: do not generate init for ESP RTT
...
This avoids the generation of the unneeded modules
periph_init_rtt_hw_rtc and periph_init_rtt_hw_sys.
2021-12-10 18:51:24 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
...
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
Francisco
622fca0235
Merge pull request #17304 from MrKevinWeiss/pr/depmips
...
cpu/mips: deprecate mips cpu
2021-12-09 11:57:20 +01:00
d959ce7eea
Merge pull request #16928 from kaspar030/ztimer64
...
sys/ztimer64: initial PR
2021-12-09 10:17:15 +01:00
MrKevinWeiss
cf74b26c55
cpu/mips: deprecate mips cpu
...
Add deprecate note in the mips cpu.
Add warning in make when any mips based board is being used (6lowpan-clicker, pic32-wifire).
2021-12-09 10:14:52 +01:00
439fcbf392
sys/ztimer64: initial implementation
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-07 23:57:56 +01:00
Leandro Lanzieri
9bfa652f9e
makefiles/features_modules: don't generate init for kinetis periphs
2021-12-07 11:32:16 +01:00
aa17621279
stdio_rtt: Convert to ztimer
2021-12-07 10:03:54 +01:00
Gunar Schorcht
912bb604ee
makefiles: remove PCF857x pseudomodule definition
...
The pseudomodules used by the PCF7857x driver are correctly defined by `Makfefile.include` of the driver. However, by mistake they were left in `makefiles/pseudomodules.mk` when the very old PR was rebased to the current master. That is, they were only leftovers that have been overseen after rebasing an squashing dozens of fixup commits.
2021-12-05 15:57:34 +01:00
benpicco
0646862421
Merge pull request #10430 from gschorcht/drivers_pcf857x
...
drivers: add PCF857X I2C I/O expander driver
2021-12-04 16:57:01 +01:00
Gunar Schorcht
dae1da051b
makefiles: add PCF957X driver pseudomodules
2021-12-04 14:11:04 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
...
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Marian Buschsieweke
63b54b5e84
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 14:22:17 +01:00
Hauke Petersen
34b009fcc1
pkg/nimble: add config options for BLE5 PHYs
2021-12-02 23:31:32 +01:00
Francisco
cb07027b39
Merge pull request #17277 from leandrolanzieri/pr/cpu/qn908x/model_kconfig
...
cpu/qn908x: model kconfig
2021-12-01 01:03:30 +01:00
Leandro Lanzieri
07871d072e
makefiles/features_modules: avoid init for qn908x periphs
2021-11-29 13:56:43 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model
2021-11-29 09:12:27 +01:00
MrKevinWeiss
ecb0b17910
makefiles/kconfig: Prevent pkg-prepare for info-packages
...
As the packages need to be downloaded before they can be included in menuconfig it becomes a bit pointless.
This also messes around with make info-packages, adding unwanted output
2021-11-26 09:26:25 +01:00
Leandro Lanzieri
6769101c34
sys/arduino: add pseudomodule for the arduino_pwm feature
2021-11-22 12:25:58 +01:00
Leandro Lanzieri
7036388769
drivers/periph_common: add RTC ms module to Kconfig
2021-11-22 12:25:57 +01:00
Leandro Lanzieri
39ebbfd460
makefile.include: add RIOTKCONFIG
2021-11-22 12:25:30 +01:00
Benjamin Valentin
4be2829537
makefiles: riotboot_serial: default to STDIO BAUD for PROG_BAUD
...
If $(PROG_BAUD) is not set, default to the boards $(BAUD).
2021-11-21 23:08:31 +01:00
Benjamin Valentin
f362a19eed
sys/shell: hide random commands behind random_cmd pseudo-module
...
These commands cost 248 bytes of memory, we don't want to always
include them when the `random` module is selected.
2021-11-19 16:53:46 +01:00
Leandro Lanzieri
c5b29916eb
makefile.dep: require arch_ cpu_core_ features first
2021-11-18 09:00:35 +01:00
Francisco Molina
81c5d5dbcc
sys/event/timeout: split xtimer, ztimer backends, don't force usec
...
This PR makes `event_timeout` and `event_timeout_ztimer` two distinct
pseudomodules, where the only api difference is in the init function.
If only `event_timeout_ztimer` is selected then no default ZTIMER
backend is selected and the old init function is not implemented.
If only `event_timeout` is selected then `xtimer` is used unless
`ztimer_usec` is included. In which case the `xtimer` wrapper on top
of `ztimer` is used and `xtimer` is not directly selected. This
allows for the legacy api to be supported with `ztimer_usec` as
a drop-in replacement.
If `event_timeout` and `event_timeut_ztimer` are selected then
`event_timeout` SRC file is excluded from compilation.
2021-11-17 10:15:11 +01:00
chrysn
69dadf61e9
Merge pull request #17152 from maribu/sys/posix/sockets
...
sys/posix/socket: align struct sockaddr{,_storage}
2021-11-16 13:55:27 +01:00
Benjamin Valentin
3303b8c16a
Makefile.include: rename Makefile.ci target to create-Makefile.ci
...
If we
-include Makefile.ci
and `Makefile.ci` does not exist, but we provide `make` with a way
on how to do so, it will try to create `Makefile.ci`.
This is not what we want, but I don't know how to disable this automagic.
So rename the target to `create-Makefile.ci` to avoid the conflict.
2021-11-15 20:20:11 +01:00
benpicco
7c8504186e
Merge pull request #16109 from benpicco/dist/tools/create_makefile.ci.sh
...
tools/insufficient_memory: add create_makefile.ci.sh and Makefile.ci make target
2021-11-15 18:12:01 +01:00
Benjamin Valentin
0b3e4cd43f
tools/insufficient_memory: add create_makefile.ci.sh
2021-11-15 17:41:54 +01:00
Marian Buschsieweke
4b02d0fbc1
makefiles/arch: use -std=gnu11 also for MIPS
...
This brings MIPS back in line with the other archs.
2021-11-11 09:55:24 +01:00
benpicco
4c61a99125
Merge pull request #17127 from benpicco/riscv-none-embed
...
makefiles: RISC-V: prefer target triple from riotdocker
2021-11-05 23:20:12 +01:00
Benjamin Valentin
b4dc8a5366
makefiles: RISC-V: prefer target triple from riotdocker
2021-11-04 10:02:04 +01:00
2b696fd770
stdio_semihosting: Convert to ztimer
2021-11-03 11:39:26 +01:00
Marian Buschsieweke
ed9bf358c5
sys/shell: Add nice shell command via module nice
2021-11-02 20:44:32 +01:00
Francisco
7f3344870d
Merge pull request #16972 from Ollrogge/flashpage_pr
...
periph/flashpage: extend API
2021-10-26 12:51:05 +02:00
Gunar Schorcht
697c44811a
Merge pull request #16911 from yarrick/esp_jtag
...
cpu/esp32: Add openocd programming support
2021-10-26 01:24:27 +02:00
Ollrogge
741943f021
cpu/msp430_common: extend flashpage API
2021-10-25 15:03:50 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
...
sys/net: Add ipv4/ipv6 pseudomodules
to ease code unification
2021-10-20 11:58:26 +02:00
Erik Ekman
cbfe502cc6
cpu/esp32: Reset when starting debugging
...
To avoid 'Target not examined yet' error
2021-10-18 20:11:32 +02:00
Erik Ekman
1c6d7dcdaf
tools/openocd: Make verifying flashed image optional
...
Checksumming flash is not supported on xtensa platform:
Warn : not implemented yet
make: *** [.../RIOT/examples/saul/../../Makefile.include:796: flash] Error 1
2021-10-15 10:13:25 +02:00
Erik Ekman
2df7d499c8
tools/openocd: Export IMAGE_OFFSET only when flashing
2021-10-15 10:12:40 +02:00
Erik Ekman
3d7d211157
cpu/esp: Always create app.elf.bin and partitions.bin
...
Even if programmer is not esptool
2021-10-15 09:59:38 +02:00
Marian Buschsieweke
32be74291c
Merge pull request #16790 from maribu/cpu/avr8_common/ldscripts
...
cpu/avr8_common: Fix link with binutils > 2.35.2
2021-10-15 09:59:14 +02:00
Marian Buschsieweke
62d6a560b1
cpu/avr8_common: Fix link with binutils > 2.35.2
...
The xfa.ld script is incompatible with binutils > 2.35.2 and results
in firmwares that wont boot. Sadly, I couldn't figure out an elegant
way to fix the issue. Instead, I modified the linker script provided
by binutils to also include XFA.
2021-10-13 16:37:19 +02:00
Leandro Lanzieri
e8ad257d66
Makefile.base: do not clean objects of bindist modules
2021-10-13 14:22:51 +02:00
04f1ed0274
make: add info-emulated-boards helper target
2021-10-12 10:39:57 +02:00
Erik Ekman
9844953da4
sys/net: Add ipv4 pseudomodule
...
Enabled when lwIP uses IPv4.
2021-10-11 21:37:47 +02:00
Erik Ekman
3df56d576f
sys/net: Add ipv6 pseudomodule
...
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
Francisco
93bff48538
Merge pull request #16909 from leandrolanzieri/pr/cpu/riscv/model_kconfig
...
cpu/riscv: model Kconfig
2021-10-05 16:51:17 +02:00
2d00852a74
makefiles/pseudomodules: remove driver specific pseudomodules
2021-10-05 11:48:53 +02:00
chrysn
2219a7a2e3
docker: pass CONTINUE_ON_EXPECTED_ERRORS into container
2021-10-01 15:46:45 +02:00
Leandro Lanzieri
cf753c6790
cpu/riscv_common: model Kconfig
2021-10-01 11:26:15 +02:00
benpicco
a39c0e1010
Merge pull request #16750 from benpicco/gnrc_ipv6_auto_subnets
...
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 19:07:21 +02:00
Benjamin Valentin
6742fb8076
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 16:57:10 +02:00
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
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
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
Marian Buschsieweke
65ddc09798
makefiles/vars.inc.mk: Document DEVELHELP and VERBOSE_ASSERT
2021-09-25 15:16:09 +02:00
Vera Clemens
06359e05ad
drivers/lpsxxx: add support for lps22hh
2021-09-22 17:54:02 +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
Benjamin Valentin
7ef2594327
core/include/kernel_defines.h: add RIOT_VERSION_NUM macro
2021-09-21 17:43:29 +02:00
Leandro Lanzieri
9980aa35b3
sys/net/credman: add key loading functions
...
This allows to load private and public keys encoded in DER format.
2021-09-20 08:10:59 +02:00
Benjamin Valentin
67f737b5e0
drivers/cc110x: use pseudo-modules for band selection
2021-09-17 12:58:10 +02:00
chrysn
0af6a5a7b5
Merge pull request #16857 from dylad/pr/docker/fix_particle_based_board_flashing
...
makefiles/docker.inc.mk: pass PARTICLE_MONOFIRMWARE to docker env vars
2021-09-15 20:01:14 +02:00
Dylan Laduranty
c6b6c71a42
makefiles/docker.inc.mk: pass PARTICLE_MONOFIRMWARE to docker env vars
...
This will allow the generation of the bin-checksummed file needed by dfu-util flashtool and thus allow to flash the all particle-based board with RUN_IN_DOCKER=1
2021-09-15 15:45:05 +02:00
4fd1ae89a7
Merge pull request #16463 from kfessel/p-sched-int
...
core/sched: add runq_callback hook and runq inspection functions
2021-09-15 15:43:50 +03:00
Kevin "Tristate Tom" Weiss
4c6dc973c8
Merge pull request #16719 from MrKevinWeiss/pr/kconfig/cc2538
...
cpu/cc2538: Add Kconfig support
2021-09-09 08:21:09 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
...
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00