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