firmware merge requestshttps://git.flow3r.garden/card10/firmware/-/merge_requests2021-10-29T18:08:53Zhttps://git.flow3r.garden/card10/firmware/-/merge_requests/343WIP: font cleanup2021-10-29T18:08:53ZfleurWIP: font cleanup12 and 16 (1 and 2) fonts are v nice now //
20 font test run with much higher gating -> special characters much sharper, might mix with bold letters and numerals later idk //
24 and 8 i did nothing yet12 and 16 (1 and 2) fonts are v nice now //
20 font test run with much higher gating -> special characters much sharper, might mix with bold letters and numerals later idk //
24 and 8 i did nothing yethttps://git.flow3r.garden/card10/firmware/-/merge_requests/340feat(tools): add rust bdf to stm font converter2021-10-29T17:51:20Zdxfeat(tools): add rust bdf to stm font converterTook the rust script from !256, wrapped it into cargo-eval to make it runnable as a script, added docs at the end.Took the rust script from !256, wrapped it into cargo-eval to make it runnable as a script, added docs at the end.https://git.flow3r.garden/card10/firmware/-/merge_requests/432Update lib/gfx/Fonts/font8.c2021-09-19T16:08:48ZNiklas RoyUpdate lib/gfx/Fonts/font8.cNew 8x5 font for card10New 8x5 font for card10rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/476change(display): Sleep display when backlight is off2021-09-19T14:46:27Zschneiderchange(display): Sleep display when backlight is offThis saves about 1 mA when the display is off.
Not sure if we need to adapt documentation for this. Users will unlikely notice any change.This saves about 1 mA when the display is off.
Not sure if we need to adapt documentation for this. Users will unlikely notice any change.rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/471menu: Add BLE app to favorites2021-04-11T20:05:47Zrahixcard10@rahix.demenu: Add BLE app to favoritesMake the BLE app appear at the top of the app-list for immediate
availablity.Make the BLE app appear at the top of the app-list for immediate
availablity.v1.18schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/468change(changelog): Preliminary v1.17 changelog2021-04-04T11:38:32Zschneiderchange(changelog): Preliminary v1.17 changelog@rahix The l0dable entry needs attention from you@rahix The l0dable entry needs attention from yourahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/279Add faster pixels drawing methode2021-02-19T14:41:31ZTilCreatorAdd faster pixels drawing methodeAdds a new method for printing graphic and complex shapes onto the display with python.
Works with a byte string containing pixels that is interpreted by epicardium.Adds a new method for printing graphic and complex shapes onto the display with python.
Works with a byte string containing pixels that is interpreted by epicardium.https://git.flow3r.garden/card10/firmware/-/merge_requests/456feat(mp): Add PNG library2021-02-07T22:14:34Zschneiderfeat(mp): Add PNG libraryAdds the PNG library from https://github.com/Ratfink/micropython-png
It is not terribly fast, but it works.Adds the PNG library from https://github.com/Ratfink/micropython-png
It is not terribly fast, but it works.rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/141WIP: Pycardium ble2021-01-26T09:19:02ZHauke MehrtensWIP: Pycardium bleThis adds support for BLE from MicroPython
This is not finished yet and untested.This adds support for BLE from MicroPython
This is not finished yet and untested.https://git.flow3r.garden/card10/firmware/-/merge_requests/211First working implementation of framebuffer rendering in Python2021-01-12T09:21:04ZFlorian GrossFirst working implementation of framebuffer rendering in PythonSample code:
```
import framebuf
import urandom
import display
bytes = bytearray(160 * 80 * 2)
fb = framebuf.FrameBuffer(bytes, 160, 80, framebuf.RGB565)
d = display.open()
while True:
fb.scroll(-1, -1)
for _ in range(10):
...Sample code:
```
import framebuf
import urandom
import display
bytes = bytearray(160 * 80 * 2)
fb = framebuf.FrameBuffer(bytes, 160, 80, framebuf.RGB565)
d = display.open()
while True:
fb.scroll(-1, -1)
for _ in range(10):
rx = urandom.randint(0, 160 - 10)
ry = urandom.randint(0, 80 - 10)
fb.fill_rect(rx, ry, 10, 10, urandom.randint(0, 0b11111_111111_11111))
display.sys_display.framebuffer(fb)
```
Would be cool to add Python plumbing for this. We could either wrap the `framebuf` module in more Python code to convert coordinates (top right corner is 0,0) and colors (5bit green red blue iirc) or add our own display format to the framebuf ext module maybe.https://git.flow3r.garden/card10/firmware/-/merge_requests/220display: add set_all function2021-01-10T20:42:00Zceddral7display: add set_all functionDraw an entire image on the display, to achieve
better framerates when playing videos.Draw an entire image on the display, to achieve
better framerates when playing videos.https://git.flow3r.garden/card10/firmware/-/merge_requests/213BLE: FileTrans: Allow to deactivate File transfer2021-01-10T20:19:29ZHauke MehrtensBLE: FileTrans: Allow to deactivate File transferThis allows to deactivate the File Transfer in the ble.txt
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>This allows to deactivate the File Transfer in the ble.txt
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>Hauke MehrtensHauke Mehrtenshttps://git.flow3r.garden/card10/firmware/-/merge_requests/434Added possibility to hold buttons2020-12-29T19:21:56ZPixtxaAdded possibility to hold buttonsAdded possibility to hold backspace and also hold the mouse buttons for drag&dropAdded possibility to hold backspace and also hold the mouse buttons for drag&drophttps://git.flow3r.garden/card10/firmware/-/merge_requests/413change(repl): Reset the hardware when entering REPL2020-10-16T22:13:45Zschneiderchange(repl): Reset the hardware when entering REPLThis will make it easier for casual users to take first steps with the
card10.
The downside is that it might hinder debugging scripts which were
running, as for example all files of core 1 have been closed and
potentially all references...This will make it easier for casual users to take first steps with the
card10.
The downside is that it might hinder debugging scripts which were
running, as for example all files of core 1 have been closed and
potentially all references to other APIs are lost. I consider that acceptable though:
- I'm not sure if that is even a goal of the REPL.
- It is still possible to launch a script from inside the REPL and debug it afterwards.
- Scripts launched by pycard10 can still be "debugged" like before.
Closes #212v1.16rahixcard10@rahix.derahixcard10@rahix.dehttps://git.flow3r.garden/card10/firmware/-/merge_requests/372Update SDK to 0.2.1-112020-09-09T21:36:59ZschneiderUpdate SDK to 0.2.1-11Supersedes https://git.card10.badge.events.ccc.de/card10/firmware/merge_requests/352Supersedes https://git.card10.badge.events.ccc.de/card10/firmware/merge_requests/352https://git.flow3r.garden/card10/firmware/-/merge_requests/393neither vibrate nor panic, if zero or negative values are passed to vibra.vib...2020-07-19T23:28:29Zmalteneither vibrate nor panic, if zero or negative values are passed to vibra.vibrateIs there a need for the vibration motor to go off the charts when vibra.vibrate gets passed a value < 1?
I hope not, and this should fix it? (I don't know, I have not installed the toolchain, yet to properly test it, but then it is also...Is there a need for the vibration motor to go off the charts when vibra.vibrate gets passed a value < 1?
I hope not, and this should fix it? (I don't know, I have not installed the toolchain, yet to properly test it, but then it is also a pretty small change?)
Sincerely,
Maltehttps://git.flow3r.garden/card10/firmware/-/merge_requests/274Add ble pairing passkey confirmation screen2020-05-22T23:23:14ZTechyAdd ble pairing passkey confirmation screenHey, what do you think about my first take on creating a passkey confirmation screen?
I'm not sure, whether the vTaskDelay use is appropriate here and what part is supposed to be in the epicardium/ble/app/common/app_ui.c. Should I cha...Hey, what do you think about my first take on creating a passkey confirmation screen?
I'm not sure, whether the vTaskDelay use is appropriate here and what part is supposed to be in the epicardium/ble/app/common/app_ui.c. Should I change `void AppUiDisplayPasskey(uint32_t passkey)"` to `int AppUiDisplayPasskey(uint32_t passkey)"` and move the epic_confirm call to there?https://git.flow3r.garden/card10/firmware/-/merge_requests/121Adds Docker for firmware-building2020-05-21T15:10:48ZSistasonAdds Docker for firmware-buildingThis commit adds a Dockerfile to build a docker container to build
the firmware with.
It also updates the documentation on how to do that.This commit adds a Dockerfile to build a docker container to build
the firmware with.
It also updates the documentation on how to do that.https://git.flow3r.garden/card10/firmware/-/merge_requests/79Faultscreen2020-05-21T11:13:38ZMateusz ZalegaFaultscreen![hardfault](/uploads/4c51d25bf596c1ab85c0e493f0dc8f5b/hardfault.jpeg)![hardfault](/uploads/4c51d25bf596c1ab85c0e493f0dc8f5b/hardfault.jpeg)https://git.flow3r.garden/card10/firmware/-/merge_requests/352fix(max32666): Update SDK to 0.2.1-72020-01-24T20:40:46Zschneiderfix(max32666): Update SDK to 0.2.1-7