- 13 Oct, 2020 1 commit
-
-
schneider authored
Closes #208
-
- 21 May, 2020 1 commit
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 31 Dec, 2019 1 commit
-
-
Rahix authored
Originally, commit 1a3dfad3 ("fix(bhi160): Fix interrupt behavior during initialization") was supposed to fix the BHI160 axis-mapping issue (see card10/firmware#133) but apparently on some devices it still needs the original hack to work. Revert the removal of the axis-mapping hack from commit 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set twice for the first time"). Fixes: 1a3dfad3 ("fix(bhi160): Fix interrupt behavior during initialization") Link: card10/firmware#133 Signed-off-by:
Rahix <rahix@rahix.de>
-
- 29 Dec, 2019 1 commit
-
-
Rahix authored
If initialization fails, bhi160 API calls should not infinitely block waiting for it to complete; they should fail immediately with an error stating that something went wrong. Add a flag that indicates the driver to not accept API requests because initialization was not finished properly. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 28 Dec, 2019 2 commits
-
-
Rahix authored
As discussed in issue card10/firmware#133, the BHI160 changes its interrupt behavior during initialization. In commit 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set twice for the first time") a quick workaround for this issue was added. Replace this hack with a proper fix by reconfiguring the interrupt on the host side according to the specification. (Finally) fixes card10/firmware#133. Fixes: 2f56ff36 ("fix(bhi160): Call bhy_mapping_matrix_set twice for the first time") Link: card10/firmware#133 (comment 5894) Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Port the bhi160 mutex and hwlock usage in bhi.c to the new mutex API. This will hopefully increase system stability. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 22 Dec, 2019 1 commit
-
-
Rahix authored
Rename hwlock_acquire() to hwlock_acquire_timeout() in preparation for future changes to the hw-lock API. Change all uses of the hw-lock API to reflect this change. This commit does not introduce any functional changes, except getting rid of the timeout usage warnings. This change is no-op, because the hwlock_acquire() implementation already replaces any non-zero timeout value with portMAX_DELAY. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 06 Dec, 2019 1 commit
-
-
Rahix authored
Fix all warnings in epicardium/modules. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 19 Nov, 2019 1 commit
-
-
fuchsi* authored
-
- 05 Oct, 2019 1 commit
-
-
Rahix authored
Newlib assert uses __assert_func and thus our panic() function while MXC_ASSERT uses a custom assertion logic. Newlib assert is also more portable as it works in expression position while MXC_ASSERT only works as a statement. Signed-off-by:
Rahix <rahix@rahix.de>
-
- 22 Sep, 2019 1 commit
-
-
Rahix authored
As discussed in card10/firmware!316, this commit prevents I2C lockup by discarding overflowing samples instead of blocking until they have been read. This is not ideal as the samples read will not be the most recent ones. A deeper refactor of the sensor-stream internal API can fix this in the future. Cc: @flo_h Signed-off-by:
Rahix <rahix@rahix.de>
-
- 16 Sep, 2019 1 commit
-
-
xiretza authored
-
- 14 Sep, 2019 1 commit
-
-
schneider authored
Due to a known issue (#133) the first call to bhy_mapping_matrix_set can fail. This is a quick fix.
-
- 24 Aug, 2019 2 commits
-
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- 22 Aug, 2019 12 commits
-
-
Rahix authored
FIFO parsing would parse certain packets late because of an incorrect assumption about FIFO-internals. Signed-off-by:
Rahix <rahix@rahix.de>
-
Rahix authored
Related to #20. Signed-off-by:
Rahix <rahix@rahix.de>