1.0k 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
by

Hi to all,

i have simular build errors with the hello world example.

My development setup :

windows 11 pro 10.0.26100 build 26100

esp-idf-tools-setup-offline 5.3.1

EmbeddedWizardFree-V15.05

esp32-s3-box-3-BuildEnvironment-V14.00.00.00 

tested:

idf.py -- version ---> ESP-IDF v5.3.1-dirty

C:\workspace531\esp\ESP32-S3-BOX-3\main>type 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

esp_codec_dev:
    public: true
    version: "==1.1.0"


C:\workspace531\esp\ESP32-S3-BOX-3\main>

During idf.py build i get

[1373/1383] Building C object esp-idf/espressif__esp_lvgl_port/CMakeFiles/__idf_espressif__esp_lvgl_port.dir/esp_lvgl_port.c.obj
FAILED: esp-idf/espressif__esp_lvgl_port/CMakeFiles/__idf_espressif__esp_lvgl_port.dir/esp_lvgl_port.c.obj

C:/workspace531/esp/ESP32-S3-BOX-3/managed_components/espressif__esp_lvgl_port/esp_lvgl_port.c:506:52: error: too few arguments to function 'iot_button_create'
  506 |         buttons_ctx->btn[LVGL_PORT_NAV_BTN_PREV] = iot_button_create(buttons_cfg->button_prev);

followed by many errors related to io_button_create

 

I checked menuconfig as mentioned above.

"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"

This option didn't show up.

I have no clue what im doing wrong,

so please can you give some advice

by

Hello.

I think you cannot combine squareline_studio_windows_v1_5_4 and esp32-s3-box-3-BuildEnvironment-V14.00.00.00.

Please follow the description in our Getting Started with ESP32-S3-BOX-3 using ESP-IDF V5.3.1 (stable).

Best regards,

Manfred.

by
Hi Manfred,

thanks for youre supply.

I typed the wrong gui program and have correct  it with EmbeddedWizardFree-V14.05.

I Use the Getting Started with ESP32-S3-BOX-3 guide as starting point.

Open en build the HELLOWORLD example

use IDF.PY BUILD.

With no luck.
by

Which version of IDF are you using?

In case you are using V5.5.1 you have to patch the file /main/idf_component.yml:

## IDF Component Manager Manifest File
dependencies:
  espressif/esp-box-3: "^3.0.3"
  espressif/button: "^4.0.0"  # use button v4 to satisfy build process
  ## Required IDF version
  idf:
    version: ">=5.2.0"
  lvgl/lvgl: "~9.2.2"  # just take a stable version to satisfy build process - anyhow not used

Does it work?

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...