turgu1/EPub-InkPlate

inkplate_6plus_release compile errors

Closed this issue · 1 comments

After updating platformio.ini default_envs to inkplate_6plus_release I tried to compile using platformio run but I'm getting this errors:

src/controllers/common_actions.cpp: In static member function 'static void CommonActions::power_it_off()':
src/controllers/common_actions.cpp:48:21: error: 'TouchKeys' has not been declared
     #define INT_PIN TouchKeys::INTERRUPT_PIN
                     ^~~~~~~~~
src/controllers/common_actions.cpp:56:34: note: in expansion of macro 'INT_PIN'
     inkplate_platform.deep_sleep(INT_PIN, 1);
                                  ^~~~~~~
src/controllers/book_param_controller.cpp: In member function 'void BookParamController::input_event(EventMgr::Event)':
src/controllers/book_param_controller.cpp:250:35: error: 'SELECT' is not a member of 'EventMgr::Event'
     if (event == EventMgr::Event::SELECT) {
                                   ^~~~~~
Compiling .pio/build/inkplate_6plus_release/src/viewers/book_viewer.o
*** [.pio/build/inkplate_6plus_release/src/controllers/common_actions.o] Error 1
*** [.pio/build/inkplate_6plus_release/src/controllers/book_param_controller.o] Error 1
src/main.cpp: In function 'void mainTask(void*)':
src/main.cpp:79:25: error: 'TouchKeys' has not been declared
         #define INT_PIN TouchKeys::INTERRUPT_PIN
                         ^~~~~~~~~
src/main.cpp:99:40: note: in expansion of macro 'INT_PIN'
           inkplate_platform.deep_sleep(INT_PIN, 1);
                                        ^~~~~~~

This is the first time I use platformio and not sure if I'm missing some step here, but just for the record inkplate_6_release compiled correctly and I was able to flash it into my device.

I also notice that you are still testing 6plus version, please let me know if have a compiled version of it and I can help you with testing.
Thanks in advance for the good effort.