epaper-firmware
epaper-firmware copied to clipboard
station code doesn't build
Hi Daniel, are you still playing with this code?
What are you using for a station?
I was able to get Dmitry's latest released firmware to build only after copying proto.h from this repo. I just received my nRF52840 dongle and was surprised that the station code didn't compile.
imgStore.c: In function 'imgStoreGetUpdateInfo':
imgStore.c:383:22: error: 'HW_TYPE_74_INCH_DISPDATA' undeclared (first use in this function); did you mean 'HW_TYPE_29_INCH_DISPDATA'?
else if (hwType == HW_TYPE_74_INCH_DISPDATA) {
^~~~~~~~~~~~~~~~~~~~~~~~
HW_TYPE_29_INCH_DISPDATA
imgStore.c:383:22: note: each undeclared identifier is reported only once for each function it appears in
imgStore.c:388:22: error: 'HW_TYPE_74_INCH_DISPDATA_FRAME_MODE' undeclared (first use in this function); did you mean 'HW_TYPE_74_INCH_DISPDATA_R_FRAME_MODE'?
else if (hwType == HW_TYPE_74_INCH_DISPDATA_FRAME_MODE) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HW_TYPE_74_INCH_DISPDATA_R_FRAME_MODE
make: *** [Makefile:26: imgStore.o] Error 1
It was easy to fix the compile by changing HW_TYPE_74_INCH_DISPDATA to HW_TYPE_74_INCH_DISPDATA_Y but before I got out my soldering iron I thought I'd touch base and see if there's a better way to go.