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

34223 Commits

Author SHA1 Message Date
Francisco
5c5ec632a5
Merge pull request #15716 from leandrolanzieri/pr/kconfig/ztimer
sys/ztimer: add modules to Kconfig
2021-01-20 15:31:20 +01:00
fd4f3f829d
littlefs2: Bump to v2.4 2021-01-20 15:03:15 +01:00
4baa19c046
ci/test-on-iotlab: exclude tests/periph_timer_short_relative_set 2021-01-20 14:54:32 +01:00
f8fe14ebf7
ci/test-on-iotlab: remove suit_update from excluded apps 2021-01-20 14:54:27 +01:00
5bc7555ae7
Merge pull request #15794 from fjmolinas/pr_fix_posix_sleep
tests/posix_sleep: fix for invalid RTT configurations
2021-01-20 14:07:23 +01:00
Martine Lenders
bfeef735d1
Merge pull request #15813 from jia200x/pr/vera/revert_tcl
ci/vera++/rules/L004: remove warning support
2021-01-20 13:10:10 +01:00
Martine Lenders
c2cbc0bc71
Merge pull request #15779 from miri64/gh-actions/fix/release-test-artifact-name
release-tests: fix artifact naming and steps cleanup for matrix build
2021-01-20 13:08:08 +01:00
a1250963d4
Merge pull request #15780 from haukepetersen/opt_ztimer_isset
ztimer: add ztimer_is_set() to user API
2021-01-20 12:42:21 +01:00
Jose Alamos
d5062cfd4e
ci/vera++/rules/L004: remove warning support
This reverts commit f3a934a169.
2021-01-20 11:04:12 +01:00
Martine Lenders
04bee90e6f
release-tests: skip tapsetup when running IoT-Lab job 2021-01-20 11:00:17 +01:00
Martine Lenders
50c5847eca
release-tests: fix artifact naming for matrix build 2021-01-20 11:00:17 +01:00
benpicco
d54cc2ee1f
Merge pull request #15808 from bergzand/pr/jlink/add_silent
tools/jlink.sh: Run JlinkExe with silent when debugging
2021-01-20 10:48:26 +01:00
84dfc88ca3
cpu/arm7_common: Inline thread_yield_higher function 2021-01-20 10:37:42 +01:00
Marian Buschsieweke
21264b80cf
cpu/stm32/periph_eth: improve debugging output
Add ENABLE_DEBUG_VERBOSE flag, so that the noise during debugging can be
reduced. This is super helpful when testing under load, as otherwise there is
just too much noise in the output.
2021-01-20 10:36:59 +01:00
Marian Buschsieweke
788f997452
cpu/stm32/periph_eth: fix error handling
An earlier version of periph_eth used to always pack the first chunk of the
outgoing frame to the first DMA descriptor by telling the DMA to jump back
to the first descriptor within the last descriptor. This worked fine unless
the frame was send in one chunk (as e.g. lwip does), which resulted due to a
hardware bug in a frame being send out twice. For that reason, the behavior was
changed to cycle throw the linked DMA descriptor list in round-robin fashion.
However, the error checking was not updated accordingly. Hence, the error
check might run over (parts of) unrelated frames and fail to detect errors
correctly.

This commit fixes the issue and also provides proper return codes for errors.

Additionally, an DMA reset is performed on detected errors during RX/TX. I'm
not sure if/when this is needed, as error conditions are neigh impossible to
produce. But better be safe than sorry.
2021-01-20 10:35:05 +01:00
Francisco
4cc6c23ec6
Merge pull request #15809 from maribu/bitband-fix
sys/bit: provide CPU_HAS_SRAM_BITBAND
2021-01-20 10:22:04 +01:00
Daniel Lockau
ef7cbdb312 cpu/sam0_common/periph/flashpage: fix unaligned writes 2021-01-20 09:55:47 +01:00
Daniel Lockau
13670be9bb tests/periph_flashpage: test unaligned write for sam0
Adds test of unaligned write to already integrated sam0_common config area test.
2021-01-20 09:55:46 +01:00
Marian Buschsieweke
716441d0c3
cpu/cortexm_common: fix atomic_utils_arch.h
Only use bit-banding if all of SRAM supports bit-banding
2021-01-20 09:19:33 +01:00
Marian Buschsieweke
51db33375a
sys/bit: provide CPU_HAS_SRAM_BITBAND
CPU_HAS_SRAM_BITBAND can be used to check whether bit-banding is supported for
all of SRAM. With partially supported bit-banding, this feature is more of a
foot gun that a valuable tool.
2021-01-20 09:18:09 +01:00
de37259c64
boards/nucleo-*: put Kconfig HSE/LSE clock config in common 2021-01-20 09:16:46 +01:00
f0606b0a73
Merge pull request #15632 from aabadie/pr/boards/stm32f2f4f7_clock_kconfig_only
cpu/stm32f2f4f7: expose clock configuration in kconfig
2021-01-20 09:14:55 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration 2021-01-19 22:09:17 +01:00
96b79c21f0
boards/stm32f4*: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
342df4bf37
boards/nucleo-f207zg: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
e1941d8976
cpu/stm32f2f4f7: expose clock settings in Kconfig 2021-01-19 22:09:16 +01:00
75748e3c1f
tools/jlink.sh: Run JlinkExe with silent when debugging
The print statements from the Jlink binary offer little additional
benefit while debugging and only clutter the output. Furthermore they
interfere with the TUI layout of GDB when one of the context layouts is
used.
2021-01-19 21:49:28 +01:00
Hauke Petersen
82ae3eb8a6 tools/jlink.sh: allow to skip version check 2021-01-19 21:28:00 +01:00
Hauke Petersen
5f8d58fbea tools/jlink.sh: use SERIAL for version test 2021-01-19 21:27:07 +01:00
Martine Lenders
9ecc804151
static-tests: group tests 2021-01-19 17:31:01 +01:00
b35e4f4a95
Merge pull request #15796 from fjmolinas/pr_rtc_lock_unlock
cpu/stm32/rtc: add unlock/lock to rtc_clear_alarm
2021-01-19 17:29:22 +01:00
Martine Lenders
99eaf892e9
static-tests: increase git diff renameLimit for branch runs 2021-01-19 16:54:26 +01:00
Martine Lenders
039ede48d6
Merge pull request #15793 from aabadie/pr/ci/vera_increase_line_length
vera++: increase line length
2021-01-19 16:36:19 +01:00
8f2b375f81
tools/vera++: increase max line length bounds 2021-01-19 16:10:51 +01:00
Francisco Molina
bafcaecca8
tests/posix_sleep: dont use periph_rtt for efm32 and kinetis
These CPU families have a non configurable RTT of 1Hz, not enough for
ztimer_msec to run on periph_rtt.
2021-01-19 13:37:06 +01:00
Francisco Molina
7c12ea7416
cpu/stm32/rtc: add unlock/lock to rtc_clear_alarm 2021-01-19 13:33:17 +01:00
Martine Lenders
eb30b0b2e2
Merge pull request #15792 from haukepetersen/fix_evtimer_moddep
sys/evtimer: fix module dependencies
2021-01-19 12:45:09 +01:00
Francisco Molina
4c9a2d7b95
boards/common/arduino-zero: configure RTT_MIN_OFFSET 2021-01-19 12:37:39 +01:00
Francisco Molina
69659efc99
boards/common/iotlab: change default RTT_FREQUENCY to RTT_MAX_FREQUENCY 2021-01-19 12:37:38 +01:00
Marian Buschsieweke
26a5c56ee5
Merge pull request #15787 from bergzand/pr/cortexm/svc_cleanup
cpu/cortexm_common: Do not use SVC for cpu_switch_context_exit
2021-01-19 11:19:44 +01:00
Francisco
0e5ba63384
Merge pull request #15641 from bergzand/pr/schedstatistics/remove_idle_runtime
schedstatistics: Log sleep tick statistics
2021-01-19 11:19:05 +01:00
Francisco
e046e01254
Merge pull request #15683 from bergzand/pr/memarray/extender
memarray: Add functions to extend and reduce the pool with new memory areas
2021-01-19 11:18:47 +01:00
Francisco
2dbb8fefad
Merge pull request #15785 from fjmolinas/pr_version_greater_or_equal
makefiles/docker.inc.mk: add and version_is_greater_or_equal for jobs check
2021-01-19 11:17:57 +01:00
Hauke Petersen
8f5d366fe9 sys/evtimer: fix module dependencies 2021-01-19 11:07:20 +01:00
bce9e3caeb
cpu/msp430_common: Add dummy thread_arch.h header 2021-01-19 11:03:22 +01:00
0b01a999be
cpu/mips32r2_common: Inline thread_yield_higher function 2021-01-19 11:03:21 +01:00
9979646b8b
cpu/fe310: Inline thread_yield_higher function 2021-01-19 11:03:21 +01:00
0129e73ec0
cpu/cortexm_common: Inline thread_yield_higher function 2021-01-19 11:03:21 +01:00
0d43c96ac7
cpu/avr8_common: Add dummy thread_arch.h header
The thread_yield_higher function is complex enough to not inline it for
the avr8 cpu
2021-01-19 11:03:21 +01:00
9d5f87bf67
core/thread: Allow for inline thread_yield_higher
Similar to irq.h, this allows for inline the often trivial
thread_yield_higher function
2021-01-19 11:03:20 +01:00