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

37981 Commits

Author SHA1 Message Date
79df157727
sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
749efa507d
drivers/periph_common: build periph module selectively 2021-12-20 13:04:20 +01:00
3b601933ce
Merge pull request #17428 from aabadie/pr/boards/unify_user_button_define
boards: unify user button defines
2021-12-20 11:43:07 +01:00
4877155e23
boards: unify user button defines 2021-12-20 11:39:17 +01:00
9e3062e3c6
Merge pull request #17423 from chrysn-pull-requests/rust-docs-qualityoflife
doc: Rust overview
2021-12-20 10:27:22 +01:00
ffecd0110a
Merge pull request #17421 from aabadie/pr/cpu/stm32_kconfig_cleanup
cpu/stm32: remove invalid family symbols used in Kconfig
2021-12-19 11:52:54 +01:00
chrysn
9b66bd59e1 rust: Add overview documentation 2021-12-19 11:15:04 +01:00
6f69996937
cpu/stm32/Kconfig: replace tabs with spaces 2021-12-19 10:37:29 +01:00
ec46f1b3f1
cpu/stm32: remove invalid symbols used in Kconfig 2021-12-19 10:33:12 +01:00
chrysn
4e3e21d3ab build-info: Report Rust target 2021-12-19 10:02:38 +01:00
2c3e077bca
Merge pull request #17413 from gschorcht/cpu/esp32/support_clocks_2_and_40_MHz
cpu/esp32: support CPU clocks 2 MHz and 40 MHz
2021-12-18 21:58:34 +01:00
43988120f9
Merge pull request #17409 from kaspar030/ztimer_no_timer_fix
sys/ztimer: don't access non-existant timer
2021-12-17 23:27:04 +01:00
Jean-Pierre De Jesus DIAZ
466fdf5114
Merge pull request #17415 from gschorcht/cpu/esp/wifi_ap_dynamic_ssid_option
cpu/esp: change dynamic SSID option handling
2021-12-17 18:11:38 +01:00
Gunar Schorcht
5d00acc868 cpu/esp32/spi: support 2 MHz and 40 MHz APB clocks 2021-12-17 17:45:25 +01:00
Gunar Schorcht
470208e685 cpu/esp32/i2c_hw: assert added for unsupported I2C clock speeds
The former correction factors were determined by measuring the resulting clocks without a device connected to the bus.

However, when testing the changes for low CPU clock frequencies, it was figured out that the clocks not only depend on configured register values

    _i2c_hw[dev].regs->scl_low_period.period
    _i2c_hw[dev].regs->scl_high_period.period

but also on the bus capacity. Obviously, the register values are not absolute times in APB clock cycles, but rather times that start as soon as the corresponding level is reached. In this case, the higher the bus capacity, the longer the period would be.

This means that the clock speed cannot be precisely controlled via the correction factors anyway. For this reason, and because the I2C implementation in ESP-IDF also does not use correction factors, they were removed.
2021-12-17 17:44:27 +01:00
bcc1432fac
Merge pull request #17223 from miri64/security-md/enh/add-link
SECURITY.md: Add key link
2021-12-17 10:19:12 +01:00
Martine Lenders
2c6d4df1c7
SECURITY.md: Add key link 2021-12-17 10:04:16 +01:00
385e65f497
Merge pull request #17405 from kaspar030/can_fast_ci_run_skipcomments
tools: can_fast_ci_run.py: ignore comment changes for `\.[ch]$`
2021-12-17 09:12:59 +01:00
chrysn
9e35b75ff4
Merge pull request #17408 from chrysn-pull-requests/ztimer-report-removal
sys/ztimer: ztimer_remove report success
2021-12-17 08:57:14 +01:00
60f9ceabd1 tools: can_fast_ci_run.py: ignore comment-only change for .[ch] 2021-12-16 20:50:52 +01:00
c9e30b01c0
Merge pull request #16333 from fjmolinas/pr_driver_hm3301
drivers/hm330x: initial commit
2021-12-16 17:56:45 +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
chrysn
c703dc6e35 sys/ztimer: Documentation clarification 2021-12-16 15:35:20 +01:00
chrysn
991f74a62a sys/ztimer: ztimer_remove return its success
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-16 15:35:17 +01:00
Francisco Molina
aedec107d4 tests/driver_hm330x: initial import 2021-12-16 15:19:55 +01:00
Francisco Molina
fe38284a3c drivers/hms330x: initial import 2021-12-16 15:19:44 +01:00
eb72086e35
Merge pull request #17414 from fjmolinas/pr_ztimer64_init
sys/ztimer64: default select ztimer64_init
2021-12-16 15:11:46 +01:00
chrysn
1838cdf69c rust: Add triples for M23 and M33 (but keep disabled) 2021-12-16 13:29:31 +01:00
chrysn
b557fdce55 rust: Enable on Cortex-M0(+) boards 2021-12-16 13:29:31 +01:00
chrysn
a72ee1fb03 compile_commands: Don't produce duplicate -c arguments 2021-12-16 13:29:31 +01:00
chrysn
d0ed537bae compile_commands: Filter out GCC-only -malign-data=natural 2021-12-16 13:29:30 +01:00
chrysn
6246ab70d1 examples: Add second Rust example (gcoap) 2021-12-16 13:29:30 +01:00
chrysn
49403c7781 examples: Add Rust example 2021-12-16 13:29:30 +01:00
chrysn
72e4c1803f rust: Add minimal test
Unlike the hello-world example (that is largely identical), this gets
run during CI.
2021-12-16 13:29:30 +01:00
Gunar Schorcht
effc49f864 cpu/esp32: small documentation fix 2021-12-16 13:18:52 +01:00
Gunar Schorcht
8ac808e4fd cpu/esp: cleanup for dynamic SoftAP SSID option
The semantics of defining an SSID prefix that overrides the already defined SSID exactly when and only when it is set, and then enabling dynamic SSID generation with that prefix, made handling the parameter definition unnecessarily difficult and hard to understand.

Defining a boolean option that enables dynamic SSID generation, which then simply reuses the defined SSID as a prefix, makes it much more understandable and easier to handle, especially with respect to Kconfig.
2021-12-16 13:17:17 +01:00
Francisco Molina
f3e348dee0 sys/ztimer64: default select ztimer64_init 2021-12-16 12:28:25 +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
Gunar Schorcht
0b4fb5a9ea cpu/esp32/i2c_sw: add delays for 2 and 40 MHz 2021-12-16 10:44:53 +01:00
6efee528e0
Merge pull request #17402 from MrKevinWeiss/pr/ci/testallboards
.murdock: Kconfig test apps for all boards
2021-12-15 22:36:52 +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
benpicco
570d29c05c
Merge pull request #17400 from maribu/cpu/nrf5x_common/periph_temperature
cpu/nrf5x_common/periph_temperature: Increase resolution
2021-12-15 18:53:50 +01:00
MrKevinWeiss
5f7c31f5fa
.murdock: Kconfig test apps for all boards
Introduce the TEST_KCONFIG_TEST_ALLOWLIST and TEST_KCONFIG_BOARD_BLOCKLIST
This will test kconfig modeling on a small subset of apps
for all boards that are not on the blocklist.

This should automatically test new boards, preventing merging
of non-kconfig complete boards.
2021-12-15 18:43:38 +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
820a3976ad
ethos: move bulk of state machine out of ISR context
This moves the following parts of ethos' state machine out of ISR
context:

- Sending and replying to HELLO messages
- Byte-unstuffing

Some escape handling is still needed in the ISR handler, due to ethos'
protocol design, to determine if a received byte must go into the
netdev queue (tsrb) or the STDIO queue (isrpipe), but the actual
unstuffing is now done in the STDIO and netdev handler threads,
respectively.
2021-12-15 16:15:30 +01:00
Martine Lenders
568be105f2
stdio_ethos: move to ethos_stdio 2021-12-15 16:15:29 +01:00
Marian Buschsieweke
8ee657f0e5
cpu/nrf5x_common/periph_temperature: Increase resolution
Modify the periph_temperature implementation to expose the full
resolution of the temperature sensor. The accuracy of the sensor will
likely be less than 0.25 °C, but typically temperature sensors have
a precision in the order of their resolution. Exposing the full
resolution can therefore be useful to monitor relative temperature
changes.
2021-12-15 16:14:08 +01:00
b551bbf747 sys/ztimer: don't access non-existant timer 2021-12-15 15:51:59 +01:00
a8ade82a95
Merge pull request #17404 from kaspar030/ztimer_clarify_now_comparisons
sys/ztimer: ztimer_now() add warning regarding comparing now() values
2021-12-15 15:44:27 +01:00
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00