inkplate_6plus_release compile errors
Closed this issue · 1 comments
arksega commented
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.
turgu1 commented
Hello Sergio,
The code for the Inkplate-6Plus is not ready yet as I’ve received the device last week. I expect to have a version ready in the coming week. For that, I’m workin in branch v1.3.2 on this.
Guy
… On Dec 10, 2021, at 1:59 PM, Sergio Gutierrez Alvarez ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.