Skip to content

Build Failed for openai_demo #12

@alikian

Description

@alikian

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

AILED: partition_table/partition-table.bin /Users/akianzadeh/git/esp-webrtc-solution/solutions/openai_demo/build/partition_table/partition-table.bin
cd /Users/akianzadeh/git/esp-webrtc-solution/solutions/openai_demo/build/esp-idf/partition_table && /Users/akianzadeh/.espressif/python_env/idf5.4_py3.12_env/bin/python /Users/akianzadeh/esp/esp-idf/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB -- /Users/akianzadeh/git/esp-webrtc-solution/solutions/openai_demo/partitions.csv /Users/akianzadeh/git/esp-webrtc-solution/solutions/openai_demo/build/partition_table/partition-table.bin && /opt/homebrew/bin/cmake -E echo "Partition table binary generated. Contents:" && /opt/homebrew/bin/cmake -E echo "" && /Users/akianzadeh/.espressif/python_env/idf5.4_py3.12_env/bin/python /Users/akianzadeh/esp/esp-idf/components/partition_table/gen_esp32part.py -q --offset 0x8000 --flash-size 2MB -- /Users/akianzadeh/git/esp-webrtc-solution/solutions/openai_demo/build/partition_table/partition-table.bin && /opt/homebrew/bin/cmake -E echo ""
Partitions tables occupies 3.1MB of flash (3211264 bytes) which does not fit in configured flash size 2MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu.

Actual behavior (suspected bug)

Partitions tables occupies 3.1MB of flash (3211264 bytes) which does not fit in configured flash size 2MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu.

Error logs or terminal output

Partitions tables occupies 3.1MB of flash (3211264 bytes) which does not fit in configured flash size 2MB. Change the flash size in menuconfig under the 'Serial Flasher Config' menu.

Steps to reproduce the behavior

  1. set setting for wifi
  2. set env variable for open ai key
  3. run "idf.py -p /dev/tty.usbmodem2101 flash monitor"
  4. build failed

Project release version

latest

System architecture

ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)

Operating system

MacOS

Operating system version

Mac OS 15.3

Shell

ZSH

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions