108 views
in Getting started by
I m using ESP32-S3-BOX-3 and Embedded Wizard Studio free version with Ubuntu 22.04.5 LTS, i am doing the test with HelloWorld example (https://doc.embedded-wizard.de/getting-started-esp32-s3-box-3?v=14.00).

$ idf.py --version
ESP-IDF v5.3.1

ESP32-S3-BOX-3$ cat main/idf_component.yml
## IDF Component Manager Manifest File
dependencies:
  espressif/esp-box-3:
    version: ^1.1.3
  ## Required IDF version
  idf:
    version: '>=5.2.0'
  # # Put list of dependencies here
  # # For components maintained by Espressif:
  # component: "~1.0.0"
  # # For 3rd party components:
  # username/component: ">=1.0.0,<2.0.0"
  # username2/component2:
  #   version: "~1.0.0"
  #   # For transient dependencies `public` flag can be set.
  #   # `public` flag doesn't have an effect dependencies of the `main` component.
  #   # All dependencies of `main` are public by default.
  #   public: true

  espressif/esp_lvgl_port: ^2.5.0
  espressif/button: ^4.1.1
esp_codec_dev:
  public: true
  version: ==1.1.0

ESP32-S3-BOX-3$ idf.py build

Error Message :

[2/9] Building C object esp-idf/espressif__esp-box-3/CMakeFiles/__idf_espressif__esp-box-3.dir/esp-box-3.c.obj
FAILED: esp-idf/espressif__esp-box-3/CMakeFiles/__idf_espressif__esp-box-3.dir/esp-box-3.c.obj

ESP32-S3-BOX-3/managed_components/espressif__esp-box-3/esp-box-3.c:70:10: error: 'button_config_t' has no member named 'type'
   70 |         .type = BUTTON_TYPE_GPIO,
ESP32-S3-BOX-3/managed_components/espressif__esp-box-3/esp-box-3.c:71:10: error: 'button_config_t' has no member named 'gpio_button_config'
   71 |         .gpio_button_config.gpio_num = BSP_BUTTON_CONFIG_IO,

ESP32-S3-BOX-3/managed_components/espressif__esp-box-3/esp-box-3.c:72:10: error: 'button_config_t' has no member named 'gpio_button_config'
   72 |         .gpio_button_config.active_level = 0,

 

following error

ESP32-S3-BOX-3/managed_components/espressif__esp-box-3/esp-box-3.c:81:52: warning: initialization of 'short unsigned int' from 'esp_err_t (*)(void *)' {aka 'int (*)(void *)'} makes integer from pointer without a cast [-Wint-conversion]
   81 |         .custom_button_config.button_custom_init = bsp_init_main_button,

ESP32-S3-BOX-3/managed_components/espressif__esp-box-3/esp-box-3.c:82:10: error: 'button_config_t' has no member named 'custom_button_config'
   82 |         .custom_button_config.button_custom_get_key_value = bsp_get_main_button,
My best regards

2 Answers

0 votes
by
I'am having the same problem. Have you maybe found a solution to your problem?

Best Wishes, Nico
by
Hi all,

does it work when you run IDF within a Windows environment? This is the environment where we have tested the entire package.

Best regards,

Manfred.
by
Hi all,

It seems that ESP32-S3-BOX-3 doesn't support i2c_driver versions 5.3 or later. So, by running

"idf.py menuconfig", you must:
- enable it in the "Component Config -> ESP-Driver: I2C Configurations" menu
[*] Enable I2C slave driver version 2
- disable it in the "Component Config -> Audio Codec Device Configuration" menu
[ ] Enable backward compatibility for I2C drivers (force use of the old i2c_driver above v5.3)

My Best regards

M. Sow
+1 vote
by
Hi all

It seems that ESP32-S3-BOX-3 doesn't support i2c_driver versions 5.3 or later.

So, by running "idf.py menuconfig", you must:
- enable it in the "Component Config -> ESP-Driver: I2C Configurations" menu
[*] Enable I2C slave driver version 2
- disable it in the "Component Config -> Audio Codec Device Configuration" menu
[ ] Enable backward compatibility for I2C driver (force use of the old i2c_driver above v5.3)

I solved the problem

My Best regards

M. Sow
by
Dear Mr. Sow,

Thank you for your kind tip. This did infact solve the problem i was facing. Thanks alot.

Best Wishes,

Nico

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...