lancaster-university / microbit

http://lancaster-university.github.io/microbit-docs
Other
78 stars 64 forks source link

Reduce BLE memory usage. MicroBitEvent to enter pairing mode. #15

Open microbit-sam opened 5 years ago

microbit-sam commented 5 years ago

This PR will be in tandem with https://github.com/lancaster-university/microbit-dal/pull/409, it will probably easier to keep any discussion in there.


Combines existing PRs #13 #6

Changes include: -Partial flashing service: dynamically allocate block buffer -Device Information Service: "BBC micro:bit" or "BBC micro:bit v1.3" or "BBC micro:bit v1.5" -MicroBitEvent to restart into pairing mode


Even with these changes (+ local changes to Nordic BLE layer) the micro:bit still throws an 020 error when using all services - a build with all services apart from the UART works, but is probably running very close to running out of memory