- Sep 22, 2019
-
-
New Button-Layout ================= /-----------------------\ | xxxxxxxxxxxxxxxxx | | | | <> * Pause screen | card10 | +------- <> <> * During pause: Scroll right. | | | * Short press: Toggle between Finger | \-----------------------/ and USB. * During pause: Scroll left. * Long press: Toggle bias on/off. * Short press: Toggle LED mode. * Long press: Start/stop logging. Other Changes ============= - Split the bar into negativ [10:5] and positive [5:0] scale and update them seperate to have a better visualization. - Blink red with backside LEDs on detected pulse. - Allow toggling the LED modes on and off (see new button layout). - Lock mode & bias during logging.
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
See merge request card10/firmware!316
-
rahix authored
This patch makes the BHI160 app more pythonic and fixes a few bugs/issues: - An exception (including KeyboardInterrupt) will trigger the sensor to be closed again. Otherwise you'd get strange behavior trying to reopen then afterwards. - Use simple_menu.button_events() instead of home-cooked solution. This should hopefully make the code more future-proof. - Fix overlapping text caused by the font-rendering changes. Signed-off-by:
Rahix <rahix@rahix.de>
-
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>
-
- Sep 21, 2019
-
-
rahix authored
See merge request card10/firmware!285 and card10/firmware#146
-
Squashed commits: e94f7bf9 epicardium/rtc: add monotonic time e0691c6d pycardium/modules/utime.c: add bindings for monotonic time 756c13df epicardium/rtc: fix numerically unstable subsecond decoding the subsecond encoding function from epic_rtc_set_milliseconds and the corresponding decoding function from epic_rtc_get_milliseconds are not numerically stable. i.e., encoding 5 milliseconds to 20 subsecs and immediately afterwards decoding that yields 4 milliseconds. Adding a bias of 999 (0.24 milliseconds) to the decoding function makes it numerically stable, while never decoding any subsecond value to more than 999 milliseconds. e99e278b epicardium/rtc: only poll time once for calculating monotonic_offset 18936b7e pycardium/modules/utime.c: run clang-format 869ac617 epicardium/rtc: add explanation comment for numerically stable subsecond decode
-
rahix authored
See merge request card10/firmware!126
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
- Sep 19, 2019
-
-
rahix authored
See merge request card10/firmware!298
-
There are several common CRC implementations for Python with the currently used one (crc16) not being available in e.g. Debian. crcmod and/or crcelk are readily available on several distributions.
-
- Sep 16, 2019
-
-
rahix authored
See merge request card10/firmware!295
-
rahix authored
Merge (full or partial) of !173, !219, and !303. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
Update how-to-build.rst - Added another hint for macOS, for the common problem that strip fails on mpy-cross with "malformed object (unknown load command 9)" Manual merge for !173
-
- Sep 15, 2019
-
-
rahix authored
See merge request card10/firmware!315
-
rahix authored
The task_backtrace (aliased as tbt) command allows viewing the backtrace of a task which is currently not running. Signed-off-by:
Rahix <rahix@rahix.de>
-
schneider authored
Add serial_flush function Closes #164 See merge request card10/firmware!314
-
rahix authored
serial_flush() allows flushing the serial buffer from anywhere in Epicardium. - When run from thread mode it will flush to UART, CDC-ACM and BLE. This is similar to what the serial task would do once it is rescheduled. - When run inside an exception handler, it will only flush to UART because CDC-ACM and BLE cannot be flushed from an ISR. Note that characters flushed this way will never appear on the other outputs, even if the serial task is scheduled at some point afterwards. The main use of this function is to ensure output of messages even in cases of critical failures. Signed-off-by:
Rahix <rahix@rahix.de>
-
schneider authored
Also decrease the time needed to update the LEDs
-
- Sep 14, 2019
-
-
schneider authored
Closes #50
-
schneider authored
Closes #109
-
schneider authored
-
schneider authored
Due to a known issue (#133) the first call to bhy_mapping_matrix_set can fail. This is a quick fix.
-
rahix authored
See merge request card10/firmware!313
-
schneider authored
Also modifies the PMIC UI code to be more intuitive
-
schneider authored
Add a few missing instances of locking See merge request card10/firmware!312
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
See merge request card10/firmware!299
-
rahix authored
See merge request card10/firmware!309
-
rahix authored
Fixes #155 Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Fixes #156 Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
See merge request card10/firmware!305
-