danielkucera / epaper-firmware

19 stars 1 forks source link

station code doesn't build #4

Open skiphansen opened 10 months ago

skiphansen commented 10 months ago

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.

skiphansen commented 10 months ago

I just I just answered my own question... just found your https://github.com/danielkucera/epaper-station repo. That does look like a better way to go.

I'm still curious you are still playing with the code...

danielkucera commented 10 months ago

Hello, there are some changes from time to time but I am not working on it actively now.