|
| 1 | +What is heap fragmentation? |
| 2 | +=========================== |
| 3 | + |
| 4 | +An Arduino sketch that demonstrate the increase of heap fragmentation. |
| 5 | + |
| 6 | +[Read the articule on cpp4arduino.com](https://cpp4arduino.com/2018/11/06/what-is-heap-fragmentation.html) |
| 7 | + |
| 8 | +### Supported platforms |
| 9 | + |
| 10 | +Because it inspects the content of the heap, this program highly depends on |
| 11 | +the "core" of the board. |
| 12 | + |
| 13 | +Only the following cores are supported: |
| 14 | + |
| 15 | +* [The official Arduino AVR core](https://github.com/arduino/ArduinoCore-avr) (bundled with the IDE): |
| 16 | + - Adafruit Circuit Playground |
| 17 | + - Arduino BT |
| 18 | + - Arduino Duemilanove or Diecimila |
| 19 | + - Arduino Esplora |
| 20 | + - Arduino Ethernet |
| 21 | + - Arduino Fio |
| 22 | + - Arduino Gemma |
| 23 | + - Arduino Industrial 101 |
| 24 | + - Arduino Leonardo |
| 25 | + - Arduino Leonardo ETH |
| 26 | + - Arduino Mega ADK |
| 27 | + - Arduino Mini |
| 28 | + - Arduino Nano |
| 29 | + - Arduino NG or older |
| 30 | + - Arduino Pro or Pro Mini |
| 31 | + - Arduino Robot Control |
| 32 | + - Arduino Robot Motor |
| 33 | + - Arduino Uno WiFi |
| 34 | + - Arduino Yún |
| 35 | + - Arduino Yún Mini |
| 36 | + - Arduino/Genuino Mega or Mega 2560 |
| 37 | + - Arduino/Genuino Micro |
| 38 | + - Arduino/Genuino Uno |
| 39 | + - LilyPad Arduino |
| 40 | + - LilyPad Arduino USB |
| 41 | + - Linino One |
| 42 | +* [The ESP8266 core for Arduino](https://github.com/esp8266/Arduino): |
| 43 | + - 4D Systems gen4 IoD Range |
| 44 | + - Adafruit Feather HUZZAH ESP8266 |
| 45 | + - Amperka WiFi Slot |
| 46 | + - Arduino |
| 47 | + - Digistump Oak |
| 48 | + - ESPDuino (ESP-13 Module) |
| 49 | + - ESPino (ESP-12 Module) |
| 50 | + - ESPresso Lite 1.0 |
| 51 | + - ESPresso Lite 2.0 |
| 52 | + - Generic ESP8266 Module |
| 53 | + - Generic ESP8285 Module |
| 54 | + - Invent One |
| 55 | + - LOLIN(WEMOS) D1 mini Lite |
| 56 | + - LOLIN(WEMOS) D1 mini Pro |
| 57 | + - LOLIN(WEMOS) D1 R2 & mini |
| 58 | + - NodeMCU 0.9 (ESP-12 Module) |
| 59 | + - NodeMCU 1.0 (ESP-12E Module) |
| 60 | + - Olimex MOD-WIFI-ESP8266(-DEV) |
| 61 | + - Phoenix 1.0 |
| 62 | + - Phoenix 2.0 |
| 63 | + - Seeed Wio Link |
| 64 | + - SparkFun ESP8266 Thing |
| 65 | + - SparkFun ESP8266 Thing Dev |
| 66 | + - SweetPea ESP-210 |
| 67 | + - ThaiEasyElec's ESPino |
| 68 | + - WeMos D1 R1 |
| 69 | + - WiFiduino |
| 70 | + - WifInfo |
| 71 | + - XinaBox CW01 |
| 72 | + |
| 73 | +Adding support for other core requires adding a new variant in |
| 74 | +[the folder "Ports"](Ports/) and to include the file in |
| 75 | +[MemoryInfo.cpp](MemoryInfo.cpp). |
0 commit comments