firmware merge requestshttps://git.flow3r.garden/card10/firmware/-/merge_requests2021-12-25T18:38:49Zhttps://git.flow3r.garden/card10/firmware/-/merge_requests/503Update CHANGELOG2021-12-25T18:38:49Zrahixcard10@rahix.deUpdate CHANGELOGschneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/502Revert "feat(micropython): Print exceptions to the screen"2021-12-25T16:43:28Zrahixcard10@rahix.deRevert "feat(micropython): Print exceptions to the screen"https://git.flow3r.garden/card10/firmware/-/merge_requests/501Fix text in bme680 demo2021-12-19T12:52:30Zrahixcard10@rahix.deFix text in bme680 demoDue to the new renderer, there is now enough space for longer messages.
Write out the full messages instead of "compressed" ones.Due to the new renderer, there is now enough space for longer messages.
Write out the full messages instead of "compressed" ones.schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/500epicardium: Query BLE hardware for idle periods2021-12-11T01:36:43Zschneiderepicardium: Query BLE hardware for idle periodsQuery the BLE base band for idle periods and put the CPU to sleep during
this time. This allows us to reduce clock speed again and wake up in
time to quickly serve BLE interrupts.
In the future we can now even go lower than DIV4, as BLE...Query the BLE base band for idle periods and put the CPU to sleep during
this time. This allows us to reduce clock speed again and wake up in
time to quickly serve BLE interrupts.
In the future we can now even go lower than DIV4, as BLE continues to
work at least until DIV16.https://git.flow3r.garden/card10/firmware/-/merge_requests/499clock: Raise clock speed for BLE to work while sleeping2021-11-29T17:19:29Zschneiderclock: Raise clock speed for BLE to work while sleepinghttps://git.flow3r.garden/card10/firmware/-/merge_requests/498mp: Correctly mask interrupts2021-11-28T23:14:32Zschneidermp: Correctly mask interruptshttps://git.flow3r.garden/card10/firmware/-/merge_requests/497mp: fix 32 bit overflow in systick_get_us2021-11-28T21:27:36Zschneidermp: fix 32 bit overflow in systick_get_ushttps://git.flow3r.garden/card10/firmware/-/merge_requests/496ble: Add firmware revision to device info service2021-11-16T22:29:00Zschneiderble: Add firmware revision to device info servicev1.18rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/495Indicate on screen that a reset will happen2021-11-14T11:33:25Zrahixcard10@rahix.deIndicate on screen that a reset will happenPrint "Reset!" to the screen before resetting so it is obvious what is about to happen. Currently, the screen brightness just suddenly jumps up and card10 becomes unresponsive until the bootloader shows up.Print "Reset!" to the screen before resetting so it is obvious what is about to happen. Currently, the screen brightness just suddenly jumps up and card10 becomes unresponsive until the bootloader shows up.schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/494Add a boot animation to show off CTX2021-11-13T23:55:09Zrahixcard10@rahix.deAdd a boot animation to show off CTX@schneider, I've changed it again... I think it feels snappier now. But the background color issue remains... Let me know what you think!@schneider, I've changed it again... I think it feels snappier now. But the background color issue remains... Let me know what you think!schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/493feat(ecg): Experimental streaming of ECG samples via BLE2021-11-28T23:14:57Zschneiderfeat(ecg): Experimental streaming of ECG samples via BLEBy default turns off the screen while streaming to save energy and reduce noise.
Sample application:
![Screenshot_from_2021-11-16_23-03-15](/uploads/3a4cb46af36a248fe501ea18de3c05f4/Screenshot_from_2021-11-16_23-03-15.png)By default turns off the screen while streaming to save energy and reduce noise.
Sample application:
![Screenshot_from_2021-11-16_23-03-15](/uploads/3a4cb46af36a248fe501ea18de3c05f4/Screenshot_from_2021-11-16_23-03-15.png)v1.18rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/492hack(ci): Disable cert check for now2021-10-01T20:00:34Zschneiderhack(ci): Disable cert check for nowLooks like the docker image is too old for the new LE certsLooks like the docker image is too old for the new LE certshttps://git.flow3r.garden/card10/firmware/-/merge_requests/491feat(ble): Add a queue for indications and notifications2021-11-01T19:49:48Zschneiderfeat(ble): Add a queue for indications and notificationsThis makes it possible to reliably stream data (like ECG samples) to another deviceThis makes it possible to reliably stream data (like ECG samples) to another devicehttps://git.flow3r.garden/card10/firmware/-/merge_requests/490fix(ble): Forward DM_CONN_CLOSE_IND to pycardium2021-10-01T21:44:55Zschneiderfix(ble): Forward DM_CONN_CLOSE_IND to pycardiumCloses #237Closes #237https://git.flow3r.garden/card10/firmware/-/merge_requests/489fix(ble): Forward connection open if there a no services to discover2021-10-01T21:05:47Zschneiderfix(ble): Forward connection open if there a no services to discoverFixes #238Fixes #238rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/488fix(sleep): Keep HIRC turned on when switching back to HIRC962021-09-23T00:08:24Zschneiderfix(sleep): Keep HIRC turned on when switching back to HIRC96Fixes #236Fixes #236https://git.flow3r.garden/card10/firmware/-/merge_requests/487fix(mp): Enable gatt client functionality again2021-09-20T21:43:24Zschneiderfix(mp): Enable gatt client functionality againhttps://git.flow3r.garden/card10/firmware/-/merge_requests/486Update to microptyhon v1.172021-09-19T15:58:00ZschneiderUpdate to microptyhon v1.17Closes #232Closes #232https://git.flow3r.garden/card10/firmware/-/merge_requests/485Update CHANGELOG2021-09-19T16:04:23Zrahixcard10@rahix.deUpdate CHANGELOG@schneider, did I miss anything?@schneider, did I miss anything?schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/484Fix epic_sleep() calls delaying load of new app2021-09-19T15:35:34Zrahixcard10@rahix.deFix epic_sleep() calls delaying load of new appWhen core 1 repeatedly calls `epic_sleep()`, this could delay an
epic_load() from core 0 because the reset interrupt can only be
delivered after such a call completed.
To work around this, add calls into `do_load()` to notify the dispat...When core 1 repeatedly calls `epic_sleep()`, this could delay an
epic_load() from core 0 because the reset interrupt can only be
delivered after such a call completed.
To work around this, add calls into `do_load()` to notify the dispatcher
task that it should return early from calls like `epic_sleep()`. This
gets a bit tricky because the dispatcher task also uses
`ulTaskNotifyTake()` to wake up when new API calls arrive. To make sure
we still break out of `epic_sleep()`, we need to call
`xTaskNotifyGive()` twice in the wait loop.schneiderschneider