Thomas Buck
5fb818951b
store workflow strings correctly in flash page
5 mesi fa
Thomas Buck
6ad8468dcd
edit menu to reorder workflows and steps
5 mesi fa
Thomas Buck
04450ec775
enable watchdog as early as possible.
sometimes ble init seems to fail somehow.
this caused hangs at different points in time.
with this change the device at least resets relatively quickly.
5 mesi fa
Thomas Buck
471e4f99e1
battery limit color
6 mesi fa
Thomas Buck
e421199617
volcano workflow disconnect
6 mesi fa
Thomas Buck
d651b054b1
enable usb debug only with release builds
6 mesi fa
Thomas Buck
0b0508720d
log to mass storage
6 mesi fa
Thomas Buck
0390f057a2
make mass storage available by default
6 mesi fa
Thomas Buck
535d325144
proper crc32
6 mesi fa
Thomas Buck
949fb22d18
add checksum to config storage
6 mesi fa
Thomas Buck
9b03fe6823
custom linker script to keep end of flash clear
6 mesi fa
Thomas Buck
2ea940b714
take into account flash pages used by btstack
6 mesi fa
Thomas Buck
2dcf213eca
put persistent config storage at end of flash
6 mesi fa
Thomas Buck
09f9cf19a2
ensure set temperature in workflow and fix start temperature when cold
6 mesi fa
Thomas Buck
7e9a10eaad
reduced default backlight
6 mesi fa
Thomas Buck
a34e195b0e
better battery percentage
6 mesi fa
Thomas Buck
a13aa6581c
text box alignment
6 mesi fa
Thomas Buck
a0555b0d45
change backlight in menu, not persistent
6 mesi fa
Thomas Buck
ef0f492890
proper pixel order
6 mesi fa
Thomas Buck
2386fb0893
state machine uses array of function pointers
6 mesi fa
Thomas Buck
02c5dca7cf
print message while discovering characteristics
6 mesi fa
Thomas Buck
ff52199e2b
add XXL workflow
6 mesi fa
Thomas Buck
0db558453e
don't update screen 10x per second
6 mesi fa
Thomas Buck
5180a197ae
license for scripts
6 mesi fa
Thomas Buck
965cf087d8
print current value in workflow
6 mesi fa
Thomas Buck
ca91fdf394
only call disconnect once when aborting workflow
6 mesi fa
Thomas Buck
33773f52d6
print workflow step and allow aborting
6 mesi fa
Thomas Buck
0c2780e7ae
allow going back from workflow selection
6 mesi fa
Thomas Buck
5af9bc8780
add simplistic crafty support
6 mesi fa
Thomas Buck
01259255e8
clear text box bg. fix ble disconnect and workflow notify.
6 mesi fa
Thomas Buck
e78ad09f27
add simple volcano_run state
6 mesi fa
Thomas Buck
f064eb3a5a
generalize menu infrastructure to also use it for workflow selection
6 mesi fa
Thomas Buck
5063ba3de1
add workflow logic
6 mesi fa
Thomas Buck
00498af11e
device selection menu
6 mesi fa
Thomas Buck
0769496400
only show relevant devices in scan state
6 mesi fa
Thomas Buck
00e30acf5d
detect known device types and read their serial number
6 mesi fa
Thomas Buck
03daa0ec1e
test workflow in debug console
6 mesi fa
Thomas Buck
722d6e6d8f
add commands for heater and pump state
6 mesi fa
Thomas Buck
c3a43c4f91
proper timeouts for ble write, now working.
6 mesi fa
Thomas Buck
46f9c9a5da
serial console mostly working, but still losing some bytes when transmitting lots.
6 mesi fa
Thomas Buck
3b40fe0f43
option to block on uart buffer overrun
6 mesi fa
Thomas Buck
e41bd0bfed
add generic ring buffer lib, used for log buffer and new uart tx buffer. uart as second console option for nicer debugging.
6 mesi fa
Thomas Buck
395ef608e6
implement ble service and characteristic discovery and value write for volcano. still crashing unfortunately.
6 mesi fa
Thomas Buck
c6da7c81a2
make inclusion of sources optional
6 mesi fa
Thomas Buck
2354f36e7a
tweak debug disk creation
6 mesi fa
Thomas Buck
558224aa67
have the device give out its own source code
6 mesi fa
Thomas Buck
17c4cf73ba
run state machine for testing periodically.
6 mesi fa
Thomas Buck
0d8e77dd69
optional auto connect for volcano console commands.
6 mesi fa
Thomas Buck
1b3e3e286b
implement ble read
6 mesi fa
Thomas Buck
3f60298a6e
only redraw battery indicator when needed
6 mesi fa