Skip to content

Building documentation insufficient #4

@alexanderkyte

Description

@alexanderkyte

Trying to build this project is very difficult because the stock configuration is missing a lot of dependencies here, forcing someone who just grabs a stock 5.3 esp-idf repo to do a lot of CMakelists hacking. Unfortunately menuconfig isn’t showing me the i2c toggle that enables these:

/Users/alkyte/.espressif/v5.3/esp-idf/components/esp_lcd/include/esp_lcd_io_i2c.h:82:13: error: 'i2c_master_bus_handle_t' is not a class, namespace, or enumeration
   82 |             i2c_master_bus_handle_t : esp_lcd_new_panel_io_i2c_v2, \
      |             ^~~~~~~~~~~~~~~~~~~~~~~
/Users/alkyte/.espressif/v5.3/esp-idf/components

There are a lot of others that are easier to fix:

/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:224:17: error: 'bsp_display_lock' was not declared in this scope
  224 |             if (bsp_display_lock(0)) {
      |                 ^~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:226:17: error: 'bsp_display_unlock' was not declared in this scope
  226 |                 bsp_display_unlock();
      |                 ^~~~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:233:17: error: 'bsp_display_lock' was not declared in this scope
  233 |             if (bsp_display_lock(0)) {
      |                 ^~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:235:17: error: 'bsp_display_unlock' was not declared in this scope
  235 |                 bsp_display_unlock();
      |                 ^~~~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:240:13: error: 'bsp_display_lock' was not declared in this scope
  240 |         if (bsp_display_lock(0)) {
      |             ^~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:242:13: error: 'bsp_display_unlock' was not declared in this scope
  242 |             bsp_display_unlock();
      |             ^~~~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:251:9: error: 'bsp_display_lock' was not declared in this scope
  251 |     if (bsp_display_lock(0)) {
      |         ^~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:253:9: error: 'bsp_display_unlock' was not declared in this scope
  253 |         bsp_display_unlock();
      |         ^~~~~~~~~~~~~~~~~~
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp: In member function 'lv_obj_t* SSHTerminal::create_terminal_screen()':
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:273:45: error: 'lv_font_montserrat_12' was not declared in this scope; did you mean 'lv_font_montserrat_14'?
  273 |     lv_obj_set_style_text_font(status_bar, &lv_font_montserrat_12, 0);
      |                                             ^~~~~~~~~~~~~~~~~~~~~
      |                                             lv_font_montserrat_14
/Users/alkyte/src/OpenCodeEsp32/PocketSSH/main/ssh_terminal.cpp:287:50: error: 'lv_font_montserrat_10' was not declared in this scope; did you mean 'lv_font_montserrat_14'?
  287 |     lv_obj_set_style_text_font(terminal_output, &lv_font_montserrat_10, 0);
      |                                                  ^~~~~~~~~~~~~~~~~~~~~

Can you please provide a bit of automation to make a working build configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions