Description
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: Branch_b4b9a79 05/03/2018
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600
Description:
after adding the BluetoothSerial library (b4b9a79), sketches which use BLE library (https://github.com/nkolban/ESP32_BLE_Arduino/tree/6bad7b42a96f0aa493323ef4821a8efb0e8815f2) increase finally size by ~156 kbytes!
Lets try for example library: BLE -> example: BLE_uart:
-
branch with previous commit (835268c) finally sketch size: 931869 bytes (71%)
-
branch with BluetoothSerial library (b4b9a79) finally sketch size: 1088621 bytes (83%)
For this reason my sketches with BLE and several additions do not fit esp32 flash any more,
even though I do not use new BluetoothSerial library in these cases (increase size from 1265006 to 1422022)
What is interesting, I did not notice the increase final sketch size when BLE library is not used.
In the current situation, creation a little more advanced programs with BLE and for e.g. display, becomes impossible due to lack of space.
Sketch:
library: BLE -> example: BLE_uart