ArduinoCore-arc32
ArduinoCore-arc32 copied to clipboard
Slim down sketch size
Since 0304de781d54d0158c070d2d9cc750ab295c0712 the sketch size has exploded. Moving the BLE stack to ARC core is the main responsible. This patch addresses two main fields:
- avoid including useless functions (WIP)
- avoid including ble symbols in sketches which don't use it
The first patch could be further optimized but since most sketches uses the CDC port it doesn't make much sense.
Sketch size comparison: BareMinimum: 48744 -> 12540 (BLE central) Scan: 91692 -> 80440
@SidLeung can you review please?