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
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
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
krzysztof-cabaj
940f1eea4b
tools/elf2uf2: addition of new PROGRAMMER for rpi-pico board
2021-12-15 11:40:10 -05: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
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
Francisco
03a004e3c9
Merge pull request #17395 from fjmolinas/pr_cpu_no_rtt
...
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
2021-12-15 14:04:57 +01:00
c9207e81a3
cpu/esp8266: include cpu_conf.h in periph_cpu.h
2021-12-15 13:14:19 +01:00
2e74e5e3b9
cpu/esp32: include sdk_conf.h in periph_cpu.h
...
This allows access to CLOCK_CORECLOCK from periph_conf.h which is used by clk.h
2021-12-15 13:14:19 +01:00
2eb800cb8b
cpu/fe310: use coreclk instead of cpu_freq
2021-12-15 13:14:19 +01:00
b206658b51
cpu/native: define default CLOCK_CORECLOCK constant
2021-12-15 12:41:36 +01:00
Francisco
31f5899c56
Merge pull request #17374 from MrKevinWeiss/pr/fix/kconfig/stms2
...
boards/stm32-based: model Kconfig
2021-12-15 10:29:49 +01:00
MrKevinWeiss
51fdbdd75c
cpu/cortexm: fix kconfig libc_implemention
2021-12-15 08:39:00 +01:00
MrKevinWeiss
4ac5ad66db
cpu/stm32: Model bootloader_stm32 module
2021-12-15 08:38:59 +01:00
29ed101405
Merge pull request #17393 from fjmolinas/pr_kinetis_fix_rtt
...
cpu/kinetis/include: fix xtimer backend timer selection
2021-12-15 00:01:52 +01:00
dad01c17f6
Merge pull request #17386 from fjmolinas/pr_esp_ztimer
...
cpu/esp: migrate to ztimer
2021-12-14 23:39:56 +01:00
Francisco Molina
5e47fc7e22
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
...
The sam0 rtt busy loops for 180us every time an alarm is set or
the counter is read, this propagates and leads to timing errors
on ztimer_msec that are higher than > +-1msec.
The same goes for fe310.
2021-12-14 18:43:53 +01:00
Francisco Molina
4e6151bd7d
cpu/esp*: migrate from xtimer to ztimer
2021-12-14 18:14:35 +01:00
Francisco Molina
bf05468fab
cpu/kinetis/rtt: remove callback on clear
2021-12-14 13:20:36 +01:00
Francisco Molina
d4c84b592f
cpu/kinetis/include: fix xtimer backend timer selection
2021-12-14 13:20:36 +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
Marian Buschsieweke
1f53b88a62
Merge pull request #17387 from ngandrass/pr/cpu/atmega_common/timer_periodic
...
cpu/atmega_common: Remember CTC mode with timer_periodic
2021-12-13 14:11:52 +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
Niels Gandraß
41e8a57960
cpu/atmega_common: Remember CTC mode with timer_periodic
2021-12-13 12:08:38 +01:00
Marian Buschsieweke
5b86d65744
Merge pull request #14364 from gschorcht/fix_ndebug_compilation
...
Fix NDEBUG compilation problems
2021-12-12 14:39:42 +01:00
Gunar Schorcht
7405df2607
cpu/efm32/periph/wdt: fix compilation with NDEBUG
2021-12-12 13:18:46 +01:00
Gunar Schorcht
85313ccc02
Merge pull request #17232 from leandrolanzieri/pr/cpu/esp/model_kconfig
...
cpu/esp{32,8266}: model kconfig
2021-12-11 08:53:31 +01:00
benpicco
13f03ad161
Merge pull request #17314 from gschorcht/boards/esp/compile_optional_modules
...
cpu/esp: compile optional modules in CI
2021-12-10 19:28:24 +01:00
Leandro Lanzieri
a685e037c7
cpu/esp32: check for cpp module instead of used feature
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
01e01c4597
cpu/esp_common: move LINKFLAGS to Makefile.include
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
81b93c9b95
cpu/esp32/kconfig: move esp_wifi_enterprise feature to esp_common
2021-12-10 18:54:28 +01:00
Leandro Lanzieri
281519881e
cpu/esp32: fix esp_jtag dependency
...
In order to work properly dependencies should be placed on the
Makefile.dep files, not on Makefile.include.
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
721588b03b
cpu/esp8266: remove unneeded Makefile
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
53134d0474
cpu/esp32: require esp_spi_ram feature to use the module
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
9f31dfe28a
cpu/esp32: refactor esp_spi_ram feature
...
This feature is provided by all esp32_wrover% models, so group it in the
common file.
2021-12-10 18:54:27 +01:00
Leandro Lanzieri
185d1a20df
cpu/esp8266: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
bfdfbb1a48
cpu/esp32: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
7a8f58ac4c
cpu/esp_common: model Kconfig
2021-12-10 18:54:07 +01:00
Leandro Lanzieri
831101eea5
cpu/esp_common/periph_flash: fix dependency
2021-12-10 18:51:27 +01:00
Leandro Lanzieri
59d3f0bcc6
cpu/esp32: remove unneeded crypto dependencies
2021-12-10 17:34:19 +01:00
Leandro Lanzieri
252c3886b0
cpu/esp32: do not expand USEMODULE
2021-12-10 17:34:16 +01:00
Marian Buschsieweke
073e738178
Merge pull request #17362 from fjmolinas/pr_atxmega_stackfix
...
cpu/atxmega/include/cpu_conf: ztimer64 arithmetic idle stack fix
2021-12-09 14:41:19 +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
ea71155b9b
Merge pull request #17364 from fjmolinas/pr_cpu_unused_xtimer
...
cpu: remove unused `xtimer.h` headers
2021-12-09 13:54:46 +01:00
benpicco
ccc97db715
Merge pull request #17360 from viktorbatista/debug_fixes
...
core/include/debug.h: minor fix in debug.h
2021-12-09 12:41:33 +01:00
Francisco Molina
43b3b3991a
cpu/atxmega/include/cpu_conf: ztimer64 arithmetic idle stack fix
2021-12-09 12:15:15 +01:00
Francisco Molina
9438c20c59
cpu/stm32/periph: remove unused xtimer includ
2021-12-09 12:14:42 +01:00