Skip to content
Discussion options

You must be logged in to vote

Hi @bonzo-dog , thanks for your question!

Here are the steps which you can try (starting with a clean folder, i.e. idf.py fullclean):

  1. Change the following options in examples/basic_thread_border_router/sdkconfig.defaults
    • Replace CONFIG_ESPTOOLPY_FLASHSIZE_8MB with CONFIG_ESPTOOLPY_FLASHSIZE_4MB
    • Add this line at the end: CONFIG_LOG_DEFAULT_LEVEL_NONE=y
  2. Change the OTA partitions to use 1500K instead of 2M each
  3. build erase-flash flash monitor as per usual

If you find a need to reduce the binary size even further, please refer to: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-guides/performance/size.html#reducing-overall-size

Please feel free to reach out if you need …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@bonzo-dog
Comment options

Answer selected by bonzo-dog
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zwx1995esp
Comment options

@Traumtandler
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants