Friday, November 29, 2019

1. ESP32 Application Code Space

ESP32 Application Code Space


Very first impression on ESP32 “whoa, the `hello world’ stuff takes 500kB, wtf?”

The stock ESP32 app is about 0.5 megabytes, which is 50% of the default 1MB app partition.

The code will barely register at all. When I started a project some time ago that was my first impression, too... what is the use of esp32 if code space already 500kB used 50% for Hello World.

However, any code or any libraries that are loaded to ESP32, are not going to consume the other 50% that quickly.

With thousands of lines of code, it will grow to only 60% of the allowable space and the project is finished.

The default partitioning is best if considering the OTA update functionality, it is a very useful thing if you can use it in a specific case.

 

LeetCode C++ Cheat Sheet June

🎯 Core Patterns & Representative Questions 1. Arrays & Hashing Two Sum – hash map → O(n) Contains Duplicate , Product of A...