xiaozhi-esp32 icon indicating copy to clipboard operation
xiaozhi-esp32 copied to clipboard

Build failed for kevin-c3 with idf-5.3.2

Open tubzby opened this issue 9 months ago • 1 comments

Answers checklist.

  • [x] I have read the documentation XiaoZhi AI Programming Guide and the issue is not addressed there.
  • [x] I have updated my branch (master or release) to the latest version and checked that the issue is present there.
  • [x] I have searched the issue tracker for a similar issue and not found a similar issue.

XiaoZhi AI version.

v1.3.0

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Compiles.

Same error on :

  1. idf master & v5.4
  2. xiaozhi-esp32 main

What is the actual behavior?

Compile failed for borad config kevin-c3.

Steps to reproduce.

  1. Install IDF on mac os, m1, and hello-world compiles.
  2. clone xiaozhi-esp32
  3. idf.py set-target esp32s3
  4. idf.py menuconfig, select "Xiaozhi Assistant" -> "Board type": Kevin C3
  5. idf.py build

Build or installation Logs.

/Users/XXXX/src/xiaozhi-esp32/main/boards/kevin-c3/kevin_c3_board.cc: In constructor 'KevinBoxBoard::KevinBoxBoard()':
/Users/XXXX/src/xiaozhi-esp32/main/boards/kevin-c3/kevin_c3_board.cc:63:35: error: 'ESP_EFUSE_VDD_SPI_AS_GPIO' was not declared in this scope; did you mean 'ESP_EFUSE_VDD_SPI_XPD'?
   63 |         esp_efuse_write_field_bit(ESP_EFUSE_VDD_SPI_AS_GPIO);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   ESP_EFUSE_VDD_SPI_XPD

More Information.

No response

tubzby avatar Feb 28 '25 02:02 tubzby

你都用C3了,就要idf.py set-target esp32c3

Kevincoooool avatar Feb 28 '25 02:02 Kevincoooool