Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp-idf にてLovyanGFXをコンパイルしたところ次のようなエラーで中断しました #623

Open
kurokouji opened this issue Oct 1, 2024 · 0 comments

Comments

@kurokouji
Copy link

Carefully written Issues are more likely to be given priority.
丁寧に記述された報告は優先して対応される可能性が高くなります。

Environment ( 実行環境 )

  • MCU or Board name: [XIAO ESP32S3]
  • Panel Driver IC: [ST7789]
  • Bus type: [SPI]
  • LovyanGFX version: [latest]
  • FrameWork version: [ESP-IDF v5.4]
  • Build Environment: [Raspberry PI 4]
  • Operating System: [Linux|]

Problem Description ( 問題の内容 )

素晴らしいライブラリの提供ありがとうございます。
esp-idf にてLovyanGFXをコンパイルしたところ次のようなエラーで中断しました。
対処方法を教えていただければ幸いです。

$ idf.py --version
ESP-IDF v5.4-dev-3201-g46acfdce96

/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp: In member function 'virtual bool lgfx::v1::Bus_RGB::init()':
/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp:159:19: error: 'lcd_periph_signals' was not declared in this scope; did you mean 'lcd_periph_rgb_signals'?
159 | auto sigs = lcd_periph_signals.panels[_cfg.port];
| ^~~~~~~~~~~~~~~~~~
| lcd_periph_rgb_signals
/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp:307:31: error: 'lcd_periph_signals' was not declared in this scope; did you mean 'lcd_periph_rgb_signals'?
307 | esp_intr_alloc_intrstatus(lcd_periph_signals.panels[_cfg.port].irq_id, isr_flags,
| ^~~~~~~~~~~~~~~~~~
| lcd_periph_rgb_signals
[1100/1318] Building CXX object esp-idf/LovyanGFX/CMakeFiles/__idf_LovyanGFX.dir/src/lgfx/v1/platforms/esp32s3/Panel_RGB.cpp.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/pi/esp/ESP32-TUX/build/log/idf_py_stderr_output_18004 and /home/pi/esp/ESP32-TUX/build/log/idf_py_stdout_output_18004

/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp: In function 'periph_module_t lgfx::v1::i2c::getPeriphModule(int)':
/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp:661:37: error: 'const struct i2c_signal_conn_t' has no member named 'module'
661 | return i2c_periph_signal[num].module;
| ^~~~~~
[12/224] Building CXX object esp-idf/LovyanGFX/CMakeFiles/__idf_LovyanGFX.dir/src/lgfx/v1/touch/Touch_XPT2046.cpp.obj

Expected Behavior ( 期待される動作 )

コンパイル成功

Actual Behavior ( 実際の動作 )

コンパイル途中で中断

// If your code is longer than 30 lines, GIST is preferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant