Skip to content

'The binary size has exceeded the limit.' please help #245

@imkenough

Description

@imkenough

the whole terminal window, if needed - https://pastebin.com/raw/i1ABJveK

i just wanted to set the pinouts to my ili9341 display, havent changed any other settings other than the ones ive pasted

https://www.photo-pick.com/online/zjVU3wls.link

collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
HINT: The binary size has exceeded the limit. To resolve the issue consider reducing the binary size.
You can explore size optimization techniques in the documentation by running 'idf.py docs -sp api-guides/performance/size.html#reducing-overall-size'.
Note that the linker performed the dead code elimination.
ninja failed with exit code 1, output of the command is in the C:\Users\hanee\Desktop\Ghost_ESP\build\log\idf_py_stderr_output_5404 and C:\Users\hanee\Desktop\Ghost_ESP\build\log\idf_py_stdout_output_5404
ERROR: Command failed with exit code 2
ERROR: Build failed for esp32-generic

there are also bunch of error like this

C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c: In function 'infrared_common_decode_pdwm':
C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c:644:14: warning: unused variable 'bit0_space' [-Wunused-variable]
  644 |     uint16_t bit0_space = timings->bit0_space;
      |              ^~~~~~~~~~
C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c:643:14: warning: unused variable 'bit0_mark' [-Wunused-variable]
  643 |     uint16_t bit0_mark = timings->bit0_mark;
      |              ^~~~~~~~~
C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c:642:14: warning: unused variable 'bit1_space' [-Wunused-variable]
  642 |     uint16_t bit1_space = timings->bit1_space;
      |              ^~~~~~~~~~
C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c:641:14: warning: unused variable 'bit1_mark' [-Wunused-variable]
  641 |     uint16_t bit1_mark = timings->bit1_mark;
      |              ^~~~~~~~~
C:/Users/hanee/Desktop/Ghost_ESP/main/managers/infrared_decoder.c:640:14: warning: unused variable 'bit_tolerance' [-Wunused-variable]
  640 |     uint32_t bit_tolerance = timings->bit_tolerance;
      |              ^~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions