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

33345 Commits

Author SHA1 Message Date
Benjamin Valentin
e697d93e02 riotboot: don't always return error in riotboot_flashwrite_finish_raw()
If `CONFIG_RIOTBOOT_FLASHWRITE_RAW` is not set, `riotboot_flashwrite_finish_raw()`
will always return `-1` as `res` is not set anywhere else.

Fix this by only returning -1 in the error case.
2020-11-18 16:13:47 +01:00
Bas Stottelaar
34c252d0e6
Merge pull request #15461 from basilfx/feature/efm32_driver_coretemp
cpu/efm32: add coretemp driver
2020-11-18 15:08:29 +01:00
e322bfbd47
Merge pull request #15421 from leandrolanzieri/pr/kconfig/native/hello_world
Kconfig: add modules to test on native
2020-11-18 15:02:34 +01:00
benpicco
36f1a9d4a8
Merge pull request #15462 from maribu/mutex_split_block
core/mutex: Minor cleanup
2020-11-18 15:01:26 +01:00
7ee62df9b2
Merge pull request #15467 from bergzand/pr/stm32/flashpage_common_blocktype
stm32/flashpage: Add common stm32_flashpage_block_t type
2020-11-18 14:54:20 +01:00
Francisco Molina
cb28708f06
tests/riotboot: make automatic script work with cc2538-bsl
cc2538-bsl can't flash if the terminal is attached, refactor the test
so the terminal is detached between flashes.
2020-11-18 14:51:01 +01:00
Francisco Molina
49d054cc2d
dist/tools/cc2538-bsl: bump version 2020-11-18 14:47:19 +01:00
81c270dc1b
stm32/flashpage: Remove page address casts from erase
This removes the redefinitions of the page address in the erase
function.
2020-11-18 12:30:40 +01:00
Bas Stottelaar
d66d8ae998 tests/cpu_efm32_drivers: add test application 2020-11-18 12:28:45 +01:00
Bas Stottelaar
e1b356e884 boards/efm32: enable efm32_coretemp driver 2020-11-18 12:28:45 +01:00
Bas Stottelaar
e3b15a4cc4 drivers/saul: add auto init for efm32_coretemp 2020-11-18 12:28:45 +01:00
Bas Stottelaar
431e6efdf6 cpu/efm32: add coretemp driver 2020-11-18 12:28:45 +01:00
aebf6f06d8
stm32/flashpage: Add common stm32_flashpage_block_t type
This commits adds a common type for the block writes to the flash of the
stm32. Depending on the family, the type has a different size. This
allows the removal of a number of ifdefs to track the differences
between families, simplifying the flashpage code
2020-11-18 12:04:57 +01:00
Marian Buschsieweke
a06a7978d3
core/mutex: clean up mutex_lock()
- Split out handling of the blocking code path of mutex_lock() into a static
  `_block()` function. This improves readability a bit and will ease review of
  a follow up PR.
- Return `void` instead of `int`.
2020-11-18 11:58:49 +01:00
Francisco
a11514a198
Merge pull request #15419 from leandrolanzieri/pr/ci/compile_kconfig_first
.murdock: run Kconfig compilation first when needed
2020-11-18 11:32:04 +01:00
Marian Buschsieweke
921bc7f6e0
cpu/esp*: Fix cast alignment issues
- Add `WORD_ALIGNED` attribute to potentially unaligned allocations
- Use intermediate cast to `uintptr_t` to silence false positives of
  `-Wcast-align`
2020-11-18 10:19:23 +01:00
Leandro Lanzieri
9021a0b13a
tests/periph_gpio: add native-specific configuration file 2020-11-18 10:08:01 +01:00
Leandro Lanzieri
43cc7beb26
cpu/native: add periph_spidev module to Kconfig 2020-11-18 10:08:01 +01:00
Leandro Lanzieri
2306516d0d
drivers/periph_common: add CPU specific RTC Kconfig 2020-11-18 10:08:00 +01:00
Leandro Lanzieri
c4fda9f4a9
cpu/native/backtrace: add module to Kconfig 2020-11-18 10:08:00 +01:00
Leandro Lanzieri
f973f8de03
murdock: add native:hello-world and periph_* to Kconfig tests 2020-11-18 10:08:00 +01:00
Leandro Lanzieri
1d868f2b7b
cpu/native: select needed modules in Kconfig 2020-11-18 10:07:59 +01:00
Leandro Lanzieri
8715f19c26
cpu/native/periph: add Native GPIO modules to Kconfig 2020-11-18 10:07:59 +01:00
Leandro Lanzieri
1d1a96fb8a
drivers/periph_common/kconfig.gpio: include CPU configs 2020-11-18 10:07:59 +01:00
Leandro Lanzieri
8df4512960
cpu/native: add default configuration 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
8b0e0d2f52
boards/native: add native_drivers module to Kconfig 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
402efc4750
boards/native: rename native-drivers module to native_drivers 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
5a87053fa4
sys/stdio: add stdio_native module to Kconfig 2020-11-18 10:07:54 +01:00
Marian Buschsieweke
21bf7c0d01
cpu/fe310: Silence -Wcast-align 2020-11-18 09:58:52 +01:00
benpicco
6cf6b47c27
Merge pull request #15445 from btcven/2020_11_05-gp2y10xx
drivers: add gp2y10xx dust sensor
2020-11-18 09:56:03 +01:00
Leandro Lanzieri
3d3d22c2fb
.murdock: remove unneeded board name conversion 2020-11-18 09:30:53 +01:00
Leandro Lanzieri
1ff2a8c2a7
.murdock: run Kconfig compilation first when needed
This allows to run the tests with the normal binary and avoids having to
test the TEST_KCONFIG flag during the test stage.
2020-11-18 09:30:50 +01:00
Jean Pierre Dudey
e920a2e645 drivers: add gp2y10xx dust sensor
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-18 09:13:56 +01:00
Marian Buschsieweke
90103f2a6a
core/mutex: consistent debug output 2020-11-18 09:13:00 +01:00
benpicco
1f7fdbc97a
Merge pull request #15099 from maribu/cortexm-common-cast-align
cpu/cortexm_common: Silence -Wcast-align false positives
2020-11-18 00:38:03 +01:00
Bas Stottelaar
f00605efc3
Merge pull request #15456 from rdagher/master
dist/tools/jlink: debugserver test_config prior test_version
2020-11-17 19:59:26 +01:00
073d2c6e35
Merge pull request #15454 from aabadie/pr/ci/gh_action_circleci_name
gh_actions: give a name to the circleci doc artifact action
2020-11-17 17:42:44 +01:00
Roudy Dagher
1dc6c848f6 dist/tools/jlink: debugserver test_config prior test_version 2020-11-17 16:42:54 +01:00
2aaa792dad
gh_actions: give a name to the circleci doc artifact action 2020-11-17 16:27:17 +01:00
48aef18d9e
Merge pull request #15455 from aabadie/pr/ci/static-test-fix-on-master
gh_actions: fix rebase issue with static-test
2020-11-17 16:19:13 +01:00
Marian Buschsieweke
45b8902659
Merge pull request #15314 from aabadie/pr/sys/arduino_print_float
sys/arduino: fix print float
2020-11-17 16:15:39 +01:00
9b339df085
gh_actions: fix rebase issue in static-test
Also remove the push triggers because they are useless
2020-11-17 15:19:56 +01:00
benpicco
afbf507a74
Merge pull request #15440 from maribu/pointer-tagging
sys: Add helpers for pointer tagging
2020-11-17 14:21:46 +01:00
benpicco
d1ccd53c43
Merge pull request #15450 from janosbrodbeck/pr/tinydtls_fix_handshake_session
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-17 14:21:37 +01:00
4d8ca6a2e1
Merge pull request #15395 from fjmolinas/pr_suit_interactive_test
examples/suit_update: use interactive sync in test
2020-11-17 13:57:53 +01:00
Leandro Lanzieri
5a04f94b63
Merge pull request #14967 from aabadie/pr/boards/stm32f0_clock_kconfig_only
boards/stm32f0: add Kconfig for clock configuration
2020-11-17 12:14:10 +01:00
2f8460a457
Merge pull request #15437 from aabadie/pr/ci/gh_actions_static_test
CI: use Github actions for static tests instead of Travis
2020-11-17 12:09:26 +01:00
Francisco
fe510cd823
Merge pull request #15439 from leandrolanzieri/pr/drivers/network_devices_remove_netif_dep
drivers/network devices: remove unused netif dependency
2020-11-17 12:06:18 +01:00
dad5ca3276
Merge pull request #14953 from benpicco/drivers/mtd_mapper-pagewise
mtd_mapper: implement pagewise functions
2020-11-17 11:46:52 +01:00
Benjamin Valentin
27dbd6d3fe tests/pkg_fatfs: adapt to API change in f_mkfs() 2020-11-17 11:29:28 +01:00